<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.watashii &#187; unix</title>
	<atom:link href="http://blog.watashii.com/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.watashii.com</link>
	<description></description>
	<lastBuildDate>Wed, 02 Nov 2011 02:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Oracle SQLPlus Query Output to a File</title>
		<link>http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/</link>
		<comments>http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 03:48:04 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlplus]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=548</guid>
		<description><![CDATA[Here is a simple way to output SQL query output into a file, via command line based SQLPlus. Step 1: Nominate the output file location. In this case this is a Unix location. SQL&#62; spool /tmp/output.txt Step 2: Perform your SQL query. SQL&#62; select * from tab; Step 3: Close the file. SQL&#62; spool off [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/' rel='bookmark' title='Permanent Link: Starting / Shutdown Oracle Database in Unix'>Starting / Shutdown Oracle Database in Unix</a></li>
<li><a href='http://blog.watashii.com/2008/08/oracle-sql-loader-importing-csv-files-into-a-table/' rel='bookmark' title='Permanent Link: Oracle SQL Loader &#8211; Importing CSV files to a table'>Oracle SQL Loader &#8211; Importing CSV files to a table</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.watashii.com/wp-content/uploads/2010/11/oraclelogo.jpg"><img class="alignnone size-full wp-image-496" title="oraclelogo" src="http://blog.watashii.com/wp-content/uploads/2010/11/oraclelogo.jpg" alt="" width="220" height="100" /></a></p>
<p>Here is a simple way to output SQL query output into a file, via command line based SQLPlus.</p>
<h5><strong>Step 1:</strong> Nominate the output file location. In this case this is a Unix location.</h5>
<p><code>SQL&gt; spool /tmp/output.txt</code></p>
<h5><strong>Step 2:</strong> Perform your SQL query.</h5>
<p><code>SQL&gt; select * from tab;</code></p>
<h5><strong>Step 3:</strong> Close the file.</h5>
<p><code>SQL&gt; spool off</code></p>
<h5><strong>Tip:</strong> Use <strong><em>set lines</em></strong> statement to adjust output display</h5>
<p><span id="more-548"></span></p>
<p>The other method is doing this outside of SQLPlus in a single command.  Within the Unix shell, you can write your SQL query statements within an input sql file; eg <em>input.sql</em>, and redirect the output to <em>output.txt</em>.</p>
<p><code># sqlplus USER/PASS@DBSID &lt; /tmp/input.sql &gt; /tmp/output.txt</code></p>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/' rel='bookmark' title='Permanent Link: Starting / Shutdown Oracle Database in Unix'>Starting / Shutdown Oracle Database in Unix</a></li>
<li><a href='http://blog.watashii.com/2008/08/oracle-sql-loader-importing-csv-files-into-a-table/' rel='bookmark' title='Permanent Link: Oracle SQL Loader &#8211; Importing CSV files to a table'>Oracle SQL Loader &#8211; Importing CSV files to a table</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting / Shutdown Oracle Database in Unix</title>
		<link>http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/</link>
		<comments>http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 02:40:42 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=497</guid>
		<description><![CDATA[This simple guide to shows how to start /stop your Oracle database from Unix.  You must have logon access to do this. Step 1 Unix login as oracle (usually the user that installed the database) Step 2 Make sure your environment variables are set, eg: ORACLE_SID=MYDBSID ORACLE_BASE=/opt/oracle ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1 LD_LIBRARY_PATH=/opt/oracle/product/11.2.0/dbhome_1/lib PATH=/usr/bin:/usr/sbin:/usr/ucb:/usr/local:/usr/local/bin:/usr/local/sbin:/opt/oracle/product/11.2.0/dbhome_1/bin Step 3 &#8211; Start DB [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2009/11/oracle-timezone-conversions-gmt-to-localtime/' rel='bookmark' title='Permanent Link: Oracle Timezone Conversions &#8211; GMT to localtime (and back)'>Oracle Timezone Conversions &#8211; GMT to localtime (and back)</a></li>
<li><a href='http://blog.watashii.com/2008/08/oracle-sql-loader-importing-csv-files-into-a-table/' rel='bookmark' title='Permanent Link: Oracle SQL Loader &#8211; Importing CSV files to a table'>Oracle SQL Loader &#8211; Importing CSV files to a table</a></li>
<li><a href='http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/' rel='bookmark' title='Permanent Link: Oracle SQLPlus Query Output to a File'>Oracle SQLPlus Query Output to a File</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.watashii.com/wp-content/uploads/2010/11/oraclelogo.jpg"><img class="alignnone size-full wp-image-496" title="oraclelogo" src="http://blog.watashii.com/wp-content/uploads/2010/11/oraclelogo.jpg" alt="" width="220" height="100" /></a></p>
<p>This simple guide to shows how to start /stop your Oracle database from Unix.  You must have logon access to do this.</p>
<h3>Step 1</h3>
<p>Unix login as <strong><em>oracle </em></strong>(usually the user that installed the database)</p>
<h3>Step 2</h3>
<p>Make sure your environment variables are set, eg:</p>
<pre><code>ORACLE_SID=<em>MYDBSID</em>
ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1
LD_LIBRARY_PATH=/opt/oracle/product/11.2.0/dbhome_1/lib
PATH=/usr/bin:/usr/sbin:/usr/ucb:/usr/local:/usr/local/bin:/usr/local/sbin:/opt/oracle/product/11.2.0/dbhome_1/bin</code></pre>
<h3>Step 3 &#8211; Start DB Instance</h3>
<p>On the Unix command line, run <strong><em>sqlplus </em></strong>with <strong><em>sysdba</em></strong>, and simply type <strong><em>startup </em></strong>in the prompt to start it up.</p>
<pre><code>oracle@db-srv-01 % sqlplus '/ as sysdba'

SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 30 12:06:47 2010

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL&gt; startup
ORACLE instance started.

Total System Global Area 3207790592 bytes
Fixed Size                  2152368 bytes
Variable Size            2449475664 bytes
Database Buffers          738197504 bytes
Redo Buffers               17965056 bytes
Database mounted.
Database opened.</code></pre>
<h3>Step 4 &#8211; Start Listener</h3>
<p>To start the oracle listener (assuming listener.ora is setup), run <strong><em>lsnrctl start</em></strong></p>
<pre><code>oracle@db-srv-01 % lsnrctl start

LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 30-NOV-2010 12:00:34

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Starting /opt/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
System parameter file is /opt/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/db-srv-01/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db-srv-01)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db-srv-01)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date                30-NOV-2010 12:00:35
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/db-srv-01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db-srv-01)(PORT=1521)))
The listener supports no services
The command completed successfully</code></pre>
<h3>Step 4 &#8211; Shutdown</h3>
<p>Similarly, to shutdown the instance, type <strong><em>shudown normal</em></strong> within <strong><em>sqlplus</em></strong>.</p>
<p>Stop the listener, by running <strong><em>lsnrctl stop</em></strong></p>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2009/11/oracle-timezone-conversions-gmt-to-localtime/' rel='bookmark' title='Permanent Link: Oracle Timezone Conversions &#8211; GMT to localtime (and back)'>Oracle Timezone Conversions &#8211; GMT to localtime (and back)</a></li>
<li><a href='http://blog.watashii.com/2008/08/oracle-sql-loader-importing-csv-files-into-a-table/' rel='bookmark' title='Permanent Link: Oracle SQL Loader &#8211; Importing CSV files to a table'>Oracle SQL Loader &#8211; Importing CSV files to a table</a></li>
<li><a href='http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/' rel='bookmark' title='Permanent Link: Oracle SQLPlus Query Output to a File'>Oracle SQLPlus Query Output to a File</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Shell &#8211; Check If Directory Is Empty</title>
		<link>http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/</link>
		<comments>http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 09:22:27 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=411</guid>
		<description><![CDATA[Here is a simple unix shell command to check if a directory, $dir, is empty. export $dir=/tmp/myfiles/ if [ "$(ls -A $dir)" ]; then echo "$dir NOT Empty"; else echo "$dir IS Empty"; fi Related Posts:UNIX file size listing &#8211; du command Unix LS Command With Colors&#8230; Without the &#8212;color Option Unix &#8211; Creating Cron [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://blog.watashii.com/wp-content/uploads/2010/06/code-icon.png"><img class="size-full wp-image-373 aligncenter" title="code-icon" src="http://blog.watashii.com/wp-content/uploads/2010/06/code-icon.png" alt="" width="150" height="150" /></a></p>
<p>Here is a simple unix shell command to check if a directory, <em>$dir</em>, is empty.</p>
<pre name="code" class="java">
export $dir=/tmp/myfiles/
if [ "$(ls -A $dir)" ];
then
    echo "$dir NOT Empty";
else
    echo "$dir IS Empty";
fi</pre>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix LS Command With Colors&#8230; Without the &#8212;color Option</title>
		<link>http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/</link>
		<comments>http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 15:43:08 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=262</guid>
		<description><![CDATA[Having command line text in colors makes things easier to read.  For example the ls command for listing directories and files.  In some Unix environments, the ls command may not support the &#8211;color option to let us do that (as it  requires GNU ls).  So how can we workaround this to add color to ls? [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-268" title="lscolor03" src="http://blog.watashii.com/wp-content/uploads/2009/10/lscolor03.png" alt="lscolor03" width="500" height="81" /></p>
<p>Having command line text in colors makes things easier to read.  For example the <em>ls </em>command for listing directories and files.  In some Unix environments, the  <a href="http://en.wikipedia.org/wiki/Ls" target="_blank"><em>ls</em></a> command may not support the <em>&#8211;color</em> option to let us do that (as it  requires GNU <em>ls</em>).  So how can we workaround this to add color to <em>ls</em>?</p>
<p>Here are my steps to make it happen. Note i&#8217;m no Unix guru, and I didn&#8217;t have time to perfect it.. but it gets the job done!</p>
<p><span id="more-262"></span></p>
<h3>1) Basic test. Echo some random color text.  I had to specify the full path of echo to make it work. The value <strong>01;34 </strong>is the color code for light blue.</h3>
<p><code>/bin/echo "\033[0m\033[<strong>01;34m</strong><em>this is blue text</em>\033[0m"</code></p>
<p><img class="alignnone size-full wp-image-270" title="lscolor01" src="http://blog.watashii.com/wp-content/uploads/2009/10/lscolor01.png" alt="lscolor01" width="575" height="53" /></p>
<h3>2) Here are some other color codes.</h3>
<pre><code>Black       0;30     Dark Gray     1;30
Blue        0;34     Light Blue    1;34
Green       0;32     Light Green   1;32
Cyan        0;36     Light Cyan    1;36
Red         0;31     Light Red     1;31
Purple      0;35     Light Purple  1;35
Brown       0;33     Yellow        1;33
Light Gray  0;37     White         1;37</code></pre>
<h3>3) Here are the ls commands I would like to color&#8230; with a bit of help from Google somewhere.</h3>
<p><code>ls -ld .*/             # List hidden directories<br />
ls -ld */              # List visible directories<br />
ls -lAd .* |grep '^-'  # List hidden files<br />
ls -l |grep '^-'       # List visible files</code></p>
<h3>4) Combining 1 and 3, gives me the following commands:</h3>
<p><code>/bin/echo "\033[0m\033[01;34m`ls -ld .*/`\033[0m"<br />
/bin/echo "\033[0m\033[01;32m`ls -ld */`\033[0m"<br />
/bin/echo "\033[0m\033[00;31m`ls -lAd .* |grep '^-'`\033[0m"<br />
/bin/echo "\033[0m\033[01;33m`ls -l |grep '^-'`\033[0m"</code></p>
<h3>5) Mash it together, assign it to an alias, and thats it! One single action does the job!</h3>
<p><code>alias ll='/bin/echo "\033[0m\033[01;34m`ls -ld .*/`\033[0m" ; /bin/echo "\033[0m\033[01;32m`ls -ld */`\033[0m" ; /bin/echo "\033[0m\033[00;31m`ls -lAd .* |grep '^-'`\033[0m" ; /bin/echo "\033[0m\033[01;33m`ls -l |grep '^-'`\033[0m"'</code></p>
<p><img title="lscolor02" src="http://blog.watashii.com/wp-content/uploads/2009/10/lscolor02.png" alt="lscolor02" width="550" height="502" /></p>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exercise Your Idle System Doing Nothing</title>
		<link>http://blog.watashii.com/2009/04/exercise-your-idle-system-doing-nothing/</link>
		<comments>http://blog.watashii.com/2009/04/exercise-your-idle-system-doing-nothing/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 15:15:49 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zero]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=178</guid>
		<description><![CDATA[Via Unix/Linux: cat /dev/zero &#62; /dev/null or cp /dev/zero  /dev/null Explaination: /dev/null is basically a black hole (a special null file), anything written to it goes down the drain.  Anything read from it will result in nothing returned.  /dev/zero is basically the same as /dev/null when writing to it, however reading it will result in [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-182" title="sleepy_idle" src="http://blog.watashii.com/wp-content/uploads/2009/04/sleepy_idle.jpg" alt="sleepy_idle" width="450" height="337" /></p>
<p><strong>Via Unix/Linux:</strong></p>
<pre><code>cat /dev/zero &gt; /dev/null</code></pre>
<p>or</p>
<pre><code>cp /dev/zero  /dev/null</code></pre>
<p><strong>Explaination:</strong></p>
<p>/dev/null is basically a black hole (a special null file), anything written to it goes down the drain.  Anything read from it will result in nothing returned.  /dev/zero is basically the same as /dev/null when writing to it, however reading it will result in a continuous stream of zeros without EOF.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2009/04/exercise-your-idle-system-doing-nothing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Split, Join &amp; Validate Files</title>
		<link>http://blog.watashii.com/2008/11/unix-split-join-validate-files/</link>
		<comments>http://blog.watashii.com/2008/11/unix-split-join-validate-files/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 13:19:14 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=108</guid>
		<description><![CDATA[Problem I have a large file. How can i split it into multiple parts, then join it back together later? How do i make sure my files don&#8217;t corrupt? I am using Unix. $ ls -l *.pkg -rw-rw-r--  1 watashii watashii 648773362 Nov 28 18:01 largefile.pkg Splitting the files The following Unix command splits a [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>Problem</h3>
<p><img class="float-left size-thumbnail wp-image-109" title="splitmergefiles" src="http://blog.watashii.com/wp-content/uploads/2008/11/splitmergefiles-150x150.jpg" alt="" width="150" height="150" /><br />
I have a large file.</p>
<p>How can i split it into multiple parts, then join it back together later?</p>
<p>How do i make sure my files don&#8217;t corrupt?</p>
<p>I am using Unix.</p>
<pre><code>$ ls -l *.pkg
-rw-rw-r--  1 watashii watashii 648773362 Nov 28 18:01 largefile.pkg</code></pre>
<h3>Splitting the files</h3>
<p>The following Unix command splits a large file into 50MB (52,428,800 bytes) pieces.  The output is a list of files named xaa, xab etc</p>
<pre><code>$ split -b 52428800 largefile.pkg
$ ls -l x*
-rw-rw-r--  1 watashii watashii 52428800 Nov 28 18:01 xaa
-rw-rw-r--  1 watashii watashii 52428800 Nov 28 18:01 xab
...
-rw-rw-r--  1 watashii watashii 19627762 Nov 28 18:01 xam</code></pre>
<h3>Joining the files</h3>
<p>To join the files together, we simply use the cat command over each file in ascending order:</p>
<pre><code>$ cat x* &gt; mergedlargefile.pkg</code></pre>
<h3>Validating the files</h3>
<p>To validate the files, below are some suggestions. File compare it, diff it, run a checksum to compare it.</p>
<pre><code>$ ls -l *.pkg
-rw-rw-r--  1 watashii watashii 648773362 Nov 28 18:01 largefile.pkg
-rw-rw-r--  1 watashii watashii 648773362 Nov 28 18:13 mergedlargefile.pkg

$ cmp  largefile.pkg  mergedlargefile.pkg
$ cksum  largefile.pkg
3332922138  648773362  largefile.pkg
$ cksum  mergedlargefile.pkg
3332922138  648773362  mergedlargefile.pkg
$ diff  largefile.pkg  mergedlargefile.pkg</code></pre>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/' rel='bookmark' title='Permanent Link: Unix &#8211; Creating Cron Jobs with Crontab'>Unix &#8211; Creating Cron Jobs with Crontab</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/11/unix-split-join-validate-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Passwordless Authentication</title>
		<link>http://blog.watashii.com/2008/10/ssh-passwordless-authentication/</link>
		<comments>http://blog.watashii.com/2008/10/ssh-passwordless-authentication/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 03:26:51 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[passwordless]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=80</guid>
		<description><![CDATA[This post shows how to use PuTTY (Windows) to login to a remote server (UNIX) over SSH without password. Step 1 &#8211; Setting up the remote server (UNIX) Login to the remote server using the normal username and password. Ensure that no-one but the user can access the .ssh path and authorized_keys file within the [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2009/07/businessobjects-infoview-ldap-authentication-error/' rel='bookmark' title='Permanent Link: BusinessObjects InfoView LDAP Authentication Error'>BusinessObjects InfoView LDAP Authentication Error</a></li>
<li><a href='http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/' rel='bookmark' title='Permanent Link: Oracle SQLPlus Query Output to a File'>Oracle SQLPlus Query Output to a File</a></li>
<li><a href='http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/' rel='bookmark' title='Permanent Link: Starting / Shutdown Oracle Database in Unix'>Starting / Shutdown Oracle Database in Unix</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-84" title="puttylogin" src="http://blog.watashii.com/wp-content/uploads/2008/10/puttylogin.png" alt="" width="499" height="313" /></p>
<p>This post shows how to use PuTTY (Windows) to login to a remote server (UNIX) over SSH without password.</p>
<p><span id="more-80"></span></p>
<h3>Step 1 &#8211; Setting up the remote server (UNIX)</h3>
<p>Login to the remote server using the normal username and password.</p>
<p>Ensure that no-one but the user can access the .ssh path and authorized_keys file within the user directory</p>
<p><code>$ cd ~<br />
$ chmod 700 .ssh<br />
$ chmod 600 .ssh/authorized_keys</code></p>
<p>In the .ssh directory, we will create a public/private key-pair which will form the basis for authetication between the client and server.  Unix utility <em>ssh-keygen</em> will accept <em>DSA</em> or <em>RSA</em> (two commonly used  key types) with a default 1024 bits key size.  Follow the prompts and accept the default filename, and leave an empty passphase to create your passwordless login.</p>
<p><code>$ ssh-keygen -t dsa<br />
Generating public/private dsa key pair.<br />
Enter file in which to save the key (~/.ssh/id_dsa):<br />
Enter passphrase (empty for no passphrase):<br />
Your identification has been saved in ~/.ssh/id_dsa.<br />
Your public key has been saved in ~/.ssh/id_dsa.pub.<br />
The key fingerprint is:<br />
21:15:5d:13:68:42:10:46:bd:fa:bd:b6:7c:5d:64:f1</code></p>
<p>You should now have the key-pair files named <em>id_dsa.pub</em> and <em>id_dsa</em>.  Append the public key in authorized_keys as per below.</p>
<p><code>$ cat id_dsa.pub &gt;&gt; .ssh/authorized_keys</code></p>
<h3>Step 2 &#8211; Generating the PuTTY private key (Windows)</h3>
<p>You will need to transfer the id_dsa private key file on to the Windows client PC via SFTP (or various means).  Launch the <em><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">puttygen</a></em> Windows utility, go to [File &gt; Load private key], and open your private key.</p>
<p>Save private key without a passphrase, as shown below, and name the file with a .ppk extension.</p>
<p><img class="alignnone size-full wp-image-82" title="puttygen" src="http://blog.watashii.com/wp-content/uploads/2008/10/puttygen.png" alt="" width="483" height="471" /></p>
<h3>Step 3 &#8211; Setting up the PuTTY client (Windows)</h3>
<p>So now you have a PuTTy-generated private key .ppk file, we can now use this to PuTTy-login to the UNIX server without needing a password.</p>
<p>Open your PuTTy Windows client, and before you connect your session, select the .ppk private key you generated under [SSH &gt; Auth].</p>
<p><img class="alignnone size-full wp-image-83" title="puttyauth" src="http://blog.watashii.com/wp-content/uploads/2008/10/puttyauth.png" alt="" width="456" height="442" /></p>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2009/07/businessobjects-infoview-ldap-authentication-error/' rel='bookmark' title='Permanent Link: BusinessObjects InfoView LDAP Authentication Error'>BusinessObjects InfoView LDAP Authentication Error</a></li>
<li><a href='http://blog.watashii.com/2011/02/oracle-sqlplus-query-output-to-a-file/' rel='bookmark' title='Permanent Link: Oracle SQLPlus Query Output to a File'>Oracle SQLPlus Query Output to a File</a></li>
<li><a href='http://blog.watashii.com/2010/11/starting-shutdown-oracle-database-in-unix/' rel='bookmark' title='Permanent Link: Starting / Shutdown Oracle Database in Unix'>Starting / Shutdown Oracle Database in Unix</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/10/ssh-passwordless-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix ps command &#8211; Long Process Listing</title>
		<link>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/</link>
		<comments>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 06:53:57 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=67</guid>
		<description><![CDATA[When viewing full process listings with ps -ef command, sometimes the command name is too long and gets chopped off at the end of the screen. This command name has a limit of 80 characters. netcool@sun61 [/opt/netcool] 688 % ps -ef&#124;grep 6176 netcool 6176 1 0 Sep 12 ? 31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt So [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When viewing full process listings with ps -ef command, sometimes the command name is too long and gets chopped off at the end of the screen.  This command name has a limit of 80 characters.</p>
<pre name="code" class="php">netcool@sun61 [/opt/netcool] 688 % ps -ef|grep 6176
netcool 6176 1 0 Sep 12 ?  31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt</pre>
<p>So how can we show the entire command?  The solution is to use the <em><strong>/usr/ucb/ps -auxxwww</strong></em> command:</p>
<pre name="code" class="php">netcool@sun61 [/opt/netcool] 689 % /usr/ucb/ps -auxxwww|grep -i 6176
netcool   6176  0.1 10.5610440428552 ?  R   Sep 12 31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt.headless=true -Dnchome=/opt/netcool -Dngfhome=/opt/netcool/guifoundation -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dbase.directory=/opt/netcool -Dsm.props.directory=/opt/netcool/etc/sm -Djava.security.auth.login.config=/opt/netcool/guifoundation/conf/mach_jaas.config -Djava.endorsed.dirs=/opt/netcool/guifoundation/common/endorsed -classpath /opt/netcool/platform/solaris2/jre_1.5.0/lib/tools.jar:/opt/netcool/guifoundation/bin/bootstrap.jar -Dcatalina.base=/opt/netcool/guifoundation -Dcatalina.home=/opt/netcool/guifoundation -Djava.io.tmpdir=/opt/netcool/guifoundation/temp org.apache.catalina.startup.Bootstrap start</pre>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX file size listing &#8211; du command</title>
		<link>http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/</link>
		<comments>http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 06:03:16 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[directory size]]></category>
		<category><![CDATA[du]]></category>
		<category><![CDATA[file size]]></category>
		<category><![CDATA[size listing]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=42</guid>
		<description><![CDATA[Question: How can I list the true file and directory sizes on UNIX? boadmin@nshost1&#62;$ ls -la total 12130522 drwxr-xr-x 5 boadmin boadmin 512 Aug 4 14:30 . drwxr-xr-x 31 boadmin boadmin 1024 Aug 1 22:00 .. drwxr-xr-x 5 boadmin boadmin 512 May 7 05:48 DISK_1 drwxr-xr-x 3 boadmin boadmin 512 May 7 05:47 DISK_2 drwxr-xr-x [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.watashii.com/wp-content/uploads/2008/08/unixducommand.png"><img class="alignnone size-full wp-image-43" title="Unix du command" src="http://blog.watashii.com/wp-content/uploads/2008/08/unixducommand.png" alt="" width="527" height="185" /></a></p>
<p><strong>Question: How can I list the true file and directory sizes on UNIX?</strong></p>
<pre><code>boadmin@nshost1&gt;$ ls -la
total 12130522
drwxr-xr-x   5 boadmin  boadmin      512 Aug  4 14:30 .
drwxr-xr-x  31 boadmin  boadmin     1024 Aug  1 22:00 ..
drwxr-xr-x   5 boadmin  boadmin      512 May  7 05:48 DISK_1
drwxr-xr-x   3 boadmin  boadmin      512 May  7 05:47 DISK_2
drwxr-xr-x   3 boadmin  boadmin      512 May 31 14:02 sp3
-rw-r--r--   1 boadmin  boadmin  6207767040 Aug  4 14:33 sp3.tar</code></pre>
<p><span id="more-42"></span></p>
<p><strong>The short answer, use the following command: </strong><strong>du -sh *</strong></p>
<pre><code>boadmin@nshost1&gt;$ du -sh *
634M   DISK_1
152M   DISK_2
5.8G   sp3
5.8G   sp3.tar</code></pre>
<pre><code><strong>du</strong> - is the disk usage utility on UNIX
<strong> s</strong> - is to sum the files within the directory
<strong> h</strong> - is the filesize in human readable format, megs, gigs, etc
<strong> *</strong> - to group it on all elements in the current directory, or specify
any path here, or leave empty to summarize to one group</code></pre>
<p><strong>The long answer, use the following command and start reading: </strong><strong>man du</strong></p>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix &#8211; Creating Cron Jobs with Crontab</title>
		<link>http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/</link>
		<comments>http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:04:40 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cron job]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=26</guid>
		<description><![CDATA[Cron is a Unix (*nix) utility for scheduling tasks to run in the background.   These are known as cron jobs.  A crontab is basically a text file (cron table) containing a list of commands to be run, under the current logged-in user. Commands crontab -e   # Edit (or create) the crontab file crontab -l   # [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/11/unix-split-join-validate-files/' rel='bookmark' title='Permanent Link: Unix Split, Join &#038; Validate Files'>Unix Split, Join &#038; Validate Files</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Cron is a Unix (*nix) utility for scheduling tasks to run in the background.   These are known as cron jobs.  A crontab is basically a text file (cron table) containing a list of commands to be run, under the current logged-in user.</p>
<ol>
<li><strong>Commands</strong><br />
<code>crontab -e   # Edit (or create) the crontab file<br />
crontab -l   # View the crontab file<br />
crontab -r   # Remove the crontab file</code></li>
<li><strong>Restrictions</strong><br />
Crontab access is controlled with a <em>cron.allow</em> and a <em>cron.deny</em> file, listing the associated usernames.  If cron.deny exists, and cron.allow is missing, all users can use crontab.  If both missing then only root is allowed.<br />
<code>whereis cron</code></li>
<li><strong>Crontab file syntax</strong><br />
The syntax contains 5 fields specifying the scheduling datetime values, and the last portion contains the Unix command to run.<br />
<code># +---------------- minute (0 - 59)<br />
# |  +------------- hour (0 - 23)<br />
# |  |  +---------- day of month (1 - 31)<br />
# |  |  |  +------- month (1 - 12)<br />
# |  |  |  |  +---- day of week (0 - 7) (Sunday=0 or 7)<br />
# |  |  |  |  |<br />
&nbsp;&nbsp;*  *  *  *  *  command to be executed</code><br />
On each of the 5 fields, 3 operators can be used to specify the datetime selection.<br />
<code># Comma (',') specifies a list of values, eg: "1,3,4,7"<br />
# Dash ('-') specifies a range, eg: "1-3" or "1,2,3"<br />
# Asterisk ('*') specifies all possible values for a field.</code></li>
<li><strong>Crontab file example<br />
</strong>The following job lists the tmp directory structure and appends the output to a log file every minute.<br />
<code>0-59 * * * *  ls -la /tmp &gt;&gt; /tmp/log.txt</code></li>
</ol>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/11/unix-split-join-validate-files/' rel='bookmark' title='Permanent Link: Unix Split, Join &#038; Validate Files'>Unix Split, Join &#038; Validate Files</a></li>
<li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/' rel='bookmark' title='Permanent Link: Unix ps command &#8211; Long Process Listing'>Unix ps command &#8211; Long Process Listing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/07/unix-creating-chron-jobs-with-chrontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

