<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Think Lamp &#187; commands</title>
	<atom:link href="http://www.think-lamp.com/tag/commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.think-lamp.com</link>
	<description>Everything Linux Apache Php Mysql</description>
	<lastBuildDate>Sun, 05 Sep 2010 00:50:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Very Useful Linux/Unix Commands</title>
		<link>http://www.think-lamp.com/2008/11/very-useful-linuxunix-commands/</link>
		<comments>http://www.think-lamp.com/2008/11/very-useful-linuxunix-commands/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 04:44:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux commands]]></category>
		<category><![CDATA[unix commands]]></category>

		<guid isPermaLink="false">http://www.think-lamp.com/?p=78</guid>
		<description><![CDATA[Working on a *nix system is no piece of cake. Especially when you are used to Graphic interface of &#8216;windows&#8217;. The world where mouse is the king. Here is a list of most used / most discussed / most important *nix commands. Mastering this will surely get your confidence level high in the black background [...]]]></description>
			<content:encoded><![CDATA[<p>Working on a *nix system is no piece of cake. Especially when you are used to Graphic interface of &#8216;windows&#8217;. The world where mouse is the king.</p>
<p>Here is  a list of most used / most discussed / most important  *nix commands. Mastering this will surely get your confidence level high in the black background and white characters&#8217; world !!</p>
<p>My experience says that for starters in UNiX / LiNuX , these commands are enough to get you in smoothly ! <img src='http://www.think-lamp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <span id="more-78"></span></p>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>clear</strong></span></span> <a href="http://linux.die.net/man/1/clear" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Clears the terminal window</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ clear</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>ls</strong></span></span> <a href="http://linux.die.net/man/1/ls" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>List contents of a directory<br />
</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ ls
usage: [root@test~]$ ls  -l</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>cat</strong></span></span> <a href="http://linux.die.net/man/1/cat" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays the contents of a file in the terminal</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ cat filename.extension</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>rm</strong></span></span> <a href="http://linux.die.net/man/1/rm" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Removes a file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ rm filename.extension
usage: [root@test~]$ rm -i filename.extension  [prompts for confirmation before removing a file]
usage: [root@test~]$ rm -f filename.extension  [force removal of the file regardless of it bieng write-protected or open]
usage: [root@test~]$ rm -r directory		   [remove files recursively in 'directory']</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>cp</strong></span></span> <a href="http://linux.die.net/man/1/cp" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Copies a file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ cp file1.ext file2.ext
usage: [root@test~]$ cp file1.ext /some/other/location/file2.ext
usage: [root@test~]$ cp file1.ext user@some.other.server:~/some/other/location/file2.ext</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>passwd</strong></span></span> <a href="http://linux.die.net/man/1/passwd" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Changes password</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ passwd
usage: [root@test~]$ passwd SomeNewUser [root access only]</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>motd</strong></span></span> <a href="http://linux.die.net/man/1/motd" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Message of the Day</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ motd</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>finger</strong></span></span> <a href="http://linux.die.net/man/1/finger" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>User information lookup program</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ finger   -p
Login     Name       Tty      Idle  Login Time   Office     Office Phone
xuser              pts/0          Oct 22 22:04 (ool-4578671d.dyn.optonline.net)</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>startx</strong></span></span> <a href="http://linux.die.net/man/1/startx" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Starts an X Window System server</strong></p>
<pre class="brush: bash;">usage: [root@test~]$  startx -dpi 300 -depth 32</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>less</strong></span></span> <a href="http://linux.die.net/man/1/less" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays the contents of a file in the terminal one page at a time</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ less filename.ext
usage: [root@test~]$ less +G filename.ext [start from end]</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>info</strong></span></span> <a href="http://linux.die.net/man/1/info" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays information and documentation on shells, utilities and programs</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ info
usage: [root@test~]$ info less</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>lpr</strong></span></span> <a href="http://linux.die.net/man/1/lpr" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Sends file to printer</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ lpr filename.ext
usage: [root@test~]$ lpr -# 3 filename.ext [3 copies]</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>grep</strong></span></span> <a href="http://linux.die.net/man/1/grep" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>looks through files for strings</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ grep &quot;needle&quot; haystack.ext
usage: [root@test~]$ grep -i &quot;neEdlE&quot; haystack.ext
usage: [root@test~]$ grep -i -r &quot;neEdlE&quot; directory/</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>head</strong></span></span> <a href="http://linux.die.net/man/1/head" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays first 10 lines of file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ head filename.ext</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>tail</strong></span></span> <a href="http://linux.die.net/man/1/tail" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays last 10 lines of file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ tail filename.log
usage: [root@test~]$ tail -f filename.log [don't exit // realtime]</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>mv</strong></span></span> <a href="http://linux.die.net/man/1/mv" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Moves or renames file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ mv filename.ext /some/other/directory/
usage: [root@test~]$ mv filename.ext newname.ext [rename]</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>file</strong></span></span> <a href="http://linux.die.net/man/1/file" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays information about file contents</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ file program.php
program.php: PHP script text

usage: [root@test~]$ file archive.tar.gz
archive.tar.gz: gzip compressed data, from Unix</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>echo</strong></span></span> <a href="http://linux.die.net/man/1/echo" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Copies string to terminal</strong></p>
<pre class="brush: bash;">usage: [root@test~]$  echo Hello Think-Lamp
usage: [root@test~]$  echo * | wc</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>date</strong></span></span> <a href="http://linux.die.net/man/1/date" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays current date and time</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ date
usage: [root@test~]$ date -R</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>cal</strong></span></span> <a href="http://linux.die.net/man/1/cal" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays calendar</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ cal
usage: [root@test~]$ cal -y 2009</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>gzip</strong></span></span> <a href="http://linux.die.net/man/1/gzip" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Compresses a file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ gzip filename.etx &amp;gt; archive.gz
usage: [root@test~]$ gzip -f -q filename.etx  &amp;gt; archive.gz[force and supress errors]
usage: [root@test~]$ gzip -f -q -r directory/ &amp;gt; archive.gz</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>gunzip</strong></span></span> <a href="http://linux.die.net/man/1/gunzip" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Decompresses a compressed file</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ gunzip archive.gz</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>which</strong></span></span> <a href="http://linux.die.net/man/1/which" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays path to command</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ which echo
usage: [root@test~]$ which less</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>whereis</strong></span></span> <a href="http://linux.die.net/man/1/whereis" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays paths to locations of commands</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ whereis echo
usage: [root@test~]$ whereis less</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>who</strong></span></span> <a href="http://linux.die.net/man/1/who" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Lists currently logged on users</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ who
usage: [root@test~]$ who -b</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>w</strong></span></span> <a href="http://linux.die.net/man/1/w" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Lists currently logged on users with processing usage</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ w</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>mesg</strong></span></span> <a href="http://linux.die.net/man/1/mesg" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Sets options for letting other users write you messages</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ mesg</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>write</strong></span></span> <a href="http://linux.die.net/man/1/write" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><strong><span style="color: #993300;"><span style="font-size: small;"> </span></span>Sends message to other users</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ write xuser
hello! This is test message

usage: [xuser@test~]$
Message from [root@test~]$ on pts/1 at 13:25 ...
hello! This is test message</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>talk</strong></span></span> <a href="http://linux.die.net/man/1/talk" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Allows two way chat to other users</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ talk xuser@test

usage: [xuser@test~]$
Message from root@test
talk: connection requested by root@test.
talk: respond with: talk xuser@test</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>chmod</strong></span></span> <a href="http://linux.die.net/man/1/chmod" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Changes file access permissions</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ chmod 775 file.ext
usage: [root@test~]$ chmod -r 777 directory/

CHMOD can also to attributed by using Numeric Permissions:

400 read by owner
040 read by group
004 read by anybody (other)
200 write by owner
020 write by group
002 write by anybody
100 execute by owner
010 execute by group
001 execute by anybody
____
777  read/write/execute by everybody !</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>mkdir</strong></span></span> <a href="http://linux.die.net/man/1/mkdir" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Makes a directory</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ mkdir newdirectory</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>rmdir</strong></span></span> <a href="http://linux.die.net/man/1/rmdir" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Removes an empty directory</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ rmdir newdirectory</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>ln</strong></span></span> <a href="http://linux.die.net/man/1/ln" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Creates link to an existing file [<a href="http://www.computerhope.com/jargon/h/hardlink.htm" target="_blank">hard</a>, <a href="http://www.computerhope.com/jargon/s/symblink.htm" target="_blank">soft</a>] </strong></p>
<pre class="brush: bash;">usage: (hard link) [root@test~]$ ln targetfile.ext linkname.ext
usage: (soft link) [root@test~]$ ln -s targetfile.ext linkname.ext</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>df</strong></span></span> <a href="http://linux.die.net/man/1/df" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays all mounted filesystems</strong></p>
<pre class="brush: bash;">usage: [root@test~]$ df
usage: [root@test~]$ df -h</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>top</strong></span></span> <a href="http://linux.die.net/man/1/top" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays updating list of currently running processes</strong></p>
<pre class="brush: bash;">usage: [root@test~] top
# Once in  TOP screen, use shift+F to select 'sort by' field.
# Once in Top screen, use Shift+R to 'sort' ascending OR descending</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>tty</strong></span></span> <a href="http://linux.die.net/man/1/tty" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays the name of the terminal in which the command was issued</strong></p>
<pre class="brush: bash;">usage: [root@test~] tty</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>kill</strong></span></span> <a href="http://linux.die.net/man/1/kill" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Aborts a process by PID (Process Identification Number) or job number</strong></p>
<pre class="brush: bash;">usage: [root@test~] kill -p 2345</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>jobs</strong></span></span> <a href="http://linux.die.net/man/1/jobs" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays a list of current jobs</strong></p>
<pre class="brush: bash;">usage: [root@test~] jobs
usage: [root@test~] jobs -l</pre>
<p><span style="color: #993300;"><span style="font-size: medium;"><strong>netstat</strong></span></span> <a href="http://linux.die.net/man/1/netstat" target="_blank"><img class="alignnone size-medium wp-image-79" title="book" src="http://www.think-lamp.com/wp-content/uploads/2008/10/book.gif" alt="" width="19" height="11" /></a><span style="color: #993300;"><span style="font-size: small;"><strong> </strong></span></span><strong>Displays network connections</strong></p>
<pre class="brush: bash;">usage: [root@test~] netstat -a -e</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.think-lamp.com%2F2008%2F11%2Fvery-useful-linuxunix-commands%2F&amp;linkname=Very%20Useful%20Linux%2FUnix%20Commands"><img src="http://www.think-lamp.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.think-lamp.com/2008/11/very-useful-linuxunix-commands/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
