<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>linux-operating-system &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/linux-operating-system/</link>
	<description>Feed of posts on WordPress.com tagged "linux-operating-system"</description>
	<pubDate>Thu, 20 Jun 2013 07:51:36 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[NUMBER OF CORES in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/07/02/number-of-cores/</link>
<pubDate>Mon, 02 Jul 2012 11:48:37 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/07/02/number-of-cores/</guid>
<description><![CDATA[linux: egrep "^processor|^cpu cores|^core id" /proc/cpuinfo solaris: prtdiag -v]]></description>
<content:encoded><![CDATA[<p><strong><br />
linux:<br />
</strong></p>
<pre>egrep "^processor&#124;^cpu cores&#124;^core id" /proc/cpuinfo</pre>
<p><strong><br />
solaris:<br />
</strong></p>
<pre>prtdiag -v</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[FIND DATA DIFFERENCES BETWEEN TWO FILES]]></title>
<link>http://doganay.wordpress.com/2012/07/02/find-data-differences-between-two-files/</link>
<pubDate>Mon, 02 Jul 2012 11:41:05 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/07/02/find-data-differences-between-two-files/</guid>
<description><![CDATA[comm -12 file1 file2 --&gt; file1 intersect file2 comm -23 file1 file2 --&gt; file1 minus file2 comm]]></description>
<content:encoded><![CDATA[<pre>comm -12 file1 file2 --&#62; file1 intersect file2
comm -23 file1 file2 --&#62; file1 minus file2
comm -13 file1 file2 --&#62; file2 minus file1</pre>
<p>(* files must be sorted)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CLUSTER RELEASE in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/07/02/cluster-release/</link>
<pubDate>Mon, 02 Jul 2012 11:37:55 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/07/02/cluster-release/</guid>
<description><![CDATA[cat /etc/cluster/release]]></description>
<content:encoded><![CDATA[<pre>cat /etc/cluster/release</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CLUSTER SEQUENCE NUMBER of a NODE in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/07/02/cluster-sequence-number-of-a-node/</link>
<pubDate>Mon, 02 Jul 2012 11:37:03 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/07/02/cluster-sequence-number-of-a-node/</guid>
<description><![CDATA[/usr/sbin/clinfo -n]]></description>
<content:encoded><![CDATA[<pre>/usr/sbin/clinfo -n</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[YESTERDAY in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/unix-yesterdays-date/</link>
<pubDate>Fri, 29 Jun 2012 12:55:59 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/unix-yesterdays-date/</guid>
<description><![CDATA[# I assume that you locate in TZ +3, you can change +21 according to your TZ YESTERDAY=$(TZ=PST+21 d]]></description>
<content:encoded><![CDATA[<pre># I assume that you locate in TZ +3, you can change +21 according to your TZ

YESTERDAY=$(TZ=PST+21 date +%d_%m_%Y)</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[UNTAR in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/unix-untar/</link>
<pubDate>Fri, 29 Jun 2012 12:51:02 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/unix-untar/</guid>
<description><![CDATA[#p for preserve file permissions in tar tar -xfvp &lt;tar_file&gt;]]></description>
<content:encoded><![CDATA[<pre>#p for preserve file permissions in tar
tar -xfvp &#60;tar_file&#62;</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[COPY DIRECTORY in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/unix-copy-directory/</link>
<pubDate>Fri, 29 Jun 2012 12:47:33 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/unix-copy-directory/</guid>
<description><![CDATA[cp -prf &lt;src_dir&gt; &lt;dst_dir&gt;]]></description>
<content:encoded><![CDATA[<pre>cp -prf &#60;src_dir&#62; &#60;dst_dir&#62;</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BASENAME in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/unix-basename/</link>
<pubDate>Fri, 29 Jun 2012 12:45:43 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/unix-basename/</guid>
<description><![CDATA[doganay@doganayhost $ basename /home/users/doganay/file1 file1 doganay@doganayhost $ dirname /home/u]]></description>
<content:encoded><![CDATA[<p>doganay@doganayhost $ basename /home/users/doganay/file1<br />
file1</p>
<p>doganay@doganayhost $ dirname /home/users/doganay/file1<br />
/home/users/doganay</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOW TO CLOSE FILE HANDLES in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/how-to-close-file-handles-on-unix/</link>
<pubDate>Fri, 29 Jun 2012 12:19:25 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/how-to-close-file-handles-on-unix/</guid>
<description><![CDATA[Close Input File Handles (standard input is explicitly closed) &lt;&amp;- Close Output File Handles]]></description>
<content:encoded><![CDATA[<p>Close Input File Handles (standard input is explicitly closed)</p>
<pre>&#60;&#38;-</pre>
<p>Close Output File Handles (standard output is explicitly closed)</p>
<pre>&#62;&#38;-</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[USING ARRAYS IN SHELL SCRIPTS in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/using-arrays-in-shell-scripts/</link>
<pubDate>Fri, 29 Jun 2012 12:17:17 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/using-arrays-in-shell-scripts/</guid>
<description><![CDATA[export CALENDAR=( 31 28/29 31 30 31 30 31 31 30 31 30 31 ) echo "The last days of months:" for i in]]></description>
<content:encoded><![CDATA[<pre>export CALENDAR=( 31 28/29 31 30 31 30 31 31 30 31 30 31 )
echo "The last days of months:"
for i in ${CALENDAR[*]}; do
 echo $i
done</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ARRAY LENGTH in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/array-length/</link>
<pubDate>Fri, 29 Jun 2012 12:16:27 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/array-length/</guid>
<description><![CDATA[${#doganayarray[*]}]]></description>
<content:encoded><![CDATA[<pre>${#doganayarray[*]}</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[NUMBER OF ARGUMENTS in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/number-of-arguments-2/</link>
<pubDate>Fri, 29 Jun 2012 11:53:34 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/number-of-arguments-2/</guid>
<description><![CDATA[$#]]></description>
<content:encoded><![CDATA[<pre>$#</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CHANGING PERMISSIONS at SPECIFIC USER LEVEL (SETFACL, GETFACL)]]></title>
<link>http://doganay.wordpress.com/2012/06/29/changing-permissions-at-specific-user-level-setfacl-getfacl/</link>
<pubDate>Fri, 29 Jun 2012 11:44:38 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/changing-permissions-at-specific-user-level-setfacl-getfacl/</guid>
<description><![CDATA[## You can give permission to a user: ## 4:read 2:write 1:execute setfacl -r -m user:myuser:4 myfile]]></description>
<content:encoded><![CDATA[<p>## You can give permission to a user:<br />
## 4:read 2:write 1:execute<br />
setfacl -r -m user:myuser:4 myfile</p>
<p>## clear permissions:<br />
setfacl -d user:myuser:4 myfile</p>
<p>## set permissions of files that will be created in a specific directory:<br />
setfacl -m d:u::rwx,d:g::r-x,d:u:myuser:r-x,d:m:r-x,d:o:&#8212;,user:myuser:r-x mydirectory<br />
## or<br />
setfacl -r -m default:user:myuser:r-x,default:user::rwx,default:group::r-x,default:mask:r-x,default:other:&#8212; mydirectory</p>
<pre></pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RUNNING a VM as 32-BIT]]></title>
<link>http://doganay.wordpress.com/2012/06/29/running-a-vm-as-32-bit/</link>
<pubDate>Fri, 29 Jun 2012 11:39:49 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/running-a-vm-as-32-bit/</guid>
<description><![CDATA[Add this line into the .vmx file: monitor_control.disable_longmode = 1]]></description>
<content:encoded><![CDATA[<p>Add this line into the .vmx file:</p>
<pre>monitor_control.disable_longmode = 1</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[USING ONE HOUR AGO IN SHELL SCRIPT in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/using-one-hour-ago-in-shell-script/</link>
<pubDate>Fri, 29 Jun 2012 11:37:50 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/using-one-hour-ago-in-shell-script/</guid>
<description><![CDATA[$(TZ=GMT-1 date +%d_%m_%Y.%H)]]></description>
<content:encoded><![CDATA[<pre>$(TZ=GMT-1 date +%d_%m_%Y.%H)</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOW TO FIND OUT PID OF THE MOST RECENT BACKGROUND PROCESS in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/pid-of-the-most-recent-background-process/</link>
<pubDate>Fri, 29 Jun 2012 07:22:55 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/pid-of-the-most-recent-background-process/</guid>
<description><![CDATA[$!]]></description>
<content:encoded><![CDATA[<pre>$!</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOW TO SET SHELL PROMPT in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/how-to-set-shell-prompt/</link>
<pubDate>Fri, 29 Jun 2012 07:19:57 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/how-to-set-shell-prompt/</guid>
<description><![CDATA[Edit your profile: export PS1="$(whoami)@$(hostname) $ "]]></description>
<content:encoded><![CDATA[<p>Edit your profile:</p>
<pre>export PS1="$(whoami)@$(hostname) $ "</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOW TO KILL CPU UTILIZED PROCESSES in UNIX]]></title>
<link>http://doganay.wordpress.com/2012/06/29/how-to-kill-cpu-utilization-processes/</link>
<pubDate>Fri, 29 Jun 2012 06:59:51 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/29/how-to-kill-cpu-utilization-processes/</guid>
<description><![CDATA[You can create kill script of processes using higher than %50.5 cpu: ps aux | awk '{if ( $3 &gt; 50.]]></description>
<content:encoded><![CDATA[<p>You can create kill script of processes using higher than %50.5 cpu:<br />
<code><br />
ps aux &#124; awk '{if ( $3 &#62; 50.5 ) print "kill -9 "$2}'<br />
</code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CAN NOT OPEN RUNINSTALLER WINDOW]]></title>
<link>http://doganay.wordpress.com/2012/06/28/can-not-open-runinstaller-window/</link>
<pubDate>Thu, 28 Jun 2012 11:31:01 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/28/can-not-open-runinstaller-window/</guid>
<description><![CDATA[if you do not hit can not open display error, can run xclock, can run runInstaller, but no windows a]]></description>
<content:encoded><![CDATA[<p>if you do not hit can not open display error,</p>
<p>can run xclock,</p>
<p>can run runInstaller, but no windows appears,</p>
<p>do not use: Hummingbird Exceed 8.0</p>
<p>use: Xmanager 4.0</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Warning: bad syntax, perhaps a bogus '-'?]]></title>
<link>http://doganay.wordpress.com/2012/06/25/warning-bad-syntax-perhaps-a-bogus/</link>
<pubDate>Mon, 25 Jun 2012 11:26:07 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/25/warning-bad-syntax-perhaps-a-bogus/</guid>
<description><![CDATA[Problem: $ ps -aux Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ Sol]]></description>
<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<pre>$ ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ</pre>
<p><strong>Solution:</strong></p>
<pre>Remove minus (-):
$ ps aux</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[You (oracle) are not allowed to use this program (crontab)]]></title>
<link>http://doganay.wordpress.com/2012/06/15/you-oracle-are-not-allowed-to-use-this-program-crontab/</link>
<pubDate>Fri, 15 Jun 2012 12:51:42 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/15/you-oracle-are-not-allowed-to-use-this-program-crontab/</guid>
<description><![CDATA[Problem: $ crontab -e You (oracle) are not allowed to use this program (crontab) See crontab(1) for]]></description>
<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<pre>
$ crontab -e
You (oracle) are not allowed to use this program (crontab)
See crontab(1) for more information
</pre>
<p><strong>Solution:</strong></p>
<pre>
cd /usr/lib/cron
## or find where cron.allow and cron.deny are:
## find / -name "cron.allow"
## find / -name "cron.deny"
</pre>
<p>Either remove your user in</p>
<pre>
cron.deny
</pre>
<p>and add your username in</p>
<pre>
cron.allow
</pre>
<p>If files do not exist, you can create them.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[UNIX-1.7 Find Command]]></title>
<link>http://fuzicast.wordpress.com/2012/06/09/unix-1-7-find-command/</link>
<pubDate>Sun, 10 Jun 2012 00:37:57 +0000</pubDate>
<dc:creator>fuzicast</dc:creator>
<guid>http://fuzicast.wordpress.com/2012/06/09/unix-1-7-find-command/</guid>
<description><![CDATA[Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL. facebook: facebook.com/f]]></description>
<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/5DpDftqE6Zs?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
<p>Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL.<br />
facebook: facebook.com/fuzicast<br />
twitter: @fuzicast<br />
youtube: youtube.com/yuejdesigner85</p>
<p>find . -iname &#8216;regex&#8217; &#8211; find filenames that match regex, case insensitive<br />
find . -mtime +2 &#8211; find files that were modified 2 days ago or older<br />
find . -mtime -2 &#8211; find files that were modified within past 2 days<br />
find . -ctime +2 &#8211; find files that were created 2 days or older<br />
find . -atime +2 &#8211; find files that were accessed 2 days or older<br />
find . -cmin +30 &#8211; find files that were created 30 minutes ago or older<br />
find . -mmin +30 &#8211; find files that were modified 30 minutes ago or older<br />
find . -empty &#8211; find empty files or directory<br />
find . -executable &#8211; find files that are executable by user<br />
find . -readable &#8211; find files that are readable by user<br />
find . -writable &#8211; find files that are writable by user<br />
find . -size filesize &#8211; find files that have specified filesize (c = byte, k = kb, M = Mb, G = Gb)<br />
find . -type filetype &#8211; find by file type (d = directory, f = file, l = link)<br />
find . -user username &#8211; find files owned by user<br />
find . -group groupname &#8211; find files that belong to specific group<br />
find . -name &#8216;regex&#8217; -delete &#8211; remove files that match regex<br />
find . -name &#8216;regex&#8217; -exec command &#8211; execute command on files found<br />
find . -name &#8216;regex&#8217; -ok command &#8211; same as -exec, but prompts for user&#8217;s input</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Argument list too long]]></title>
<link>http://doganay.wordpress.com/2012/06/05/argument-list-too-long/</link>
<pubDate>Tue, 05 Jun 2012 12:42:13 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/06/05/argument-list-too-long/</guid>
<description><![CDATA[Problem: cd doganay_dir rm *trc bash: /bin/rm: Argument list too long Solution: #I assume that you w]]></description>
<content:encoded><![CDATA[<p><strong><br />
Problem:<br />
</strong></p>
<pre>cd doganay_dir
rm *trc
bash: /bin/rm: Argument list too long</pre>
<p><strong><br />
Solution:<br />
</strong></p>
<pre>#I assume that you want to remove all .trc files.
cd doganay_dir
RM=`which rm`
FIND=`which find`
$FIND . -name "*.trc" &#124; xargs $RM</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Fixing Blueish in Youtube (Flash) in Pangolin]]></title>
<link>http://dakotux.wordpress.com/2012/06/02/fixing-blueish-in-youtube-flash-in-pangolin/</link>
<pubDate>Sat, 02 Jun 2012 05:48:44 +0000</pubDate>
<dc:creator>DakoChan</dc:creator>
<guid>http://dakotux.wordpress.com/2012/06/02/fixing-blueish-in-youtube-flash-in-pangolin/</guid>
<description><![CDATA[When I tested Pangolin from Live CD, I didn&#8217;t encounter any color problem with Youtube. After]]></description>
<content:encoded><![CDATA[<p>When I tested Pangolin from Live CD, I didn&#8217;t encounter any color problem with Youtube. After I installed Pangolin into my system, and then installed NVidia proprietery driver, then I started encounter this blue color problem when watching Youtube or any other flash-based video streaming website.</p>
<p><a href="http://dakotux.files.wordpress.com/2012/06/blueish-flash.png"><img class="aligncenter size-medium wp-image-511" title="Blueish flash" src="http://dakotux.files.wordpress.com/2012/06/blueish-flash.png?w=300&#038;h=264" alt="" width="300" height="264" /></a></p>
<p>I tried to find a solution for this problem in many forums. Most of them pointing the problem to Adobe, and some pointing to NVidia. I didnt care about this pointing problem, because I need those two software, so I needed a solution.</p>
<p>Eventually I found out the source of the problem is flash-based video cannot run using hardware acceleration. There are some solutions that suggested in forums:</p>
<ul>
<li>Remove &#8220;libvdpau1&#8243; package from Pangolin system. This package is used by flash for hardware acceleration.</li>
<li>Disable hardware acceleration option from Youtube. Right-click on the video, select &#8220;Settings&#8221; and then untick the &#8220;Hardware Acceleration&#8221;. But alas, I couldn&#8217;t untick it, and I couldn&#8217;t remove the &#8220;Settings&#8221; window either. From <a href="https://bugs.launchpad.net/ubuntu/+source/unity/+bug/968489/comments/11" target="_blank">this thread in this forum</a> I found out that compiz cause this problem. So, I logged out from my system, logged in again using Unity 2D, and now it was possible to disable the hardware acceleration. I logged out and logged in again, and then tried to watch Youtube again. Voila, the blueish color was gone.</li>
</ul>
<p><strong>Reference</strong>:</p>
<ul>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/unity/+bug/968489/comments/11" target="_blank"><br />
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/968489/comments/11<br />
</a></li>
</ul>
<p>&#160;</p>
<p>&#160;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CTRL-C NOT WORKING]]></title>
<link>http://doganay.wordpress.com/2012/05/27/ctrl-c-not-working/</link>
<pubDate>Sun, 27 May 2012 21:22:19 +0000</pubDate>
<dc:creator>doganay</dc:creator>
<guid>http://doganay.wordpress.com/2012/05/27/ctrl-c-not-working/</guid>
<description><![CDATA[Remove this line in /etc/profile: trap "" 2 or remove 2 in this line: before: trap "" 1 2 3 after: t]]></description>
<content:encoded><![CDATA[<p>Remove this line in /etc/profile:</p>
<pre>trap "" 2

or

remove 2 in this line:

before:

trap "" 1 2 3

after:

trap "" 1 3</pre>
<p>Logout-Login</p>
]]></content:encoded>
</item>

</channel>
</rss>
