<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3361681370685691562</id><updated>2011-11-27T17:10:18.143-08:00</updated><category term='step by step'/><category term='install'/><category term='ruby'/><category term='articles'/><category term='lpic exam 101 - objective 1'/><category term='linux filesystem file system lpic etc'/><category term='linux disk quota'/><category term='shoaib scandal'/><category term='sms'/><category term='shoaib discipline'/><category term='using'/><category term='Sticky Bit Linux File Sytem'/><category term='linux filesystem file system lpic mnt'/><category term='make'/><category term='set'/><category term='sms to paktel'/><category term='commands'/><category term='list hard soft symbolic link symlink inode file directory'/><category term='shell'/><category term='linux filesystem file system lpic sbin'/><category term='single user mode'/><category term='linux users list'/><category term='code'/><category term='how to setup a path variable'/><category term='linux filesystem file system lpic home'/><category term='sms pakistan'/><category term='linux'/><category term='linux list processes all'/><category term='table of content'/><category term='display linux path'/><category term='Britney Spears'/><category term='execute'/><category term='free sms'/><category term='first'/><category term='sms to ufone'/><category term='linux filesystem file system lpic lost+found'/><category term='linux filesystem file system lpic boot'/><category term='linux filesystem file system lpic tmp'/><category term='shoaib akhtar'/><category term='linux filesystem file system lpic bin'/><category term='linux filesystem file system lpic lib'/><category term='Britney Spears Photos'/><category term='broadcast message linux'/><category term='linux filesystem file system lpic opt'/><category term='Britney Spears in towel'/><category term='sms to telenor'/><category term='linux filesystem file system lpic usr'/><category term='online users linux'/><category term='linux filesystem file system lpic proc'/><category term='linux filesystem file system lpic root'/><category term='sms to warid'/><category term='shoaib in shahrukh team'/><category term='sms to mobilink'/><title type='text'>Linux Certification LPIC</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7849949337123904840</id><published>2008-10-03T03:26:00.000-07:00</published><updated>2008-10-03T04:08:17.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='using'/><category scheme='http://www.blogger.com/atom/ns#' term='commands'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Using Shell Commands in Ruby</title><content type='html'>The following is a step by step guide how can you write shell linux commands inside ruby code and get their results in customized output created by ruby.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;First of all execute the following command on shell prompt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;shell&gt; vi userinfo.rb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will open up vi editor with a file named userinfo opened in it&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Press i on your keyboard, this will switch the file userinfo into insert mode&lt;/div&gt;&lt;div&gt;2. Write the following code in it&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;code&gt;#Code Starts&lt;br /&gt;def user&lt;br /&gt;user = `users`&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;def groups&lt;br /&gt;groups = `groups`&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;puts "You are #{user} and you belongs to the groups \n #{groups}"&lt;br /&gt;#Code Ends&lt;/code&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style=" ;font-family:-webkit-monospace;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;3. Press ESC key on your keyboard to exit insert mode&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;4. Now write :wq and press enter key on your keyboard&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;This will throw you out to the shell prompt. On the shell prompt write the following command&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;shell&gt; ruby userinfo.rb&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;You will get the customized output like this&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;You are root and you belong to the groups&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;  [A list of group will be displayed on this line]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Thats it to executing shell linux commands inside your linux code&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Go back to the table of contents for '&lt;/span&gt;&lt;a href="http://linux-certification.blogspot.com/2008/10/ruby-on-linux.html"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Ruby on Linux&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7849949337123904840?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7849949337123904840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7849949337123904840' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7849949337123904840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7849949337123904840'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/10/using-shell-commands-in-ruby.html' title='Using Shell Commands in Ruby'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-3664578169228800045</id><published>2008-10-03T02:50:00.000-07:00</published><updated>2008-10-03T02:58:58.495-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='first'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='execute'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><title type='text'>Your first ruby code</title><content type='html'>&lt;div&gt;Create a file in your linux using the following command&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;shell&gt; touch helloworld.rb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;or open up vi editor with the name of the new file to be created&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;shell&gt; vi helloworld.rb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the file that is opened, write your code by taking the following steps&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Press i key on your keyboard&lt;/div&gt;&lt;div&gt;2. You will enter the write mode and now you can write your text [puts "Hello World"]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now save and close down the file by taking the following steps&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Press ESC key on your keyboard&lt;/div&gt;&lt;div&gt;2. Write :wq and Press Enter&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The file will get saved and you will be thrown out to the shell prompt.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On shell prompt write the following command&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;shell&gt; ruby helloworld.rb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You will shown the following output&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hello World&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thats it to writing your first ruby script and executing it on linux.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Trebuchet MS'; font-size: 13px; line-height: 18px; "&gt;Go back to the table of contents for '&lt;a href="http://linux-certification.blogspot.com/2008/10/ruby-on-linux.htm"&gt;Ruby on Linux&lt;/a&gt;'&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-3664578169228800045?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/3664578169228800045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=3664578169228800045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3664578169228800045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3664578169228800045'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/10/your-first-ruby-code.html' title='Your first ruby code'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-1310655179818880669</id><published>2008-10-03T01:05:00.000-07:00</published><updated>2008-10-03T01:13:54.252-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='set'/><category scheme='http://www.blogger.com/atom/ns#' term='make'/><title type='text'>Setting up Ruby on Linux</title><content type='html'>The following are the steps that I performed to install ruby on my linux machine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I went to http://www.ruby-lang.org/en/downloads/ There I found out a section with the heading Ruby Source Code&lt;br /&gt;&lt;br /&gt;I pick the url of the link for the file using the right click and choosing the 'copy link location' in my firefox.&lt;br /&gt;&lt;br /&gt;Then I went to the shell on my linux and put the following command&lt;br /&gt;&lt;br /&gt;shell&gt; wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz&lt;br /&gt;&lt;br /&gt;This downloaded the ruby source code to my root directory. I extracted the file using the following command&lt;br /&gt;&lt;br /&gt;shell&gt; tar -xvf ruby-1.8.7-p72.tar.gz&lt;br /&gt;&lt;br /&gt;This command extracted the source archieve to ruby-1.8.7-p72 directory. Then I enter into this ruby-1.8.7-p72 directory and executed the following command&lt;br /&gt;&lt;br /&gt;shell&gt; ./configure&lt;br /&gt;&lt;br /&gt;This is actually not a command rather a script, that is run to check the required configurations for the installation purposes. At the successful run of this script I executed the following command&lt;br /&gt;&lt;br /&gt;shell&gt; make&lt;br /&gt;&lt;br /&gt;This make command compiled the code. At the end of the make command I executed the following command&lt;br /&gt;&lt;br /&gt;shell&gt; make install&lt;br /&gt;&lt;br /&gt;This make install command installed the ruby and placed the ruby files in appropriate folders.&lt;br /&gt;&lt;br /&gt;Thats all to what I did for installing ruby on a linux machine.&lt;br /&gt;&lt;br /&gt;You can confirm your ruby installation by using the following command&lt;br /&gt;&lt;br /&gt;shell&gt; ruby -v&lt;br /&gt;&lt;br /&gt;  Go back to the table of contents for '&lt;a href="http://linux-certification.blogspot.com/2008/10/ruby-on-linux.html"&gt;Ruby on Linux&lt;/a&gt;'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-1310655179818880669?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/1310655179818880669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=1310655179818880669' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/1310655179818880669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/1310655179818880669'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/10/setting-up-ruby-on-linux.html' title='Setting up Ruby on Linux'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-644594254429952999</id><published>2008-10-03T00:57:00.000-07:00</published><updated>2008-10-03T03:38:52.054-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='table of content'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='step by step'/><category scheme='http://www.blogger.com/atom/ns#' term='articles'/><title type='text'>Ruby on Linux</title><content type='html'>Ruby on Linux&lt;br /&gt;&lt;br /&gt;This is an effort to collect a guide for doing ruby development in a collection of step by step tutorials. The following is table of contents list for links to the articles in this same blog. You will see some articles completed while others are in process. Thanks&lt;br /&gt;&lt;br /&gt;Table of Contents&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://linux-certification.blogspot.com/2008/10/setting-up-ruby-on-linux.html"&gt;Setting up Ruby on Linux&lt;/a&gt; (Completed)&lt;br /&gt;2. &lt;a href="http://linux-certification.blogspot.com/2008/10/your-first-ruby-code.html"&gt;Your First Ruby Code&lt;/a&gt; (Completed)&lt;br /&gt;3. Connecting to MySQL database via Ruby (In process)&lt;br /&gt;4. &lt;a href="http://linux-certification.blogspot.com/2008/10/using-shell-commands-in-ruby.html"&gt;Using Shell Commands in Ruby&lt;/a&gt; (Completed)&lt;br /&gt;5. Getting System information using Ruby code (In process)&lt;br /&gt;6. More to come ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-644594254429952999?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/644594254429952999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=644594254429952999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/644594254429952999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/644594254429952999'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/10/ruby-on-linux.html' title='Ruby on Linux'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5436279653410481850</id><published>2008-10-02T04:46:00.000-07:00</published><updated>2008-10-02T10:38:45.416-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='list hard soft symbolic link symlink inode file directory'/><title type='text'>Hard or Soft link</title><content type='html'>&lt;p&gt;&lt;strong&gt;How a Hard link is created?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;A hard link to a file is created using the following command&lt;/p&gt;&lt;p&gt;root@xyz# ln file1 file2&lt;/p&gt;&lt;p&gt;The above command makes file2 a hard link to a file represented by the hard link file1.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;How a Soft link is created?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The soft link to a file is created using the following command&lt;/p&gt;&lt;p&gt;root@xyz# ln -s file1 file3&lt;/p&gt;&lt;p&gt;The above command makes file3 a soft link to a file represented by the hard link file1&lt;/p&gt;&lt;p&gt;&lt;strong&gt;How a file with multiple hard links is deleted?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;A file with multiple hard links is only deleted after all its hard links are deleted. Then the question is, Is there any way that we can remove all of the hard links in a single command? The answer to this question is ...*&lt;/p&gt;&lt;p&gt;&lt;strong&gt;How a file with a soft link is deleted?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The file with a soft link is deleted normally by using the rm command. In this case the soft link becomes broken, i.e. not linked to anything.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What happens to the soft links if a file is moved from its original location?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;In case a file is moved from its original location the soft link pointing to this file becomes broken. If the pointed file is moved back to its original location, the broken link becomes active again.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What happens to the soft links if a file is removed?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;If a file is removed the soft links continue to exists but becomes broken.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What happens to the hard links a file is moved from its original location?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;It makes no difference. By moving a file having multiple hard links means moving a hard link. So if a hard link is moved to some other place, it does not effect any other hard link pointing to the same file.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What happens to the hard links if a file is removed?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;It just is not possible to remove a file having at least one hard link. If you remove one hard link, that particular link is deleted not the actual file. The actual file is only deleted when the last hard link pointing to the file is removed.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;How can we list all of the hard links or soft links to a particular file?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;List Hard Links&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;You can list all of the hard links to a file 'file1' by using the following command&lt;/p&gt;&lt;p&gt;root@xyz# find [directory to search] -samefile [file name (which can be any hard link) as argument]&lt;/p&gt;&lt;p&gt;for example&lt;/p&gt;&lt;p&gt;root@xyz# find / -samefile file1&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;root@xyz# find . -samefile file1&lt;/p&gt;&lt;p&gt;You can also use the inode number for searching the hard links to it&lt;/p&gt;&lt;p&gt;for example&lt;/p&gt;&lt;p&gt;root@xyz# find . -inum [inode number]&lt;/p&gt;&lt;p&gt;You can find the inode number of a file by using the following command&lt;/p&gt;&lt;p&gt;root@xyz# ls -i&lt;/p&gt;&lt;p&gt;&lt;strong&gt;List Soft Links&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;You can list the soft links to a file using the following command&lt;/p&gt;&lt;p&gt;root@xyz# find -lname file1&lt;/p&gt;&lt;p&gt;It is better to put a * as prefix in the file name like below&lt;/p&gt;&lt;p&gt;root@xyz# find -lname "*file1"&lt;/p&gt;&lt;p&gt;Because we have not mentioned the directory where the search should be made so the search will be made in the current directory. We can mention the directory where the search should be made in the following way&lt;/p&gt;&lt;p&gt;root@xyz# find . -lname "*file1"&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;root@xyz# find / -lname "*file1"&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;For more details you can have a look at the following resources&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://www6.software.ibm.com/developerworks/education/l-lpic1104/section8.html"&gt;Hard and Symbolic link&lt;/a&gt; [A free registration will be required for the above link]&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Symbolic_link"&gt;Symbolic link&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Hard_link"&gt;Hard link&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5436279653410481850?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5436279653410481850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5436279653410481850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5436279653410481850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5436279653410481850'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/10/hard-link-or-symbolic.html' title='Hard or Soft link'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-6831691206417055361</id><published>2008-09-28T13:32:00.000-07:00</published><updated>2008-09-28T13:37:49.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sticky Bit Linux File Sytem'/><title type='text'>Sticky Bit</title><content type='html'>A sticky bit is set on a directory to prevent unwanted users from removing contents within the directory.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is commonly set on /tmp directory&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root@xyz:~# &lt;span class="Apple-style-span"  style=" line-height: 19px; font-family:'-webkit-monospace';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;chmod +t /usr/local/tmp&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-family:-webkit-monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-family:-webkit-monospace;"&gt;You can read the following articles for more information&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Sticky_bit"&gt;Sticky bit&lt;/a&gt;&lt;a href="http://en.wikipedia.org/wiki/Sticky_bit"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.gnulamp.com/stickybit.html"&gt;What is Sticky Bit&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://osr507doc.sco.com/en/OSAdminG/ssC.stickydirs.html"&gt;The sticky bit and directories&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-6831691206417055361?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/6831691206417055361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=6831691206417055361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6831691206417055361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6831691206417055361'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/sticky-bit.html' title='Sticky Bit'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-3563941179679807501</id><published>2008-09-28T11:39:00.000-07:00</published><updated>2008-09-28T11:41:49.880-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='single user mode'/><title type='text'>Single User Mode on Linux</title><content type='html'>You can get into single user mode using init 1 command like below&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root@xyz:~# init 1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But never use this command remotely. Once used remotely the system will get into single user mode and any network user will get disconnected.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can get out of single user mode by using&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root@xyz:~# init 3 or init 5&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-3563941179679807501?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/3563941179679807501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=3563941179679807501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3563941179679807501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3563941179679807501'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/single-user-mode-on-linux.html' title='Single User Mode on Linux'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-6351526075954521106</id><published>2008-09-28T11:16:00.000-07:00</published><updated>2008-09-28T11:20:16.141-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='broadcast message linux'/><title type='text'>Broadcast to all linux users</title><content type='html'>You can use wall command to broadcast to all of the users connected to your machine. e.g.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root@xyz:~# wall This machine is shutting down&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-6351526075954521106?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/6351526075954521106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=6351526075954521106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6351526075954521106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6351526075954521106'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/broadcast-to-all-linux-users.html' title='Broadcast to all linux users'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7390689032322143495</id><published>2008-09-28T11:14:00.000-07:00</published><updated>2008-09-28T11:20:33.685-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='online users linux'/><title type='text'>See who is online on your linux machine</title><content type='html'>Use who command to see who is online on your system&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root@xyz:~# who&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The results will be a list of users connected on your machine.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7390689032322143495?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7390689032322143495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7390689032322143495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7390689032322143495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7390689032322143495'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/see-who-is-online-on-your-linux-machine.html' title='See who is online on your linux machine'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5803052891485769502</id><published>2008-09-28T10:45:00.000-07:00</published><updated>2008-09-28T11:11:26.256-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux disk quota'/><title type='text'>Disk Quotas in Linux</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You have to setup your file system with disk quota enabled. Then you can use the following commands to manipulate your disk quotas&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: verdana;" class="displaycode"&gt;root@xyz:~# quotacheck&lt;br /&gt;root@xyz:~# quotaon&lt;br /&gt;root@xyz:~# edquota&lt;br /&gt;root@xyz:~# quota&lt;br /&gt;root@xyz:~# repquota&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can futher read the following articles&lt;br /&gt;&lt;/pre&gt;&lt;ol&gt;&lt;li&gt;&lt;a style="font-family: verdana;" href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch28_:_Managing_Disk_Usage_with_Quotas"&gt;Managing Disk Usage with Quotas&lt;/a&gt;&lt;a style="font-family: verdana;" href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch28_:_Managing_Disk_Usage_with_Quotas"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a style="font-family: verdana;" href="http://whitepapers.zdnet.com/abstract.aspx?docid=177071"&gt;Implementing quotas to restrict disk space usage&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a style="font-family: verdana;" href="http://whitepapers.zdnet.com/abstract.aspx?docid=177071"&gt;Manage user accounts in a multi-user Linux environment with disk quotas&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www6.software.ibm.com/developerworks/education/l-lpic1104/section5.html"&gt;Disk quotas&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5803052891485769502?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5803052891485769502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5803052891485769502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5803052891485769502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5803052891485769502'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/disk-quotas-in-linux.html' title='Disk Quotas in Linux'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5533000751338196637</id><published>2008-09-19T23:34:00.003-07:00</published><updated>2008-09-20T03:16:44.537-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic usr'/><title type='text'>Linux File System 14 - usr directory</title><content type='html'>/usr - This is one of the most important directories in the system as it&lt;br /&gt;contains all the user binaries. X and its supporting libraries can be&lt;br /&gt;found here. User programs like telnet, ftp etc are also placed here.&lt;br /&gt;/usr/doc contains useful system documentation. /usr/src/linux contains the&lt;br /&gt;source code for the Linux kernel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5533000751338196637?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5533000751338196637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5533000751338196637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5533000751338196637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5533000751338196637'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_8393.html' title='Linux File System 14 - usr directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7681522173393066557</id><published>2008-09-19T23:34:00.001-07:00</published><updated>2008-09-20T03:16:37.172-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic tmp'/><title type='text'>Linux File System 13 - tmp directory</title><content type='html'>/tmp - This directory contains mostly files that are required temporarily.&lt;br /&gt;Many programs use this to create lock files and for temporary storage of&lt;br /&gt;data. On some systems, this directory is cleared out at boot or at&lt;br /&gt;shutdown.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7681522173393066557?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7681522173393066557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7681522173393066557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7681522173393066557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7681522173393066557'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_9403.html' title='Linux File System 13 - tmp directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5769787701246198059</id><published>2008-09-19T23:33:00.002-07:00</published><updated>2008-09-20T03:16:29.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic root'/><title type='text'>Linux File System 12 - root directory</title><content type='html'>/root - We talked about user home directories earlier and well this one is&lt;br /&gt;the home directory of the user root. This is not to be confused with the&lt;br /&gt;system root, which is directory at the highest level in the filesystem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5769787701246198059?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5769787701246198059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5769787701246198059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5769787701246198059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5769787701246198059'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_8379.html' title='Linux File System 12 - root directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-8153373056063331877</id><published>2008-09-19T23:33:00.001-07:00</published><updated>2008-09-20T03:16:21.537-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic proc'/><title type='text'>Linux File System 11 - proc directory</title><content type='html'>/proc - This is a special directory on your system. We have a more detailed&lt;br /&gt;article on this one below.&lt;br /&gt;&lt;br /&gt;--------------------------&lt;br /&gt;Discover the possibilities of the /proc directory&lt;br /&gt;By Federico Kereki on February 15, 2008 (9:00:02 AM)&lt;br /&gt;&lt;br /&gt;The /proc directory is a strange beast. It doesn't really exist, yet you can explore it. Its zero-length files are neither binary nor text, yet you can examine and display them. This special directory holds all the details about your Linux system, including its kernel, processes, and configuration parameters. By studying the /proc directory, you can learn how Linux commands work, and you can even do some administrative tasks.&lt;br /&gt;&lt;br /&gt;Under Linux, everything is managed as a file; even devices are accessed as files (in the /dev directory). Although you might think that "normal" files are either text or binary (or possibly device or pipe files), the /proc directory contains a stranger type: virtual files. These files are listed, but don't actually exist on disk; the operating system creates them on the fly if you try to read them.&lt;br /&gt;&lt;br /&gt;Most virtual files always have a current timestamp, which indicates that they are constantly being kept up to date. The /proc directory itself is created every time you boot your box. You need to work as root to be able to examine the whole directory; some of the files (such as the process-related ones) are owned by the user who launched it. Although almost all the files are read-only, a few writable ones (notably in /proc/sys) allow you to change kernel parameters. (Of course, you must be careful if you do this.)&lt;br /&gt;/proc directory organization&lt;br /&gt;&lt;br /&gt;The /proc directory is organized in virtual directories and subdirectories, and it groups files by similar topic. Working as root, the ls /proc command brings up something like this:&lt;br /&gt;&lt;br /&gt;1     2432  3340  3715  3762  5441  815        devices      modules&lt;br /&gt;129   2474  3358  3716  3764  5445  acpi       diskstats    mounts&lt;br /&gt;1290  248   3413  3717  3812  5459  asound     dma          mtrr&lt;br /&gt;133   2486  3435  3718  3813  5479  bus        execdomains  partitions&lt;br /&gt;1420  2489  3439  3728  3814  557   dri        fb           self&lt;br /&gt;165   276   3450  3731  39    5842  driver     filesystems  slabinfo&lt;br /&gt;166   280   36    3733  3973  5854  fs         interrupts   splash&lt;br /&gt;2     2812  3602  3734  4     6     ide        iomem        stat&lt;br /&gt;2267  3     3603  3735  40    6381  irq        ioports      swaps&lt;br /&gt;2268  326   3614  3737  4083  6558  net        kallsyms     sysrq-trigger&lt;br /&gt;2282  327   3696  3739  4868  6561  scsi       kcore        timer_list&lt;br /&gt;2285  3284  3697  3742  4873  6961  sys        keys         timer_stats&lt;br /&gt;2295  329   3700  3744  4878  7206  sysvipc    key-users    uptime&lt;br /&gt;2335  3295  3701  3745  5     7207  tty        kmsg         version&lt;br /&gt;2400  330   3706  3747  5109  7222  buddyinfo  loadavg      vmcore&lt;br /&gt;2401  3318  3709  3749  5112  7225  cmdline    locks        vmstat&lt;br /&gt;2427  3329  3710  3751  541   7244  config.gz  meminfo      zoneinfo&lt;br /&gt;2428  3336  3714  3753  5440  752   cpuinfo    misc&lt;br /&gt;&lt;br /&gt;/proc resources&lt;br /&gt;&lt;br /&gt;Finding documentation about the /proc filesystem can be a chore, because it's distributed all around the kernel source. Looking in the /usr/scr/linux/Documentation directory, I found proc.txt, which contains plenty of information but is somewhat dated: its latest update was in November 2000, when kernel version 2.4.0 was just about to come out. Still, wading through this directory is easier than looking at the C source files. Note that you might end up getting more than you wanted; for example, the laptop-mode.txt file is almost 1,000 lines long and deals exclusively with the single /proc/sys/vm/laptop_mode file.&lt;br /&gt;&lt;br /&gt;The numbered directories (more on them later) correspond to each running process; a special self symlink points to the current process. Some virtual files provide hardware information, such as /proc/cpuinfo, /proc/meminfo, and /proc/interrupts. Others give file-related info, such as /proc/filesystems or /proc/partitions. The files under /proc/sys are related to kernel configuration parameters, as we'll see.&lt;br /&gt;&lt;br /&gt;The cat /proc/meminfo command might bring up something like this:&lt;br /&gt;# cat /proc/meminfo&lt;br /&gt;MemTotal:       483488 kB&lt;br /&gt;MemFree:          9348 kB&lt;br /&gt;Buffers:          6796 kB&lt;br /&gt;Cached:         168292 kB&lt;br /&gt;...several lines snipped...&lt;br /&gt;&lt;br /&gt;If you try the top or free commands, you might recognize some of these numbers. In fact, several well-known utilities access the /proc directory to get their information. For example, if you want to know what kernel you're running, you might try uname -srv, or go to the source and type cat /proc/version. Some other interesting files include:&lt;br /&gt;/proc/apm: Provides information on Advanced Power Management, if it's installed.&lt;br /&gt;/proc/acpi: A similar directory that offers plenty of data on the more modern Advanced Configuration and Power Interface. For example, to see if your laptop is connected to the AC power, you can use cat /proc/acpi/ac_adapter/AC/state to get either "on line" or "off line."&lt;br /&gt;/proc/cmdline: Shows the parameters that were passed to the kernel at boot time. In my case, it contains root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHS2040_NLA5T3314DW3-part3 vga=0x317 resume=/dev/sda2 splash=silent PROFILE=QuintaWiFi, which tells me which partition is the root of the filesystem, which VGA mode to use, and more. The last parameter has to do with openSUSE's System Configuration Profile Management.&lt;br /&gt;/proc/cpuinfo: Provides data on the processor of your box. For example, in my laptop, cat /proc/cpuinfo gets me a listing that starts with:&lt;br /&gt;processor       : 0&lt;br /&gt;vendor_id       : AuthenticAMD&lt;br /&gt;cpu family      : 6&lt;br /&gt;model           : 8&lt;br /&gt;model name      : Mobile AMD Athlon(tm) XP 2200+&lt;br /&gt;stepping        : 1&lt;br /&gt;cpu MHz         : 927.549&lt;br /&gt;cache size      : 256 KB&lt;br /&gt;&lt;br /&gt;This shows that I have only one processor, numbered 0, of the 80686 family (the 6 in cpu family goes as the middle digit): an AMD Athlon XP, running at less than 1GHz.&lt;br /&gt;/proc/loadavg: A related file that shows the average load on the processor; its information includes CPU usage in the last minute, last five minutes, and last 10 minutes, as well as the number of currently running processes.&lt;br /&gt;/proc/stat: Also gives statistics, but goes back to the last boot.&lt;br /&gt;/proc/uptime: A short file that has only two numbers: how many seconds your box has been up, and how many seconds it has been idle.&lt;br /&gt;/proc/devices: Displays all currently configured and loaded character and block devices. /proc/ide and /proc/scsi provide data on IDE and SCSI devices.&lt;br /&gt;/proc/ioports: Shows you information about the regions used for I/O communication with those devices.&lt;br /&gt;/proc/dma: Shows the Direct Memory Access channels in use.&lt;br /&gt;/proc/filesystems: Shows which filesystem types are supported by your kernel. A portion of this file might look like this:&lt;br /&gt;nodev   sysfs&lt;br /&gt;nodev   rootfs&lt;br /&gt;nodev   bdev&lt;br /&gt;nodev   proc&lt;br /&gt;nodev   cpuset&lt;br /&gt;...some lines snipped...&lt;br /&gt;nodev   ramfs&lt;br /&gt;nodev   hugetlbfs&lt;br /&gt;nodev   mqueue&lt;br /&gt;   ext3&lt;br /&gt;nodev   usbfs&lt;br /&gt;   ext2&lt;br /&gt;nodev   autofs&lt;br /&gt;&lt;br /&gt;The first column shows whether the filesystem is mounted on a block device. In my case, I have partitions configured with ext2 and ext3 mounted.&lt;br /&gt;/proc/mounts: Shows all the mounts used by your machine (its output looks much like /etc/mtab). Similarly, /proc/partitions and /proc/swaps show all partitions and swap space.&lt;br /&gt;/proc/fs: If you're exporting filesystems with NFS, this directory has among its many subdirectories and files /proc/fs/nfsd/exports, which shows the file system that are being shared and their permissions.&lt;br /&gt;/proc/net: You can't beat this for network information. Describing each file in this directory would require too much space, but it includes /dev (each network device), several iptables (firewall) related files, net and socket statistics, wireless information, and more.&lt;br /&gt;&lt;br /&gt;There are also several RAM-related files. I've already mentioned /proc/meminfo, but you've also got /proc/iomem, which shows you how RAM memory is used in your box, and /proc/kcore, which represents the physical RAM of your box. Unlike most other virtual files, /proc/kcore shows a size that's equal to your RAM plus a small overhead. (Don't try to cat this file, because its contents are binary and will mess up your screen.) Finally, there are many hardware-related files and directories, such as /proc/interrupts and /proc/irq, /proc/pci (all PCI devices), /proc/bus, and so on, but they include very specific information, which most users won't need.&lt;br /&gt;What's in a process?&lt;br /&gt;&lt;br /&gt;As I said, the numerical named directories represent all running processes. When a process ends, its /proc directory disappears automatically. If you check any of these directories while they exist, you will find plenty of files, such as:&lt;br /&gt;attr             cpuset   fdinfo    mountstats  stat&lt;br /&gt;auxv             cwd      loginuid  oom_adj     statm&lt;br /&gt;clear_refs       environ  maps      oom_score   status&lt;br /&gt;cmdline          exe      mem       root        task&lt;br /&gt;coredump_filter  fd       mounts    smaps       wchan&lt;br /&gt;&lt;br /&gt;Let's take a look at the principal files:&lt;br /&gt;cmdline: Contains the command that started the process, with all its parameters.&lt;br /&gt;cwd: A symlink to the current working directory (CWD) for the process; exe links to the process executable, and root links to its root directory.&lt;br /&gt;environ: Shows all environment variables for the process.&lt;br /&gt;fd: Contains all file descriptors for a process, showing which files or devices it is using.&lt;br /&gt;maps, statm, and mem: Deal with the memory in use by the process.&lt;br /&gt;stat and status: Provide information about the status of the process, but the latter is far clearer than the former.&lt;br /&gt;&lt;br /&gt;These files provide several script programming challenges. For example, if you want to hunt for zombie processes, you could scan all numbered directories and check whether "(Z) Zombie" appears in the /status file. I once needed to check whether a certain program was running; I did a scan and looked at the /cmdline files instead, searching for the desired string. (You can also do this by working with the output of the ps command, but that's not the point here.) And if you want to program a better-looking top, all the needed information is right at your fingertips.&lt;br /&gt;Tweaking the system: /proc/sys&lt;br /&gt;&lt;br /&gt;/proc/sys not only provides information about the system, it also allows you to change kernel parameters on the fly, and enable or disable features. (Of course, this could prove harmful to your system -- consider yourself warned!)&lt;br /&gt;&lt;br /&gt;To determine whether you can configure a file or if it's just read-only, use ls -ld; if a file has the "W" attribute, it means you may use it to configure the kernel somehow. For example, ls -ld /proc/kernel/* starts like this:&lt;br /&gt;dr-xr-xr-x 0 root root 0 2008-01-26 00:49 pty&lt;br /&gt;dr-xr-xr-x 0 root root 0 2008-01-26 00:49 random&lt;br /&gt;-rw-r--r-- 1 root root 0 2008-01-26 00:49 acct&lt;br /&gt;-rw-r--r-- 1 root root 0 2008-01-26 00:49 acpi_video_flags&lt;br /&gt;-rw-r--r-- 1 root root 0 2008-01-26 00:49 audit_argv_kb&lt;br /&gt;-r--r--r-- 1 root root 0 2008-01-26 00:49 bootloader_type&lt;br /&gt;-rw------- 1 root root 0 2008-01-26 00:49 cad_pid&lt;br /&gt;-rw------- 1 root root 0 2008-01-26 00:49 cap-bound&lt;br /&gt;&lt;br /&gt;You can see that bootloader_type isn't meant to be changed, but other files are. To change a file, use something like echo 10 &gt;/proc/sys/vm/swappiness. This particular example would allow you to tune the virtual memory paging performance. By the way, these changes are only temporary, and their effects will disappear when you reboot your system; use sysctl and the /etc/sysctl.conf file to effect more permanent changes.&lt;br /&gt;&lt;br /&gt;Let's take a high-level look at the /proc/sys directories:&lt;br /&gt;debug: Has (surprise!) debugging information. This is good if you're into kernel development.&lt;br /&gt;dev: Provides parameters for specific devices on your system; for example, check the /dev/cdrom directory.&lt;br /&gt;fs: Offers data on every possible aspect of the filesystem.&lt;br /&gt;kernel: Lets you affect the kernel configuration and operation directly.&lt;br /&gt;net: Lets you control network-related matters. Be careful, because messing with this can make you lose connectivity!&lt;br /&gt;vm: Deals with the VM subsystem.&lt;br /&gt;Conclusion&lt;br /&gt;&lt;br /&gt;The /proc special directory provides full detailed information about the inner workings of Linux and lets you fine-tune many aspects of its configuration. If you spend some time learning all the possibilities of this directory, you'll be able to get a more perfect Linux box. And isn't that something we all want?&lt;br /&gt;Federico Kereki is an Uruguayan systems engineer with more than 20 years' experience developing systems, doing consulting work, and teaching at universities.&lt;br /&gt;&lt;br /&gt;Federico Kereki is an Uruguayan systems engineer with more than 20 years' experience developing systems, doing consulting work, and teaching at universities.&lt;br /&gt;&lt;br /&gt;This article content is taken from http://www.linux.com/feature/126718&lt;br /&gt;--------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-8153373056063331877?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/8153373056063331877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=8153373056063331877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8153373056063331877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8153373056063331877'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_8082.html' title='Linux File System 11 - proc directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-3047400788112950155</id><published>2008-09-19T23:32:00.001-07:00</published><updated>2008-09-20T03:16:12.544-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic opt'/><title type='text'>Linux File System 10 - opt directory</title><content type='html'>/opt - This directory contains all the software and add-on packages that&lt;br /&gt;are not part of the default installation. Generally you will find KDE and&lt;br /&gt;StarOffice here. Again, this directory is not used very often as it's&lt;br /&gt;mostly a standard in Unix installations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-3047400788112950155?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/3047400788112950155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=3047400788112950155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3047400788112950155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3047400788112950155'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_3371.html' title='Linux File System 10 - opt directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-2344498419054585808</id><published>2008-09-19T23:31:00.002-07:00</published><updated>2008-09-20T03:16:00.924-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic mnt'/><title type='text'>Linux File System 09 - mnt directory</title><content type='html'>/mnt - This is a generic mount point under which you mount your filesystems&lt;br /&gt;or devices. Mounting is the process by which you make a filesystem&lt;br /&gt;available to the system. After mounting your files will be accessible&lt;br /&gt;under the mount-point. This directory usually contains mount points or&lt;br /&gt;sub-directories where you mount your floppy and your CD. You can also&lt;br /&gt;create additional mount-points here if you want. There is no limitation to&lt;br /&gt;creating a mount-point anywhere on your system but convention says that&lt;br /&gt;you do not litter your file system with mount-points.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-2344498419054585808?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/2344498419054585808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=2344498419054585808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/2344498419054585808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/2344498419054585808'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_184.html' title='Linux File System 09 - mnt directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7917725687670274861</id><published>2008-09-19T23:31:00.001-07:00</published><updated>2008-09-20T03:15:52.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic lost+found'/><title type='text'>Linux File System 08 - lost_found directory</title><content type='html'>/lost+found - Linux should always go through a proper shutdown. Sometimes&lt;br /&gt;your system might crash or a power failure might take the machine down.&lt;br /&gt;Either way, at the next boot, a lengthy filesystem check using fsck will&lt;br /&gt;be done. Fsck will go through the system and try to recover any corrupt&lt;br /&gt;files that it finds. The result of this recovery operation will be placed&lt;br /&gt;in this directory. The files recovered are not likely to be complete or&lt;br /&gt;make much sense but there always is a chance that something worthwhile is&lt;br /&gt;recovered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7917725687670274861?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7917725687670274861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7917725687670274861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7917725687670274861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7917725687670274861'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_1919.html' title='Linux File System 08 - lost_found directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-8225307912884160074</id><published>2008-09-19T23:30:00.002-07:00</published><updated>2008-09-20T03:13:10.297-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic lib'/><title type='text'>Linux File System 07 - lib directory</title><content type='html'>/lib - This contains all the shared libraries that are required by system&lt;br /&gt;programs. Windows equivalent to a shared library would be a DLL file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-8225307912884160074?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/8225307912884160074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=8225307912884160074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8225307912884160074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8225307912884160074'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_8419.html' title='Linux File System 07 - lib directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-69634402003295224</id><published>2008-09-19T23:30:00.001-07:00</published><updated>2008-09-20T03:13:16.055-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic home'/><title type='text'>Linux File System 06 - home directory</title><content type='html'>/home - Linux is a multi-user environment so each user is also assigned a&lt;br /&gt;specific directory which is accessible only to them and the system&lt;br /&gt;administrator. These are the user home directories, which can be found&lt;br /&gt;under /home/username. This directory also contains the user specific&lt;br /&gt;settings for programs like IRC, X etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-69634402003295224?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/69634402003295224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=69634402003295224' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/69634402003295224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/69634402003295224'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_7036.html' title='Linux File System 06 - home directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-3804310496414846119</id><published>2008-09-19T23:29:00.002-07:00</published><updated>2008-09-20T03:12:57.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic etc'/><title type='text'>Linux File System 05 - etc directory</title><content type='html'>/etc - This directory contains all the configuration files for your system.&lt;br /&gt;Your lilo.conf file lies in this directory as does hosts, resolv.conf and&lt;br /&gt;fstab. Under this directory will be X11 sub-directory which contains the&lt;br /&gt;configuration files for X. More importantly, the /etc/rc.d directory&lt;br /&gt;contains the system startup scripts. This is a good directory to backup&lt;br /&gt;often. It will definitely save you a lot of re-configuration later if you&lt;br /&gt;re-install or lose your current installation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-3804310496414846119?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/3804310496414846119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=3804310496414846119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3804310496414846119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3804310496414846119'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_6465.html' title='Linux File System 05 - etc directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5575606186057311526</id><published>2008-09-19T23:29:00.001-07:00</published><updated>2008-09-20T03:13:33.711-07:00</updated><title type='text'>Linux File System 04 - dev directory</title><content type='html'>/dev - This is a very interesting directory that highlights one important&lt;br /&gt;characteristic of the Linux filesystem - everything is a file or a&lt;br /&gt;directory. Look through this directory and you should see hda1, hda2 etc,&lt;br /&gt;which represent the various partitions on the first master drive of the&lt;br /&gt;system. /dev/cdrom and /dev/fd0 represent your CDROM drive and your floppy&lt;br /&gt;drive. This may seem strange but it will make sense if you compare the&lt;br /&gt;characteristics of files to that of your hardware. Both can be read from&lt;br /&gt;and written to. Take /dev/dsp, for instance. This file represents your&lt;br /&gt;speaker device. So any data written to this file will be re-directed to&lt;br /&gt;your speaker. Try 'cat /etc/lilo.conf &gt; /dev/dsp' and you should hear some&lt;br /&gt;sound on the speaker. That's the sound of your lilo.conf file! Similarly,&lt;br /&gt;sending data to and reading from /dev/ttyS0 ( COM 1 ) will allow you to&lt;br /&gt;communicate with a device attached there - your modem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5575606186057311526?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5575606186057311526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5575606186057311526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5575606186057311526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5575606186057311526'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_7523.html' title='Linux File System 04 - dev directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-2752446819455676711</id><published>2008-09-19T23:28:00.000-07:00</published><updated>2008-09-20T03:13:49.739-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic boot'/><title type='text'>Linux File System 03 - boot directory</title><content type='html'>/boot - This directory contains the system.map file as well as the Linux&lt;br /&gt;kernel. Lilo places the boot sector backups in this directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-2752446819455676711?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/2752446819455676711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=2752446819455676711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/2752446819455676711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/2752446819455676711'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_4997.html' title='Linux File System 03 - boot directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-382761387636124871</id><published>2008-09-19T23:27:00.000-07:00</published><updated>2008-09-20T03:14:03.341-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic bin'/><title type='text'>Linux File System 02 - bin directory</title><content type='html'>/bin - In contrast to /sbin, the bin directory contains several useful&lt;br /&gt;commands that are used by both the system administrator as well as&lt;br /&gt;non-privileged users. This directory usually contains the shells like&lt;br /&gt;bash, csh etc. as well as much used commands like cp, mv, rm, cat, ls.&lt;br /&gt;There also is /usr/bin, which contains other user binaries. These binaries&lt;br /&gt;on the other hand are not essential for the user. The binaries in /bin&lt;br /&gt;however, a user cannot do without.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-382761387636124871?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/382761387636124871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=382761387636124871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/382761387636124871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/382761387636124871'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what_19.html' title='Linux File System 02 - bin directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-330118827964300489</id><published>2008-09-19T23:12:00.000-07:00</published><updated>2008-09-20T03:14:17.518-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux filesystem file system lpic sbin'/><title type='text'>Linux File System 01 - sbin directory</title><content type='html'>/sbin&lt;br /&gt;&lt;br /&gt;This directory contains all the binaries that are essential to the working of the system. These include system administration as well as maintenance and hardware configuration programs.&lt;br /&gt;&lt;br /&gt;You can find lilo, fdisk, init, ifconfig etc here. These are the essential programs that are required by all the users.&lt;br /&gt;&lt;br /&gt;Another directory that contains system binaries is&lt;br /&gt;&lt;br /&gt;/usr/sbin&lt;br /&gt;&lt;br /&gt;This directory contains other binaries of use to the system administrator. This is where you will find the network daemons for your system along with other binaries that only the system administrator has access to, but which are not required for system maintenance, repair etc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The /usr/sbin directory contains non-vital system utilities that are used after booting (i.e., starting the system) by the system administrator.&lt;br /&gt;&lt;br /&gt;This is in contrast to the /sbin directory, whose contents include vital system utilities that are necessary before the /usr directory has been mounted (i.e., attached logically to the main filesystem).&lt;br /&gt;&lt;br /&gt;A few of the more familiar programs in /usr/sbin are adduser, chroot, groupadd, kppp, kudzu, ping, setquota, traceroute, userdel and xcdroast.&lt;br /&gt;&lt;br /&gt;/usr/sbin also contains some daemons, which are programs that run silently in the background, rather than under the direct control of a user, waiting until they are activated by a particular event or condition. Among the daemons in /usr/sbin are crond, pppd, sshd and xinetd.&lt;br /&gt;&lt;br /&gt;/usr/sbin is a subdirectory of /usr, which is used to store many application programs. Another subdirectory of /usr, /usr/bin, contains programs that are not required for booting or repairing the system. The directory /usr/local/sbin is used for locally installed system administration programs.&lt;br /&gt;&lt;br /&gt;Because /usr/sbin's programs are not intended for running by ordinary users, it is not in the path (i.e., the set of directories that system searches to find commands) for such users, as is also the case with /sbin. This can easily be seen by using the echo command (which displays whatever follows it or its value) while logged in as an ordinary user to see the value of the $PATH variable (which contains the user's path), i.e.,&lt;br /&gt;&lt;br /&gt;   echo $PATH&lt;br /&gt;&lt;br /&gt;However, /usr/sbin is in the root user's (i.e., administrative account's) path, as can be seen by using the same command when logged in as the root user.&lt;br /&gt;&lt;br /&gt;As is the case with any directory, the contents of /usr/sbin can be viewed by using the ls command, i.e.,&lt;br /&gt;&lt;br /&gt;   ls /usr/sbin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-330118827964300489?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/330118827964300489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=330118827964300489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/330118827964300489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/330118827964300489'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/09/linux-file-system-explained-01-what.html' title='Linux File System 01 - sbin directory'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7663699796099308508</id><published>2008-08-28T06:19:00.000-07:00</published><updated>2008-08-28T06:20:22.704-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lpic exam 101 - objective 1'/><title type='text'>LPIC Exam 101 - Objective 1 -</title><content type='html'>This is objective 1 of lpic exam 101&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7663699796099308508?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7663699796099308508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7663699796099308508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7663699796099308508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7663699796099308508'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/08/lpic-exam-101-objective-1.html' title='LPIC Exam 101 - Objective 1 -'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-8251663408779889342</id><published>2008-08-27T03:35:00.001-07:00</published><updated>2008-08-27T03:40:24.430-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how to setup a path variable'/><title type='text'>Setting a path variable</title><content type='html'>You need to write the following line in the .profile_bash file for the particular user you want to set the path variable. This file is a hidden file and it is placed in the root folder of the user for example at /home/username directory where username is to be replaced by the name of the user&lt;br /&gt;&lt;br /&gt;export variable_name=path&lt;br /&gt;&lt;br /&gt;for example&lt;br /&gt;&lt;br /&gt;export DROOLS_PATH=/home/drools/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-8251663408779889342?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/8251663408779889342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=8251663408779889342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8251663408779889342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8251663408779889342'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/08/setting-path-variable.html' title='Setting a path variable'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-7040951193885622425</id><published>2008-08-27T03:12:00.000-07:00</published><updated>2008-08-27T03:13:05.682-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='display linux path'/><title type='text'>How Display your linux path?</title><content type='html'>You can display your linux path by writing down the following command&lt;br /&gt;&lt;br /&gt;echo $PATH&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-7040951193885622425?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/7040951193885622425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=7040951193885622425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7040951193885622425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/7040951193885622425'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/08/how-display-your-linux-path.html' title='How Display your linux path?'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-4522387508270843934</id><published>2008-08-27T03:03:00.000-07:00</published><updated>2008-08-27T03:04:39.812-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux users list'/><title type='text'>How to display the list of linux machine users</title><content type='html'>cat /etc/passwd will list down all of the users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-4522387508270843934?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/4522387508270843934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=4522387508270843934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/4522387508270843934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/4522387508270843934'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/08/how-to-display-list-of-linux-machine.html' title='How to display the list of linux machine users'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-4067350166431894425</id><published>2008-07-30T00:44:00.001-07:00</published><updated>2008-07-30T00:45:50.667-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux list processes all'/><title type='text'>How to list all of the processes on linux machine</title><content type='html'>You can use the following command to see all of the running linux processes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;shell&gt;ps -ax&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-4067350166431894425?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/4067350166431894425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=4067350166431894425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/4067350166431894425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/4067350166431894425'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/07/how-to-list-all-of-processes-on-linux.html' title='How to list all of the processes on linux machine'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-258931457578467813</id><published>2008-05-01T22:47:00.000-07:00</published><updated>2008-05-01T22:53:03.260-07:00</updated><title type='text'>Buy gadgets mobiles notebooks and computers on installments in Pakistan</title><content type='html'>Raffle Systems provides you the option to buy gadgets, computers and notebooks and mobiles on installments free of mark up or any other hidden charges. Vow this is a great offer and one must go for it. The following is a detailed link about them.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rafflesystems.com/"&gt;Raffle Systems&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The addresses are these&lt;br /&gt;&lt;br /&gt;LAHORE&lt;br /&gt;57-D-1, Gulberg III, Lahore - Pakistan. +92-42-5871201-02 +92-42-5873972&lt;br /&gt;&lt;br /&gt;2nd Floor, Suite No.45, Hafeez Center, Main Boulevard, Gulberg III, Lahore. +92-02-5715111, 5710363, 5710855 +92-42-5752237&lt;br /&gt;&lt;br /&gt;ISLAMABAD&lt;br /&gt;Block # 53, Mezaine 1, 2, 3 F6/G6, Fazl-e-Haq Raod,Near PIA Building, Blue Area, Islamabad. +92-51-2873973 +92-51-2873976&lt;br /&gt;&lt;br /&gt;KARACHI&lt;br /&gt;512 5th Floor, Business Avenue, PECHS Block 6, Main Shahra-e-Faisal, Karachi. +92-21-4392512-14 +92-21-4392517&lt;br /&gt;&lt;br /&gt;FAISALABAD&lt;br /&gt;Office # 13, 2nd Gallery, 2nd FloorRex City Plaza, Satiana Road, Faisalabd.&lt;br /&gt;+92-41-8532084-85&lt;br /&gt;+92-41-8532085&lt;br /&gt;&lt;br /&gt;Multan&lt;br /&gt;Office # 64, Ground Floor, Khan Plaza.Multan Cantt, Multan.&lt;br /&gt;+92-61-4580432&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-258931457578467813?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/258931457578467813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=258931457578467813' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/258931457578467813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/258931457578467813'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/05/buy-gadgets-mobiles-notebooks-and.html' title='Buy gadgets mobiles notebooks and computers on installments in Pakistan'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5573867052341372920</id><published>2008-05-01T22:28:00.000-07:00</published><updated>2008-05-01T22:29:35.204-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Britney Spears'/><category scheme='http://www.blogger.com/atom/ns#' term='Britney Spears Photos'/><category scheme='http://www.blogger.com/atom/ns#' term='Britney Spears in towel'/><title type='text'>Semi-Naked Spears Shocks Gym-Goers</title><content type='html'>Troubled star Britney Spears shocked fellow gym-goers in Los Angeles after wandering into the exercise room wearing nothing but a towel. (&lt;a href="http://www.dailymail.co.uk/pages/live/articles/showbiz/showbiznews.html?in_article_id=562750&amp;in_page_id=1773"&gt;Photos&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;The singer was working out at Bally's in Culver City on Monday and after she finished her routine, headed to the changing room to shower.&lt;br /&gt;&lt;br /&gt;But after getting undressed, the singer headed back to the gym to collect a water bottle and was photographed walking through the crowded room bare foot with only a skimpy white towel to protect her modesty.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5573867052341372920?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5573867052341372920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5573867052341372920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5573867052341372920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5573867052341372920'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/05/semi-naked-spears-shocks-gym-goers.html' title='Semi-Naked Spears Shocks Gym-Goers'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-6553166007624738271</id><published>2008-05-01T21:55:00.000-07:00</published><updated>2008-05-01T22:31:50.200-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shoaib scandal'/><category scheme='http://www.blogger.com/atom/ns#' term='shoaib in shahrukh team'/><category scheme='http://www.blogger.com/atom/ns#' term='shoaib discipline'/><category scheme='http://www.blogger.com/atom/ns#' term='shoaib akhtar'/><title type='text'>Shoaib Akhtar in trouble</title><content type='html'>Shoaib Akhtar was signed by Shahrukh Khan's team in Indian Premiere League. But Shoaib is trapped again for discipline. Shoaib is always not seen as a person following discipline. He is keen of doing extracricket activities. He was found in a club in recent times with girls in his arms. The achievements in cricket are small but distinguishable though. Have a look at his club photos below and also have a look at his videos where he smashes South African team and bowled Tendulker for the first time on a duck on first ball he faced. At one side sohaib is in trouble and on the other side Shahrukh is also in trouble, because Shahrukh team lacks the support of Shoaib's pace attack, so Shahrukh is quite active now a days to get Shoaib out of trouble that in turn takes himself out of trouble.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Shoaib Akhtar in Night Club&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://img132.imageshack.us/img132/6866/shoaibakhtar45bd.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px;" src="http://img132.imageshack.us/img132/6866/shoaibakhtar45bd.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://img141.imageshack.us/img141/2655/shoaibakhtar21tn.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px;" src="http://img141.imageshack.us/img141/2655/shoaibakhtar21tn.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Shoaib Akhtar destroying South African batting line&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/AudztMsAWHs&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/AudztMsAWHs&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Shoaib Akhtar dismissing Sachin on his first ball of the innings&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/CHCvQB8o4a8&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/CHCvQB8o4a8&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-6553166007624738271?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/6553166007624738271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=6553166007624738271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6553166007624738271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/6553166007624738271'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/05/shoaib-akhtar-in-trouble.html' title='Shoaib Akhtar in trouble'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-8556790542363827930</id><published>2008-05-01T07:15:00.000-07:00</published><updated>2008-05-01T12:20:12.089-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sms to telenor'/><category scheme='http://www.blogger.com/atom/ns#' term='sms to ufone'/><category scheme='http://www.blogger.com/atom/ns#' term='sms to mobilink'/><category scheme='http://www.blogger.com/atom/ns#' term='free sms'/><category scheme='http://www.blogger.com/atom/ns#' term='sms to paktel'/><category scheme='http://www.blogger.com/atom/ns#' term='sms pakistan'/><category scheme='http://www.blogger.com/atom/ns#' term='sms'/><category scheme='http://www.blogger.com/atom/ns#' term='sms to warid'/><title type='text'>Free SMS to any network in Pakistan</title><content type='html'>&lt;h3&gt;Paktel&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;sms, smspk, sms to pakistan, sms to paktel, sms to any network&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://orion.vectracom.net/webchat_paktel3/" WIDTH='410' HEIGHT='300' FRAMEBORDER='0' scrolling="no" name="I1"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Telenor&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;sms, smspk, sms to pakistan, sms to telenor, sms to any network&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe name="I2" src="http://203.215.160.178:8080/w2s/web2smschat.html" width="420" height="320" border="0" frameborder="0" scrolling="yes"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ufone&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;sms, smspk, sms to pakistan, sms to ufone, sms to any network&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;applet code='webchat.class' width='410' height='300'&gt;&lt;br /&gt;&lt;param name='img1' value='http://vega.vectracom.net/webchat/smschat_4.gif'&gt;&lt;br /&gt;&lt;param name='NICK' value='nickname'&gt;&lt;br /&gt;&lt;param name='sound-url' value='http://vega.vectracom.net/webchat/ding.au'&gt;&lt;br /&gt;&lt;param name='MESSAGE' value='Send your SMS to Ufone'&gt;&lt;br /&gt;&lt;param name='codeBase' value='http://vega.vectracom.net/webchat/'&gt;&lt;br /&gt;&lt;/applet&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Mobilink&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;sms, smspk, sms to pakistan, sms to mobilink, sms to any network&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://chat.mobilinksms.com/" WIDTH='400' HEIGHT='300' FRAMEBORDER='0' scrolling="yes" name="I4"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;!-- h3&gt;Warid&lt;/h3 --&gt;&lt;br /&gt;&lt;!-- p&gt;sms, smspk, sms to pakistan, sms to warid, sms to any network&lt;/p --&gt;&lt;br /&gt;&lt;!-- iframe src="http://www.waridsms.net" WIDTH="410" HEIGHT='390' FRAMEBORDER='0' name="I3" align="center" scrolling="yes"&gt;&lt;/iframe --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-8556790542363827930?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/8556790542363827930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=8556790542363827930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8556790542363827930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/8556790542363827930'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/05/free-sms-to-any-network-in-pakistan.html' title='Free SMS to any network in Pakistan'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-5341012542024002679</id><published>2008-04-30T00:32:00.000-07:00</published><updated>2008-04-30T03:21:22.197-07:00</updated><title type='text'>The X Window System - Post 1</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;X window System components&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol style="FONT-FAMILY: times new roman"&gt;&lt;li&gt;X Server&lt;/li&gt;&lt;li&gt;Window Manager&lt;/li&gt;&lt;li&gt;Desktop Environment&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;X Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The x server is responsible for Raw display, Character Placement, Pixel Placement etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Window Manager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The window manager is responsible for placing a border around raw graphic output and providing some basic controls on that border to control the graphical output from X Server. You can say that window manager provides the look and feel of your linux operating system.&lt;br /&gt;&lt;br /&gt;There are different window managers, a few among them are KWM, Rawfish, Ice window manager etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Desktop Environment&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Graphical utilities, Configuration programs etc fall under the desktop environments. Desktop environments provide these tools so that you can control your linux operating system using your mouse. A few examples of most used desktop environments are KDE, Gnome, CDE, etc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Installing and Configuring X Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can install or upgrade your own, from&lt;/span&gt;&lt;span style="font-family:webdings;"&gt; &lt;/span&gt;&lt;a style="FONT-FAMILY: times new roman" href="ftp://metalab.unc.edu/pub/Linux/X11/Xfree86-*"&gt;&lt;span style="font-family:arial;"&gt;ftp://metalab.unc.edu/pub/Linux/X11/Xfree86-*&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre style="FONT-FAMILY: times new roman"&gt;If you need to manually configure the X server, there are several&lt;br /&gt;possible methods:&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;ol&gt;&lt;li&gt;Try to use the XF86Setup program, which can help identify the correct X server and monitor timings for the video hardware.&lt;/li&gt;&lt;li&gt;Make sure that the X server has the correct options. If you log in as the superuser, you should be able to use X --probeonly to get a listing of the video card chipset, memory, and any special graphics features. Also, refer to the manual page for the X server. (E.g.; man X), and try running the X server and redirecting the standard error output to a file so you can determine, after you can view text on the screen again, what error messages the server is generating; e.g., X 2&gt;x.error.&lt;/li&gt;&lt;li&gt;With that information, you should be able to safely refer to one of the references provided by the Linux Documentation Project. ("Where can I get the HOWTO's and other documentation? ") There are several HOWTO's on the subject, including a HOWTO to calculate video timings manually if necessary. Also, the Installation and Getting Started guide has a chapter with a step-by-step guide to writing a XF86Config file.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Resources&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These are some good resources for X window system&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;http://www.linuxdevcenter.com/pub/a/linux/2005/08/25/whatisXwindow.html?page=1&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;The X window system video lectures on http://www.youtube.com/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 01)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/tvbAawBGmgE&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 02)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/1_ohGXycAz0&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 03)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/1_ohGXycAz0&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 04)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/hpeG06MXMsk&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 05)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/TG0OQ3xg5P8&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;An X Window System Tutorial (Part 06)&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/H8ZK_lqakSo&amp;amp;hl=" width="425" height="355" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-5341012542024002679?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/5341012542024002679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=5341012542024002679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5341012542024002679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/5341012542024002679'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/04/x-window-system-post-1.html' title='The X Window System - Post 1'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3361681370685691562.post-3155336748437704690</id><published>2008-04-29T01:41:00.001-07:00</published><updated>2008-04-29T01:41:37.107-07:00</updated><title type='text'>Getting Started</title><content type='html'>&lt;p&gt;LPIC certifications are divided into three levels&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;LPIC 1&lt;/li&gt;&lt;li&gt;LPIC 2&lt;/li&gt;&lt;li&gt;LPIC 3&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;The detailed objectives covered on these certifications are listed on the following link on the official LPIC website.&lt;br /&gt;&lt;br /&gt;http://www.lpi.org/en/lpi/english/certification/the_lpic_program&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LPIC 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;LPIC 1 is further divided into two papers. Exam 101 and Exam 102&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fees&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;LPIC 1 Exam 101 costs 155 USD and you can register for it through http://www.prometric.com/default.htm using your credit card.&lt;br /&gt;&lt;br /&gt;LPIC 1 Exam 102 also costs 155 USD and you can follow the same procedure for its registration.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resources&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some of very good resources for LPIC 1 certification are as follows&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.ibm.com/developerworks/linux/lpi/101.html [Free Resource]&lt;br /&gt;&lt;br /&gt;There are also some video trainings available for LPIC 1 certification. They are from&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;VTC - http://www.vtc.com/&lt;/li&gt;&lt;li&gt;CBT Nuggest - http://www.cbtnuggets.com/&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;These video lectures are not free. But they can be downloaded using P2P networks.&lt;br /&gt;&lt;br /&gt;There is also some exam engines available to simulate the LPIC exam tests. One beautiful exam engine is this&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Visual CertExam suite, you can find this at http://www.visualcertexam.com/&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;I myself is in the process of learning Linux and going to get LPIC certification in a short time. I will blog about my experience of that too. Anyone who wants to share his experience of LPIC certifications should comment on this blog, it will be helpful for anyone viewing this blog. Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3361681370685691562-3155336748437704690?l=linux-certification.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-certification.blogspot.com/feeds/3155336748437704690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3361681370685691562&amp;postID=3155336748437704690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3155336748437704690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3361681370685691562/posts/default/3155336748437704690'/><link rel='alternate' type='text/html' href='http://linux-certification.blogspot.com/2008/04/getting-started.html' title='Getting Started'/><author><name>Asif</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
