<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Unix Blog !</title>
	<atom:link href="http://unixdesk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixdesk.wordpress.com</link>
	<description>Blog about various system admin tasks</description>
	<lastBuildDate>Tue, 29 Jul 2008 12:53:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='unixdesk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Unix Blog !</title>
		<link>http://unixdesk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unixdesk.wordpress.com/osd.xml" title="Unix Blog !" />
	<atom:link rel='hub' href='http://unixdesk.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Mounting a cdrom under Solaris</title>
		<link>http://unixdesk.wordpress.com/2008/07/29/mounting-a-cdrom-under-solaris/</link>
		<comments>http://unixdesk.wordpress.com/2008/07/29/mounting-a-cdrom-under-solaris/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 12:53:12 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cdrom Mount]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=252</guid>
		<description><![CDATA[1) Log in as a user with root authority. 2) Insert the CD-ROM into the drive. 3) If the Volume Manager (vold) is running on your system, the CD-ROM is automatically mounted as /cdrom/cd_label if the CD has a label or /cdrom/unnamed_cdrom if it is unlabeled. If the Volume Manage (vold) is running you may [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=252&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1) Log in as a user with root authority.</p>
<p>2) Insert the CD-ROM into the drive.</p>
<p>3) If the Volume Manager (vold) is running on your system, the CD-ROM is automatically mounted as /cdrom/cd_label if the CD has a label or /cdrom/unnamed_cdrom if it is unlabeled. <span id="more-252"></span></p>
<p>If the  Volume Manage (vold) is running you may try giving the &#8220;volcheck&#8221; (or &#8220;volcheck -v&#8221; for more information).</p>
<p>If the Volume Manager(vold) is not running on your system, complete the following steps to mount the CD-ROM:</p>
<p># Determine the name of the device by entering the following command:</p>
<p>#ls -al /dev/sr* |awk &#8216;{print &#8220;/&#8221; $11}&#8217;</p>
<p>or</p>
<p>#ls /dev/dsk/c0* &#8212;&gt; (usually cdrom is c0)</p>
<pre>#mount -F hsfs /dev/dsk/cxtxdxs2 /mnt/cdrom

Summary:
-F = filesystem , hsfs = high sierra file system standard for cdrom filesystems.</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/252/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/252/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=252&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/07/29/mounting-a-cdrom-under-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>Solaris quick reference !</title>
		<link>http://unixdesk.wordpress.com/2008/07/07/solaris-quick-reference/</link>
		<comments>http://unixdesk.wordpress.com/2008/07/07/solaris-quick-reference/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 05:21:46 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=251</guid>
		<description><![CDATA[Display Physical RAM: prtconf Kernel modules are stored in three directories 1)  /platform/sparc/kernel or /platform/i86pc/kernel 2)  /kernel 3) /usr/kernel List devices: sysdef Configure a Device: drvconfig Remove a Device: rem_config Where are the templates stored that are copied into the user&#8217;s home directories for their personal customizations? /etc/skel # Display the parent/child tree of a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=251&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Display Physical RAM:<br />
</strong>prtconf</p>
<p><strong>Kernel modules are stored in three directories<br />
</strong>1)  /platform/sparc/kernel or /platform/i86pc/kernel<br />
2)  /kernel<br />
3) /usr/kernel</p>
<p><strong>List devices:<br />
</strong>sysdef</p>
<p><strong>Configure a Device:</strong><br />
drvconfig</p>
<p><strong>Remove a Device:</strong><br />
rem_config</p>
<p><strong>Where are the templates stored that are copied into the user&#8217;s home<br />
directories for their personal customizations?</strong><br />
/etc/skel</p>
<p><strong># Display the parent/child tree of a process ?<br />
</strong>- ptree Example: ptree 1267</p>
<p><strong># Show the working directory of a process ?</strong><br />
- pwdx Example: pwdx 1267</p>
<p><strong># Display the processes current open files ? -<br />
</strong>pfiles Example: pfiles 1267</p>
<p><strong>Alternative for top command ? -<br />
</strong>prstat -a</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/251/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/251/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=251&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/07/07/solaris-quick-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>diff 2 files; output diff&#8217;s to 3rd file</title>
		<link>http://unixdesk.wordpress.com/2008/07/04/diff-2-files-output-diffs-to-3rd-file/</link>
		<comments>http://unixdesk.wordpress.com/2008/07/04/diff-2-files-output-diffs-to-3rd-file/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 05:20:45 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=249</guid>
		<description><![CDATA[bash# diff file1 file2 &#124; grep &#8220;[&#60;&#62;]&#8221; &#124; sed &#8220;s/&#62;/\t/g;s/&#60;//g&#8221; &#62; file3 The above command will the difference of file1 file2 in file 3 The output of file3 looks like below: host1 host2                  host3                  host4 which means file1 has host1 and host2 which is not found in file2,  and in file2 there are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=249&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>bash# diff file1 file2 | grep &#8220;[&lt;&gt;]&#8221; | sed &#8220;s/&gt;/\t/g;s/&lt;//g&#8221; &gt; file3</p>
<p>The above command will the difference of file1 file2 in file 3</p>
<p>The output of file3 looks like below:</p>
<p>host1<br />
host2<br />
                 host3<br />
                 host4</p>
<p>which means file1 has host1 and host2 which is not found in file2,  and in file2 there are words like host3, host4 which is not found in file1.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/249/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/249/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=249&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/07/04/diff-2-files-output-diffs-to-3rd-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>While running df command it says read only filesystem</title>
		<link>http://unixdesk.wordpress.com/2008/06/22/while-running-df-command-it-says-read-only-filesystem/</link>
		<comments>http://unixdesk.wordpress.com/2008/06/22/while-running-df-command-it-says-read-only-filesystem/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 15:11:25 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=248</guid>
		<description><![CDATA[Taking further from my previous post, I was not able to run df -k command : It says , no filesystems processed: Solution: To remount root filesystem with read-write : $mount -o remount,rw / This will make a entry in /etc/mtab for read,write access to root filesystem<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=248&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Taking further from my previous post,</p>
<p>I was not able to run df -k command :</p>
<p>It says , no filesystems processed:</p>
<p>Solution:</p>
<p>To remount root filesystem with read-write :<br />
$mount -o remount,rw /</p>
<p>This will make a entry in /etc/mtab for read,write access to root filesystem</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/248/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/248/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=248&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/06/22/while-running-df-command-it-says-read-only-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Linux Rescue</title>
		<link>http://unixdesk.wordpress.com/2008/06/22/using-linux-rescue/</link>
		<comments>http://unixdesk.wordpress.com/2008/06/22/using-linux-rescue/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 15:09:27 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux Rescue Mode]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=247</guid>
		<description><![CDATA[While trying to install Fedora core 8 on my Virtualbox(VM) It got hanged after installation was done &#8230; Here&#8217;s what I did: 1) Boot through Fedora core 8 CD 2) Select rescue installed system. 3) You will be asked to select the language, which defaults to English. Select the appropriate language and press OK to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=247&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While trying to install Fedora core 8 on my Virtualbox(VM)<br />
It got hanged after installation was done &#8230;</p>
<p>Here&#8217;s what I did:</p>
<p>1) Boot through Fedora core 8 CD</p>
<p>2) Select rescue installed system.</p>
<p>3) You will be asked to select the language, which defaults to English. Select the appropriate language and press OK to continue.</p>
<p>4)You will be asked to select the keyboard type, which defaults to us (USA). Select the appropriate keyboard type and press OK to continue.</p>
<p>5) do you want to start network interface &#8211; NO</p>
<p>6) Now it says, the rescue environment will find linux install and mount it under /mnt/sysimage &#8211; Select Continue</p>
<p>7) now it will say: your sytem is mounted under /mnt/sysimage and will reboot<br />
if you exit &#8211; OK</p>
<p> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> now you you get a shell prompt</p>
<p>Once at shell prompt, Type :</p>
<p>i) chroot /mnt/sysimage<br />
ii) fsck /dev/sda1 or fsck -p /dev/sda1</p>
<p>remove disk.<br />
Reboot and check &#8230; your system should be up !</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/247/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/247/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/247/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=247&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/06/22/using-linux-rescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>Shell Script Comparing files &#8230;</title>
		<link>http://unixdesk.wordpress.com/2008/05/20/shell-script-comparing-files/</link>
		<comments>http://unixdesk.wordpress.com/2008/05/20/shell-script-comparing-files/#comments</comments>
		<pubDate>Tue, 20 May 2008 12:09:26 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/?p=246</guid>
		<description><![CDATA[Have a file (file1) which is like host1 host2 host3 host4 the list goes on&#8230;&#8230;&#8230;&#8230; Now I want the above lines in files to be compared with files under /opt/new/* File names under /opt/new are as below: Dev Prod QA And suppose host1 from file1 is found under Dev(file under /opt/new) than it should write [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=246&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have a file (file1) which is like</p>
<p>host1<br />
host2<br />
host3<br />
host4<br />
the list goes on&#8230;&#8230;&#8230;&#8230;</p>
<p>Now I want the above lines in files to be compared with files under<br />
/opt/new/*</p>
<p>File names under /opt/new are as below:<br />
Dev<br />
Prod<br />
QA</p>
<p>And suppose host1 from file1 is found under Dev(file under /opt/new)<br />
than it should write under a seperate file New-list as host1-DEV</p>
<p>Ans:</p>
<pre style="border:1px inset;overflow:auto;width:auto;height:34px;margin:0;padding:6px;">while read line; do echo ${line}-$(grep -l $line /opt/new/*); done &lt; file1 &gt; new-file</pre>
<p>The above line reads from file1 and compares the list of hosts given under it with<br />
all files under /opt/new/* and if the host on file matches on any of file.</p>
<p>Then it writes to a new file (new-file) as<br />
host-filename, here host is the one listed in file1 and filename is<br />
the file under which it found the host .</p>
<p>eg if it finds  host1 under dev file (/opt/new)</p>
<p>It will write as host1-dev under new-file !</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/246/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/246/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=246&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/05/20/shell-script-comparing-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://unixdesk.wordpress.com/2008/03/27/243/</link>
		<comments>http://unixdesk.wordpress.com/2008/03/27/243/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 12:18:00 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/2008/03/27/243/</guid>
		<description><![CDATA[Identify Zombie Process in Solaris and Clean it : bash-2.03$ ps -ef &#124;grep defunct (The one marked in dark below is Parent Process) zasshr 8134 24291 0 0:00 &#60;defunct&#62; &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..It will show u a list&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. bash-2.03$ ptree 2429124291 /opt/VRTSvcs/bin/CitiEquity/CitiEquityAgent -type CitiEquit 8134 &#60;defunct&#62; 8205 &#60;defunct&#62; &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..It will show u a list&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. To Find total count [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=243&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><u><span style="font-size:130%;">Identify Zombie Process in Solaris and Clean it  :</span></u></strong></p>
<p><span style="font-family:Arial;font-size:85%;"><strong>bash-2.03$ ps -ef |grep defunct    (The one marked in dark below is Parent Process)</strong><br />  zasshr  8134 <strong>24291 </strong>  0                    0:00 &lt;defunct&gt;<br /> </span><span style="font-family:Arial;font-size:85%;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />..It will show u a  list&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p><strong>bash-2.03$ ptree  24291<br /></strong>24291 /opt/VRTSvcs/bin/CitiEquity/CitiEquityAgent -type  CitiEquit<br /> 8134  &lt;defunct&gt;<br /> 8205   &lt;defunct&gt;</p>
<p> <span style="font-family:Arial;font-size:85%;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />..It will show u a  list&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</span></p>
<p>To Find total count for the defunct  Parent Process :</span></p>
<p><span style="font-family:Arial;font-size:85%;"><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"><strong>bash-2.03$ ptree 24291 |wc -l</strong></span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;">158</span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"><u><strong>To clean the defunct Process:</strong></u></span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"><strong>$ preap 24291</strong><br />24291: exited with status 0</span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"> </span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"> </span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"> </span></p>
<p><span style="font-size:85%;"> </span>
<p><span style="font-size:85%;"><br /></span></p>
<p><span style="font-size:85%;"></span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/243/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/243/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=243&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2008/03/27/243/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>Solaris Faq</title>
		<link>http://unixdesk.wordpress.com/2007/12/13/solaris-faq/</link>
		<comments>http://unixdesk.wordpress.com/2007/12/13/solaris-faq/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 13:55:00 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris Faq]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/2007/12/13/solaris-faq/</guid>
		<description><![CDATA[What is the command to do an interactive boot from the ok promt?boot -i How can i disable STOP+A utility on SUN machines,which brings system into OK&#62; prompt???.In /etc/system set abort_enable=0 will disable STOP-A Where are the templates stored that are copied into the user&#8217;s home directories for their personal customizations?/etc/skel What SPARC emergency keyboard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=242&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What is the command to do an interactive boot from the ok promt?<br />boot -i</p>
<p>How can i disable STOP+A utility on SUN machines,<br />which brings system into OK&gt; prompt???.<br />In /etc/system set abort_enable=0 will disable STOP-A</p>
<p>Where are the templates stored that are copied into the user&#8217;s home<br /> directories for their personal customizations?<br />/etc/skel</p>
<p>What SPARC emergency keyboard sequence will take<br />the system to the ok prompt (forth monitor) but will send output to TTYA?<br />STOP+A</p>
<p>What file controls system wide password aging?<br />/etc/shadow</p>
<p>What flag used with patchadd will prevent a later back out by<br /> preventing patchadd from backing up files? If this flag is used,<br /> the patch cannot be removed.<br />patchadd -d</p>
<p>What file do you put the umask setting in?<br />The UMASK value for bourne and korn shell users can<br /> be modified system wide by editing the &#8220;umask&#8221; entry in the<br /> &#8220;/etc/profile&#8221; file. To change the default UMASK for the C shell,<br />modify the UMASK variable in &#8220;/etc/default/login&#8221; file.</p>
<p>Which of the following commands can tell you whether<br /> packets are being delayed or dropped on your network?<br />spray<br />% spray -c 100 -d 20 0 -l 2048 pluto<br />The following example sends 100 packets to a host (-c 100)<br />with each packet having a size of 2048 bytes (-l 2048). The packets<br />are sent with a delay time of 20 microseconds between<br />each burst (-d 20). If you don&#8217;t use a delay, you may run out of buffers. </p>
<p>Partition sizes can be set manually or from what configuration?<br />/etc/format.dat</p>
<p>Give the command that will display your default boot device.<br />eeprom boot-device &amp; not printenv as suggested</p>
<p>How many different kill signals are there?<br />EXIT HUP INT QUIT ILL TRAP ABRT EMT FPE KILL<br />BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CLD PWR<br />WINCH URG POLL STOP TSTP CONT TTIN TTOU VTALRM PROF<br />XCPU XFSZ WAITING LWP FREEZE THAW CANCEL LOST XRES RTMIN RTMIN+1 RTMIN+2 RTMIN+3 RTMAX-3 RTMAX-2 RTMAX-1 RTMAX</p>
<p>What software install group do you need to select in order to load the compilers?<br />sunwcprog<br />End User System Support Software Group (SUNWCuser)<br />Developer System Support Software Group (SUNWCprog)</p>
<p>What command can you use to display all of your groups?<br />groups &#8211; To display full list<br />id -a &#8211; To diaplsy full list of groups with group id numbers</p>
<p>What does this file /etc/path_to_inst contain and what is the<br /> importance of this file<br /> /etc/path_to_inst contains each device,<br />its instance name and number along with its physical name.</p>
<p>What is the command can reconfigure devices with out reboot?<br />devfsadm  &#8211; solaris 8 onwards</p>
<p>How to restore a corrupted file sytem or trouble shoot bad<br />super blocks for a FS c0t2d0s5 ?<br />Well you can also just use the #FSCK -N /dev.dsk/c0t2d0s5<br />to get the back up block number and then using one of the numbers<br />that display #FSCK -F ufs -o b=32 can be executed.</p>
<p>How will you add a virtual IP address to a server. Given the interface<br /> qe0 and IP 10.10.1.150<br /># ifconfig qe0:1 10.10.1.150 up<br />where &#8220;qe0&#8243; is an interface (e.g., le0) and N is a number between 1 and<br />. Removing the pseudo interface and associated address is done<br />with &#8220;ifconfig qe0:1 10.10.1.150 down&#8221;.<br />As with physical interfaces, all you need to do is make the<br />appropriate /etc/hostname.qe0:X file.</p>
<p>Boot phases of Solaris Operating Environment are:<br />1.boot PROM<br />2.boot programs like bootblk,ufsboot<br />3.kernel initialization like loading modules<br />4. init phase</p>
<p>How do you determin which Run Level the sytem is running<br />who -r</p>
<p>How would you find out what version of Solaris is currently running?<br />Run the command showrev. There&#8217;s a man page on showrev and<br /> there are switches to help you do whatever you&#8217;re trying to do</p>
<p>As a system administrator, how would you figure out the system<br /> transaction is slow between the system you logged into and from the system you did telnet login?<br />-time</p>
<p># Display the parent/child tree of a process ?<br /> &#8211; ptree  Example: ptree 1267</p>
<p># Show the working directory of a process ?<br />- pwdx  Example: pwdx 1267</p>
<p># Display the processes current open files ? -<br />pfiles  Example: pfiles 1267</p>
<p>Alternative for top command ? -<br />prstat -a</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/242/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/242/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=242&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2007/12/13/solaris-faq/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>Listing USB devices on Fedora 7</title>
		<link>http://unixdesk.wordpress.com/2007/12/09/listing-usb-devices-on-fedora-7/</link>
		<comments>http://unixdesk.wordpress.com/2007/12/09/listing-usb-devices-on-fedora-7/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 17:27:00 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Linux Utilities]]></category>
		<category><![CDATA[lsusb]]></category>
		<category><![CDATA[Unix Commands]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/2007/12/09/listing-usb-devices-on-fedora-7/</guid>
		<description><![CDATA[lsusb command can list all usb devices found, I had Fedora core 7(moonshine) installed and i did not find the command, I had to install usbutils which brings the command: [root@linuxbox ~]# yum -y install usbutilsInstalled: usbutils.i386 0:0.71-2.1Complete! [root@linuxbox ~]# lsusbBus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=241&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>lsusb command can list all usb devices found, <br />I had Fedora core 7(moonshine) installed and i did not find the command,</p>
<p>I had to install usbutils which brings the command:</p>
<p><span style="font-weight:bold;">[root@linuxbox ~]# yum -y install usbutils</span><br />Installed: usbutils.i386 0:0.71-2.1<br />Complete!</p>
<p>[root@linuxbox ~]# lsusb<br />Bus 004 Device 001: ID 0000:0000 <br />Bus 003 Device 001: ID 0000:0000 <br />Bus 002 Device 001: ID 0000:0000 <br />Bus 001 Device 001: ID 0000:0000 <br />Bus 001 Device 004: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet<br />Bus 001 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse</p>
<p><span style="font-weight:bold;">[root@linuxbox ~]# lsusb -d 07a6:8511 -v  </span> &lt;&#8212; gives details<br />Bus 001 Device 004: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet<br />Device Descriptor:<br />  bLength                18<br />  bDescriptorType         1<br />  bcdUSB               1.10<br />  bDeviceClass            0 (Defined at Interface level)<br />  bDeviceSubClass         0<br />  bDeviceProtocol         0<br />  bMaxPacketSize0         8<br />  idVendor           0x07a6 ADMtek, Inc.<br />  idProduct          0&#215;8511 ADM8511 Pegasus II Ethernet<br />  bcdDevice            1.01<br />  iManufacturer           1 ADMtek<br />  iProduct                2 USB To LAN Converter<br />  iSerial                 3 0001<br />  bNumConfigurations      1<br />  Configuration Descriptor:<br />    bLength                 9<br />    bDescriptorType         2<br />    wTotalLength           39<br />    bNumInterfaces          1<br />    bConfigurationValue     1<br />    iConfiguration          0<br />    bmAttributes         0xa0<br />      Remote Wakeup<br />    MaxPower              160mA<br />    Interface Descriptor:<br />      bLength                 9<br />      bDescriptorType         4<br />      bInterfaceNumber        0<br />      bAlternateSetting       0<br />      bNumEndpoints           3<br />      bInterfaceClass         0 (Defined at Interface level)<br />      bInterfaceSubClass      0<br />      bInterfaceProtocol      0<br />      iInterface              0<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0&#215;81  EP 1 IN<br />        bmAttributes            2<br />          Transfer Type            Bulk<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0&#215;0040  1x 64 bytes<br />        bInterval               0<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0&#215;02  EP 2 OUT<br />        bmAttributes            2<br />          Transfer Type            Bulk<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0&#215;0040  1x 64 bytes<br />        bInterval               0<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0&#215;83  EP 3 IN<br />        bmAttributes            3<br />          Transfer Type            Interrupt<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0&#215;0008  1x 8 bytes<br />        bInterval               1</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/241/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/241/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=241&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2007/12/09/listing-usb-devices-on-fedora-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
		<item>
		<title>SSH Tips</title>
		<link>http://unixdesk.wordpress.com/2007/12/09/ssh-tips/</link>
		<comments>http://unixdesk.wordpress.com/2007/12/09/ssh-tips/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 06:41:00 +0000</pubDate>
		<dc:creator>sriram003</dc:creator>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Unix Commands]]></category>

		<guid isPermaLink="false">http://unixdesk.wordpress.com/2007/12/09/ssh-tips/</guid>
		<description><![CDATA[Pointing to some SSH tips given in Linux Magazine: $ssh -T user@hostname If you connect to a host this way, it will disable pseudo-tty allocationand a command like w will not show your connection. Better add`bash -i&#8217; , as below.$ssh -T user@hostname /bin/bash -i With the below command the IP address of the system you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=240&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Pointing to some SSH tips given in Linux Magazine:</p>
<p>$ssh -T user@hostname</p>
<p>If you connect to a host this way, it will disable pseudo-tty allocation<br />and a command like w will not show your connection. Better add<br />`bash -i&#8217; , as below.<br />$ssh -T user@hostname /bin/bash -i</p>
<p>With the below command the IP address of the system you connect to wont be<br />logged into known_hosts file, usually its in  /root/.ssh/known_hosts.</p>
<p>$ssh -o UserknownHostsFile=/dev/null -T user@hostname /bin/bash -i</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixdesk.wordpress.com/240/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixdesk.wordpress.com/240/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixdesk.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixdesk.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixdesk.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixdesk.wordpress.com&amp;blog=1036924&amp;post=240&amp;subd=unixdesk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixdesk.wordpress.com/2007/12/09/ssh-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23ec408351875b09f75dc1f580e71bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sriram003</media:title>
		</media:content>
	</item>
	</channel>
</rss>
