<?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>Unixjournal's Weblog</title>
	<atom:link href="http://unixjournal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixjournal.wordpress.com</link>
	<description>Welcome to Unix diet</description>
	<lastBuildDate>Sun, 23 Dec 2007 07:50:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='unixjournal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Unixjournal's Weblog</title>
		<link>http://unixjournal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unixjournal.wordpress.com/osd.xml" title="Unixjournal&#039;s Weblog" />
	<atom:link rel='hub' href='http://unixjournal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Solaris Faq</title>
		<link>http://unixjournal.wordpress.com/2007/12/13/solaris-faq/</link>
		<comments>http://unixjournal.wordpress.com/2007/12/13/solaris-faq/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 13:55:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris Faq]]></category>

		<guid isPermaLink="false">http://unixjournal.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=unixjournal.wordpress.com&amp;blog=2376874&amp;post=242&amp;subd=unixjournal&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/unixjournal.wordpress.com/242/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/242/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=242&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/12/13/solaris-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Listing USB devices on Fedora 7</title>
		<link>http://unixjournal.wordpress.com/2007/12/09/listing-usb-devices-on-fedora-7/</link>
		<comments>http://unixjournal.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>unixjournal</dc:creator>
				<category><![CDATA[Linux Utilities]]></category>
		<category><![CDATA[lsusb]]></category>
		<category><![CDATA[Unix Commands]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://unixjournal.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=unixjournal.wordpress.com&amp;blog=2376874&amp;post=241&amp;subd=unixjournal&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/unixjournal.wordpress.com/241/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/241/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=241&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.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/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>SSH Tips</title>
		<link>http://unixjournal.wordpress.com/2007/12/09/ssh-tips/</link>
		<comments>http://unixjournal.wordpress.com/2007/12/09/ssh-tips/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 06:41:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Unix Commands]]></category>

		<guid isPermaLink="false">http://unixjournal.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=unixjournal.wordpress.com&amp;blog=2376874&amp;post=240&amp;subd=unixjournal&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/unixjournal.wordpress.com/240/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/240/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=240&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/12/09/ssh-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux keyboard shortcuts.</title>
		<link>http://unixjournal.wordpress.com/2007/11/19/linux-keyboard-shortcuts/</link>
		<comments>http://unixjournal.wordpress.com/2007/11/19/linux-keyboard-shortcuts/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 12:17:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Unix Commands]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/11/19/linux-keyboard-shortcuts/</guid>
		<description><![CDATA[Linux has many keyboard shortcuts. Knowing them makes using Linux much easier. Console/terminal -- &#8211; shuts down computer - (, , ,&#8230;) &#8211; switch to n-th console - or - &#8211; switch to next/previous virtual terminal &#8211; locks terminal input/output &#8211; allows to read console contents when output is going too fast. To unlock, press [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=239&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<div class="postentry">
<p><a href="http://blog.i64.pl/PiosBlog/200610/29-linux-keyboard-shortcuts-you-should-know-about/">Linux  has many keyboard shortcuts. Knowing them makes using Linux much easier.</a></p>
<p><a name="shc-console"></a></p>
<h3>Console/terminal</h3>
<ul class="ivim">
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Delete" src="http://blog.i64.pl/i/k/kb_del.png"> &#8211; shuts down computer
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Fn" src="http://blog.i64.pl/i/k/kb_fn.png"> (<img alt="F1" src="http://blog.i64.pl/i/k/kb_f1.png">, <img alt="F2" src="http://blog.i64.pl/i/k/kb_f2.png">, <img alt="F3" src="http://blog.i64.pl/i/k/kb_f3.png">,&#8230;) &#8211; switch to <i>n</i>-th console
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Left" src="http://blog.i64.pl/i/k/kb_left.png"> or <img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Right" src="http://blog.i64.pl/i/k/kb_right.png"> &#8211; switch to next/previous virtual    terminal
<li><img alt="Scroll Lock" src="http://blog.i64.pl/i/k/kb_scroll_lock.png"> &#8211;    locks terminal input/output &#8211; allows to read console contents when output is    going too fast. To unlock, press <b>Scroll Lock</b> once    again.<br />Alternatively, <b>Scroll Lock</b> can be enabled using <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="S" src="http://blog.i64.pl/i/k/kb_s.png"> and disabled with <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Q" src="http://blog.i64.pl/i/k/kb_q.png">. <b>Try last shortcut if your console    hangs for unknown reason</b> &#8211; it happened to me many times that I&#8217;ve locked    it accidentaly by pressing <b>CTRL</b>-<b>S</b>.
<li><img alt="Shift" src="http://blog.i64.pl/i/k/kb_shift.png">-<img alt="Page Up" src="http://blog.i64.pl/i/k/kb_pgup.png"> and <img alt="Shift" src="http://blog.i64.pl/i/k/kb_shift.png">-<img alt="Page Down" src="http://blog.i64.pl/i/k/kb_pgdn.png"> &#8211; scrolls console buffer up/down.    Works also when <img alt="Scroll Lock" src="http://blog.i64.pl/i/k/kb_scroll_lock.png"> is enabled. After changing    the terminal (<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Fn" src="http://blog.i64.pl/i/k/kb_fn.png">) buffer contents is erased and    it is impossible to scroll it.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="L" src="http://blog.i64.pl/i/k/kb_l.png"> &#8211; screen refresh
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="C" src="http://blog.i64.pl/i/k/kb_c.png"> or <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Backslash" src="http://blog.i64.pl/i/k/kb_backslash.png"> &#8211; kills current task
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="D" src="http://blog.i64.pl/i/k/kb_d.png"> &#8211; stands for EOF (End-of-file). If you    type it on en empty command line, it will quit bash. This is so much faster    than typing <i>exit</i>
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Z" src="http://blog.i64.pl/i/k/kb_z.png"> &#8211; pause process. Use commands:    <b>bg</b> to run in background or <b>fg</b> to run in foreground. </li>
</ul>
<p><a id="more-23"></a><br /><a name="shc-bash-command"></a><br /> <br />
<h3>Bash &amp; command-line</h3>
<ul class="ivim">
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="A" src="http://blog.i64.pl/i/k/kb_a.png"> &#8211; moves cursor to beginning of command    line.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="E" src="http://blog.i64.pl/i/k/kb_e.png"> &#8211; moves cursor to end of command line.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="K" src="http://blog.i64.pl/i/k/kb_k.png"> &#8211; clears command line from cursor    position to end of line.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="U" src="http://blog.i64.pl/i/k/kb_u.png"> &#8211; clears command line from cursor    position to beginning of line.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="W" src="http://blog.i64.pl/i/k/kb_w.png"> &#8211; clears word to the left
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Y" src="http://blog.i64.pl/i/k/kb_y.png"> &#8211; will paste in anything that was    deleted by <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="U" src="http://blog.i64.pl/i/k/kb_u.png"> or <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="K" src="http://blog.i64.pl/i/k/kb_k.png"> or <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="W" src="http://blog.i64.pl/i/k/kb_w.png">
<li><img alt="Tab" src="http://blog.i64.pl/i/k/kb_tab.png"> &#8211; <b>command-line    autocompletion</b>. Automatically completes current command line.<br />If    autocompletion script is enabled, then also options and applications    parameters are autocompleted.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="R" src="http://blog.i64.pl/i/k/kb_r.png"> &#8211; followed by characters will do a    incremental search of the previous command history </li>
</ul>
<p><a name="shc-kernel-shortcuts"></a><br /> <br />
<h3>Kernel shortcuts</h3>
<p>Following shortcuts must be enabled in kernel, they also must be enabled  using proc interface (<i>echo 1 &gt; /proc/sys/kernel/sysrq</i>).</p>
<ul class="ivim">
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="S" src="http://blog.i64.pl/i/k/kb_s.png"> &#8211; sync all mounted filesystem. Data in    buffers is immediately written to disks.
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="U" src="http://blog.i64.pl/i/k/kb_u.png"> &#8211; remounts mounted filesystems    read-only
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="B" src="http://blog.i64.pl/i/k/kb_b.png"> &#8211; performs immediate reboot. Don&#8217;t do    it without syncing and unmounting as it can cause massive filesystem    corruption
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="S" src="http://blog.i64.pl/i/k/kb_s.png">, then <img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="U" src="http://blog.i64.pl/i/k/kb_u.png">, then <img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="B" src="http://blog.i64.pl/i/k/kb_b.png"> &#8211; attempts to sync all mounted    filesystems, remounts them read-only and immediately reboots computer.    <b>Fastest way to reboot Linux</b>.
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="SysRQ" src="http://blog.i64.pl/i/k/kb_sysrq.png">-<img alt="H" src="http://blog.i64.pl/i/k/kb_h.png"> &#8211; prints out list of other SysRQ    functions. </li>
</ul>
<p><a name="shc-x-window-shortcuts"></a><br /> <br />
<h3>X-Windows shortcuts</h3>
<ul class="ivim">
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Plus" src="http://blog.i64.pl/i/k/kb_plus.png"> or <img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Minus" src="http://blog.i64.pl/i/k/kb_minus.png">- changes screen resolution    (higher/lower). Only if X-Windows server is configured for multiple    resolutions.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Backspace" src="http://blog.i64.pl/i/k/kb_backspace.png"> &#8211; kill X-server. Running    applications will be terminated.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Escape" src="http://blog.i64.pl/i/k/kb_esc.png"> &#8211; <b>xkill</b> &#8211; click an application    to kill it.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Shift" src="http://blog.i64.pl/i/k/kb_shift.png">-<img alt="Num Lock" src="http://blog.i64.pl/i/k/kb_num_lock.png"> will turn the keypad on the    keyboard into the mouse, so you can control the mouse from keyboard. Keys <img alt="/" src="http://blog.i64.pl/i/k/kb_slash.png"> and <img alt="*" src="http://blog.i64.pl/i/k/kb_asterisk.png"> on the numpad select left mouse    click and right mouse click respectively. Mouse click is done by <img alt="5" src="http://blog.i64.pl/i/k/kb_5.png"> on the numpad.
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Fn" src="http://blog.i64.pl/i/k/kb_fn.png"> (<img alt="F1" src="http://blog.i64.pl/i/k/kb_f1.png">, <img alt="F2" src="http://blog.i64.pl/i/k/kb_f2.png">, <img alt="F3" src="http://blog.i64.pl/i/k/kb_f3.png">,&#8230;) &#8211; switches to <i>n</i>-th text    console. </li>
</ul>
<p><a name="shc-shortcuts-kde"></a><br /> <br />
<h3>KDE shortcuts</h3>
<ul class="ivim">
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Shift" src="http://blog.i64.pl/i/k/kb_shift.png">-<img alt="Page Down" src="http://blog.i64.pl/i/k/kb_pgdn.png"> &#8211; direct shutdown
<li><img alt="Ctrl" src="http://blog.i64.pl/i/k/kb_ctrl.png">-<img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="Shift" src="http://blog.i64.pl/i/k/kb_shift.png">-<img alt="Page Up" src="http://blog.i64.pl/i/k/kb_pgup.png"> &#8211; direct reboot
<li><img alt="Alt" src="http://blog.i64.pl/i/k/kb_alt.png">-<img alt="F2" src="http://blog.i64.pl/i/k/kb_f2.png"> &#8211; Starts the run command box. Type a    application executable to launch it, folder name to open it, filename to use    an appropriate program to launch it, url to go to it in konqueror and any of    the numerous web shortcuts(gg, wp) defined by konqueror to activate them.  </li>
</ul>
<p>Do you know any other shortcuts that are worth to know?</p>
</div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/239/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/239/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=239&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/11/19/linux-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_del.png" medium="image">
			<media:title type="html">Delete</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_fn.png" medium="image">
			<media:title type="html">Fn</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f1.png" medium="image">
			<media:title type="html">F1</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f2.png" medium="image">
			<media:title type="html">F2</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f3.png" medium="image">
			<media:title type="html">F3</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_left.png" medium="image">
			<media:title type="html">Left</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_right.png" medium="image">
			<media:title type="html">Right</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_scroll_lock.png" medium="image">
			<media:title type="html">Scroll Lock</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_s.png" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_q.png" medium="image">
			<media:title type="html">Q</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_shift.png" medium="image">
			<media:title type="html">Shift</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_pgup.png" medium="image">
			<media:title type="html">Page Up</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_shift.png" medium="image">
			<media:title type="html">Shift</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_pgdn.png" medium="image">
			<media:title type="html">Page Down</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_scroll_lock.png" medium="image">
			<media:title type="html">Scroll Lock</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_fn.png" medium="image">
			<media:title type="html">Fn</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_l.png" medium="image">
			<media:title type="html">L</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_c.png" medium="image">
			<media:title type="html">C</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_backslash.png" medium="image">
			<media:title type="html">Backslash</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_d.png" medium="image">
			<media:title type="html">D</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_z.png" medium="image">
			<media:title type="html">Z</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_a.png" medium="image">
			<media:title type="html">A</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_e.png" medium="image">
			<media:title type="html">E</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_k.png" medium="image">
			<media:title type="html">K</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_u.png" medium="image">
			<media:title type="html">U</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_w.png" medium="image">
			<media:title type="html">W</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_y.png" medium="image">
			<media:title type="html">Y</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_u.png" medium="image">
			<media:title type="html">U</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_k.png" medium="image">
			<media:title type="html">K</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_w.png" medium="image">
			<media:title type="html">W</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_tab.png" medium="image">
			<media:title type="html">Tab</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_r.png" medium="image">
			<media:title type="html">R</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_s.png" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_u.png" medium="image">
			<media:title type="html">U</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_b.png" medium="image">
			<media:title type="html">B</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_s.png" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_u.png" medium="image">
			<media:title type="html">U</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_b.png" medium="image">
			<media:title type="html">B</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_sysrq.png" medium="image">
			<media:title type="html">SysRQ</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_h.png" medium="image">
			<media:title type="html">H</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_plus.png" medium="image">
			<media:title type="html">Plus</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_minus.png" medium="image">
			<media:title type="html">Minus</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_backspace.png" medium="image">
			<media:title type="html">Backspace</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_esc.png" medium="image">
			<media:title type="html">Escape</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_shift.png" medium="image">
			<media:title type="html">Shift</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_num_lock.png" medium="image">
			<media:title type="html">Num Lock</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_slash.png" medium="image">
			<media:title type="html">/</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_asterisk.png" medium="image">
			<media:title type="html">*</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_5.png" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_fn.png" medium="image">
			<media:title type="html">Fn</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f1.png" medium="image">
			<media:title type="html">F1</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f2.png" medium="image">
			<media:title type="html">F2</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f3.png" medium="image">
			<media:title type="html">F3</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_shift.png" medium="image">
			<media:title type="html">Shift</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_pgdn.png" medium="image">
			<media:title type="html">Page Down</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_ctrl.png" medium="image">
			<media:title type="html">Ctrl</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_shift.png" medium="image">
			<media:title type="html">Shift</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_pgup.png" medium="image">
			<media:title type="html">Page Up</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_alt.png" medium="image">
			<media:title type="html">Alt</media:title>
		</media:content>

		<media:content url="http://blog.i64.pl/i/k/kb_f2.png" medium="image">
			<media:title type="html">F2</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Database 11g on Linux now available !!!</title>
		<link>http://unixjournal.wordpress.com/2007/10/21/oracle-database-11g-on-linux-now-available/</link>
		<comments>http://unixjournal.wordpress.com/2007/10/21/oracle-database-11g-on-linux-now-available/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 17:45:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/10/21/oracle-database-11g-on-linux-now-available/</guid>
		<description><![CDATA[Oracle Database 11g Release 1 (11.1.0.6.0) &#8211; Standard Edition,Standard Edition One, and Enterprise Edition &#8211; became avialablefor download from OTN. You can download it from this link &#8211; a 1.7GB single zip file.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=238&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle Database 11g Release 1 (11.1.0.6.0) &#8211; Standard Edition,<br />Standard Edition One, and Enterprise Edition &#8211; became avialable<br />for download from OTN.</p>
<p>You can download it from this <a href="http://www.oracle.com/technology/software/products/database/index.html">link</a> &#8211; a 1.7GB single zip file.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/238/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/238/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=238&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/10/21/oracle-database-11g-on-linux-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Execute shell commands from a C program</title>
		<link>http://unixjournal.wordpress.com/2007/08/15/execute-shell-commands-from-a-c-program/</link>
		<comments>http://unixjournal.wordpress.com/2007/08/15/execute-shell-commands-from-a-c-program/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 19:33:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[C Program]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/08/15/execute-shell-commands-from-a-c-program/</guid>
		<description><![CDATA[Heres a C Program that use system() function to execute shell commands: See man system for more information: [root@linuxbox C_Programs]# cat test.c #include main(){printf (&#8220;Files More than 10 MB !!\n&#8221;);system(&#8220;find . -size +10000k&#8221;);return 0;} [root@linuxbox C_Programs]# gcc test.c [root@linuxbox C_Programs]# ./a.out Files More than 10 MB !!./xemacs-packages-extra-20061221-1.fc7.noarch.rpm<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=237&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Heres a C Program that use system() function to <br />execute shell commands:</p>
<p>See man system for more information:</p>
<p>[root@linuxbox C_Programs]# cat test.c <br />#include <br />main()<br />{<br />printf (&#8220;Files More than 10 MB !!\n&#8221;);<br />system(&#8220;find . -size +10000k&#8221;);<br />return 0;<br />}</p>
<p>[root@linuxbox C_Programs]# gcc test.c</p>
<p>[root@linuxbox C_Programs]# ./a.out <br />Files More than 10 MB !!<br />./xemacs-packages-extra-20061221-1.fc7.noarch.rpm</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/237/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/237/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=237&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/08/15/execute-shell-commands-from-a-c-program/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming C under Unix</title>
		<link>http://unixjournal.wordpress.com/2007/08/15/programming-c-under-unix/</link>
		<comments>http://unixjournal.wordpress.com/2007/08/15/programming-c-under-unix/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 18:11:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[C Program]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/08/15/programming-c-under-unix/</guid>
		<description><![CDATA[Writing a test Program in C (Unix):====================================[root@linuxbox C_Programs]# cat test.c#include main(){ printf (&#8220;Hello Sriram!!\n&#8221;); return 0; } Executing the above :=====================[root@linuxbox C_Programs]# gcc test.c [root@linuxbox C_Programs]# lsa.out test.c [root@linuxbox C_Programs]# ./a.out Hello Sriram!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=236&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Writing a test Program in C (Unix):<br />====================================<br />[root@linuxbox C_Programs]# cat test.c<br />#include <br />main()<br />{</p>
<p>printf (&#8220;Hello Sriram!!\n&#8221;);</p>
<p>return 0;</p>
<p>}</p>
<p>Executing the above :<br />=====================<br />[root@linuxbox C_Programs]# gcc test.c </p>
<p>[root@linuxbox C_Programs]# ls<br />a.out  test.c</p>
<p>[root@linuxbox C_Programs]# ./a.out <br />Hello Sriram!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/236/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/236/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=236&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/08/15/programming-c-under-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Find command tips &#8230;</title>
		<link>http://unixjournal.wordpress.com/2007/08/15/find-command-tips/</link>
		<comments>http://unixjournal.wordpress.com/2007/08/15/find-command-tips/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 16:01:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Find command]]></category>
		<category><![CDATA[Unix Commands]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/08/15/find-command-tips/</guid>
		<description><![CDATA[Finding Max space used by Top 10 Files in MB:============================================ [root@linuxbox Desktop]# find /tmp -type f &#124; xargs ls -msa &#124; sort -rn &#124; awk &#8216;{size=$1/1024;printf(&#8220;%dMb %s\n&#8221;, size,$2);}&#8217;&#124; head 10Mb /tmp/openldap-devel-2.3.34-0.fc7.i386.rpm,6Mb /tmp/newtonslaw.wav4Mb /tmp/openldap-clients-2.3.34-0.fc7.i386.rpm,3Mb /tmp/ntfs-3g-1.516-1.fc7.i386.rpm,2Mb /tmp/fuse-2.6.5-1.fc7.i386.rpm,1Mb /tmp/orbit-root/bonobo-activation-server-ior,0Mb /tmp/gconfd-root/lock/ior,0Mb /tmp/orbit-root/bonobo-activation-register.lock, Finding files which are more than 10 MB:======================================== find /tmp -name &#8220;*&#8221; -size +10000k Finding files modified [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=235&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finding Max space used by Top 10 Files in MB:<br />============================================</p>
<p>[root@linuxbox Desktop]# find /tmp -type f | xargs ls -msa <br />| sort -rn | awk &#8216;{size=$1/1024;printf(&#8220;%dMb %s\n&#8221;, size,$2);}&#8217;<br />| head</p>
<p>10Mb /tmp/openldap-devel-2.3.34-0.fc7.i386.rpm,<br />6Mb /tmp/newtonslaw.wav<br />4Mb /tmp/openldap-clients-2.3.34-0.fc7.i386.rpm,<br />3Mb /tmp/ntfs-3g-1.516-1.fc7.i386.rpm,<br />2Mb /tmp/fuse-2.6.5-1.fc7.i386.rpm,<br />1Mb /tmp/orbit-root/bonobo-activation-server-ior,<br />0Mb /tmp/gconfd-root/lock/ior,<br />0Mb /tmp/orbit-root/bonobo-activation-register.lock,</p>
<p>Finding files which are more than 10 MB:<br />========================================</p>
<p>find /tmp -name &#8220;*&#8221; -size +10000k</p>
<p>Finding files modified 3 days ago but less than 5 days:<br />========================================================</p>
<p>find /tmp -type f -mtime +2 -mtime -5</p>
<p>Find files that were accessed exactly 3 days a go<br />==================================================<br />find /tmp -type f -atime 3</p>
<p>-atime +7: All files that were last accessed more than 7 days ago<br />-atime  7: All files that were last accessed exactly 7 days ago<br />-atime -7: All files that were last accessed less than7 days ago</p>
<p>To replace recursive in *.html files, with multiline support:<br />=============================================================<br />find ./dir/ -name *.html -exec perl -pi -e &#8216;undef $/; <br />s/REPLACE-THIS/WITH-THAT/s&#8217; {} \;</p>
<p>Update the modification date for all files in the <br />current directory and below:<br />=================================================<br />find . -exec touch {} \;</p>
<p>Remove files in a directory that were created more <br />than x number of days ago (great for managing Maildir).<br />======================================================<br />find ./ -ctime +x | xargs | rm -f -r</p>
<p>This should delete files older than 7 days, and <br />print the name of each file it deletes.<br />=================================================<br />find ./ -ctime +7 -name &#8220;*.zip&#8221; -exec rm -f {} \; -ls</p>
<p># If you want to be prompted before it deletes a file:<br />find ./ -ctime +7 -name &#8220;*.zip&#8221; -exec rm -i {} \; -ls</p>
<p>This will list the files with names ending in .c <br />and containing the word hello:<br />=================================================</p>
<p>find . -type f -name &#8216;*.c&#8217; -exec grep -l hello {} /dev/null \;</p>
<p>Find all the files recursively that contain foo:<br />================================================<br />find . | xargs grep foo<br />./a:foo<br />./c:foo<br />./d:ifoo</p>
<p>a,c,d are the file names that contain foo</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/235/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/235/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=235&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/08/15/find-command-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>Mounting Windows NTFS partition under Fedora 7</title>
		<link>http://unixjournal.wordpress.com/2007/08/15/mounting-windows-ntfs-partition-under-fedora-7/</link>
		<comments>http://unixjournal.wordpress.com/2007/08/15/mounting-windows-ntfs-partition-under-fedora-7/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 12:55:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[Fedora Core 7]]></category>
		<category><![CDATA[NTFS mount]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/08/15/mounting-windows-ntfs-partition-under-fedora-7/</guid>
		<description><![CDATA[I have a dual boot Fedora 7 + Windows 2000 Pro When I tried mounting the NTFS Partition # mount /dev/hda1 /mnt/winmount: unknown filesystem type &#8216;ntfs&#8217; I got the above message. Then this is what I did to Mount windows NTFS partition Under Fedora Release 7(Moonshine): Install the below packages from Fedora core 7 DVD [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=234&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a dual boot Fedora 7 + Windows 2000 Pro</p>
<p>When I tried mounting the NTFS Partition </p>
<p># mount /dev/hda1 /mnt/win<br />mount: unknown filesystem type &#8216;ntfs&#8217;</p>
<p>I got the above message.</p>
<p>Then this is what I did to Mount windows NTFS partition <br />Under Fedora Release 7(Moonshine):</p>
<p>Install the below packages from Fedora core 7 DVD</p>
<p>rpm -ivh fuse-2.6.5-1.fc7.i386.rpm<br />rpm -ivh fuse-libs-2.6.5-1.fc7.i386.rpm<br />rpm -ivh ntfs-3g-1.516-1.fc7.i386.rpm</p>
<p><span style="font-weight:bold;">[root@linuxbox tmp]# fdisk -lu</span></p>
<p>Disk /dev/sda: 40.0 GB, 40007761920 bytes<br />255 heads, 63 sectors/track, 4864 cylinders, <br />total 78140160 sectors<br />Units = sectors of 1 * 512 = 512 bytes</p>
<p>   Device Boot   Start    End      Blocks   Id  System<br />/dev/sda1   *      63    51199154  25599546  7  HPFS/NTFS<br />/dev/sda2       51199155 51407999  104422+  83  Linux<br />/dev/sda3       51408000 78140159  13366080 8e  Linux LVM</p>
<p>My Windows NTFS partition is /dev/sda1</p>
<p>I create a directory <br />#mkdir /mnt/win_c/</p>
<p>Then Mount it:<br />[root@linuxbox tmp]# mount -t ntfs-3g /dev/sda1 /mnt/win_c/</p>
<p>[root@linuxbox win_c]# pwd<br />/mnt/win_c</p>
<p>[root@linuxbox win_c]# ls<br />arcldr.exe              hawkz.exe      RECYCLER<br />arcsetup.exe            hiberfil.sys   S4uDi.exe<br />AUTOEXEC.BAT            IO.SYS         Songs<br />boot.ini                MSDOS.SYS      Sriram<br />citianywhere.log        My Music       swsetup<br />citrix.log              NTDETECT.COM   System Volume Information<br />CONFIG.SYS              ntldr          WINNT<br />Documents and Settings  pagefile.sys   YServer.txt<br />Ebooks                  Program Files</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/234/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/234/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=234&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/08/15/mounting-windows-ntfs-partition-under-fedora-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
		<item>
		<title>HP Unix 11i commands</title>
		<link>http://unixjournal.wordpress.com/2007/07/10/hp-unix-11i-commands/</link>
		<comments>http://unixjournal.wordpress.com/2007/07/10/hp-unix-11i-commands/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 14:52:00 +0000</pubDate>
		<dc:creator>unixjournal</dc:creator>
				<category><![CDATA[HP Unix]]></category>

		<guid isPermaLink="false">http://unixjournal.wordpress.com/2007/07/10/hp-unix-11i-commands/</guid>
		<description><![CDATA[HP-Unix Command Line: 1) swinstall &#8211; installs software selections from a software source to eitherthe local host or to one or more target selections. 2) swremove &#8211; unconfigure and remove software products that has had softwareloaded with software distributor. 3) swlist &#8211; display information about software productsThe swlist command has a Graphical User Interface invoked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=233&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>HP-Unix Command Line:
<p>1) swinstall &#8211; installs software selections from a software source to either<br />the local host or to one or more target selections.</p>
<p>2) swremove &#8211; unconfigure and remove software products that has had software<br />loaded with software distributor.</p>
<p>3) swlist &#8211; display information about software products<br />The swlist command has a Graphical User Interface invoked by the swlist -i option.</p>
<p>4) swconfig &#8211; configure, unconfigure, or reconfigure installed software.</p>
<p>5) swverify &#8211; verify software products.</p>
<p>6) swpackage &#8212; Package a software distribution.</p>
<p>7) swacl &#8211; view or modify the Access Control Lists (ACLs) which protect<br />  software products.</p>
<p> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> swjob &#8211; display and monitor job information and create and remove jobs.</p>
<p>The graphical user interface version of this command can be invoked with sd<br />or swjob -i</p>
<p>9) swcopy &#8211;  The swcopy command copies software between depots.<br />Software that is copied into a depot cannot be used directly;<br />it is placed there only to act as a source for installation and other SD-UX operations.</p>
<p>10) swreg &#8211; Register/unregister depots and roots.</p>
<p>11) Updating Kernel in HP-UX 11i :</p>
<p>#cd /stand/build<br />#/usr/lbin/sysadm/system_prep -s system</p>
<p>This extracts the kernel file from currently running system.</p>
<p>#mk_kernel -s system</p>
<p>Makes new kernel in /stand/build directory called vmunix_test.<br />DLKM files are produced as /dlkm.vmunix.prev</p>
<p>At this point, the new kernel exists in the /stand/build directory.</p>
<p>It is recommended that you rename the existing kernel</p>
<p>#mv /stand/system /stand/system.prev</p>
<p>Now update the new kernel with :<br />#kmupdate /stand/build/vmunix_test</p>
<p>Kmupdate will automatically create backup copies of<br />/stand/vmunix and /stand/dlkm</p>
<p>as vmunix.prev and dlkm.prev under /stand</p>
<p>You can shutdown and boot from new kernel.<br />cd /; shutdown -r 0</p>
<p>Shuts the system so it comes with new kernel.</p>
<p>12) sam &#8211; starts the menu driven system Administration Manager.</p>
</p>
<p>Extras:<br />*) /stand : This contains kernel configuration and binary file that are required to<br />bring up a system. The important files in this dir is system, cmunix and dlkm files.</p>
<p>*) Default File System used in HP-UX 11i is Journal File System(JFS).</p>
</p>
<p> </p>
<p> </p>
<p>For more info visit : <a href="http://docs.hp.com/">http://docs.hp.com</a><br />also visit <a href="http://www.sunguru.com/">www.sunguru.com</a> for daily updates</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/unixjournal.wordpress.com/233/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/unixjournal.wordpress.com/233/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unixjournal.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unixjournal.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unixjournal.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixjournal.wordpress.com&amp;blog=2376874&amp;post=233&amp;subd=unixjournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixjournal.wordpress.com/2007/07/10/hp-unix-11i-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c41ad8a68a590bf9f68d62d6bdf9bf2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixjournal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
