<?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:blogger='http://schemas.google.com/blogger/2008' 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-368694675947511747</id><updated>2024-09-08T02:55:00.093+05:30</updated><category term="0000 SOMETHING ABOUT EXAM"/><category term="0001 WELL COME IN THE WORLD OF OPEN SOURCE OPERATIONG SYSTEM"/><category term="0002 GETTING HELP FOR LINUX COMMANDS."/><category term="0003 SOME BASIC COMMANDS OF REDHAT LINUX"/><category term="Something about exam"/><title type='text'>RHCE Exam</title><subtitle type='html'>This blog is to help people all over the word to help to crack RHCE exam. &#xa;I hope hat this blog will prove itself one of the best study center for latest trends in RHEL....&#xa;Contribute your knwledge to this knowledge based blog.... &#xa;Send your articles, tips &amp; tricks, Questoins-Answers and many more  on my mail id to display on this blog.....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rhce-exam.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rhce-exam.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>NISHANT CHAWRE</name><uri>http://www.blogger.com/profile/03677287902589824921</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_F566EtTz1PE/SCVUF8F25pI/AAAAAAAAAAU/imj34GrDbrg/S220/Linux++logo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-368694675947511747.post-8139433636207966200</id><published>2009-05-09T21:19:00.012+05:30</published><updated>2009-05-12T12:48:53.788+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="0003 SOME BASIC COMMANDS OF REDHAT LINUX"/><title type='text'>0003 SOME BASIC COMMANDS OF REDHAT LINUX</title><content type='html'>Linux have large command pool. Still here are some linux command useful for beginners with small description. Being this is written for beigners he command listed here may have some more uses than explained in this post, for more information you can get the help of relative commands using &lt;span style=&quot;font-weight: bold;&quot;&gt;man&lt;/span&gt; or &lt;span style=&quot;font-weight: bold;&quot;&gt;info&lt;/span&gt; commands.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;TO CLEAR THE SCREEN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#clear&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;TO CHECK DIRECTORY LISTINGS OR CONTENTS OF DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#ls&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check long (detailed) directory listings&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#ls -l&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;total 112&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;drwxr-xr-x   2 root root  4096 2009-05-04 09:26 bin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;drwxr-xr-x   5 root root  4096 2009-04-15 11:46 boot&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;drwxr-xr-x  14 root root  4880 2009-05-09 19:49 dev&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;drwxr-xr-x 131 root root 12288 2009-05-09 21:10 etc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CREATIN NEW EMPTY FILE.                   &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#touch FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#touch my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Above command will create a new empty file called &quot;my_file.txt&quot; if it does not exist. If it exists already it will just change the time stamp of the existing file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CREATING A NEW FILE WITH SOME CONTENT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cat &gt; FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cat &gt; my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;after firing the command you have to enter the data in the file. After finishing entering the data in the file you have to press &lt;ctrl&gt;d to save the contents of  the file.&lt;br /&gt;&lt;br /&gt;&lt;/ctrl&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;READING THE CONTENT OF EXISTING FILE   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cat FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cat my_fiel.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After firing this command, contents of the &quot;my_file.txt&quot; will be displayed and controlls will be returned to command prompt. If the contets of the file is too long to read on single screen then you can use command as follws.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cat my_file.txt | less&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#less my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After firing the above command you can scrolle the output using up/down arrow keys. After finishing reading the file to quit you can press &quot;q&quot; to quit.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CREATING NEW DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To create the new directory the command is&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#mkdir NEW_DIR_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. say you need to create a directory named &quot;data&quot;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#mkdir data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To print a message for each created directory&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;# mkdir -v data        &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To create a new directory with user dedined permissions&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;# mkdir -m=MODE &lt;/span&gt;&lt;new_dir_name&gt;&lt;br /&gt;e.g.&lt;br /&gt;To create a directory say &quot;videos&quot; with user defined permissions &quot;777&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#mkdir -m=777 videos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/new_dir_name&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHANGING THE DIRECTORY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cd DIR_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;To enter in the directory say &quot;videos&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cd  videos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To exit from the directory i.e. to enter in parent directory&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cd ..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To switch to home directory immediately&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cd ~&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To switch to previous directory immediately&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cd -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;DELETING OR REMOVING EXISTING FILE OR DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To remove/delete the existing file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#rm FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. to remove a existing file say &quot;my_file.txt&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#rm my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To remove/delete existing directory&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#rm -rf &lt;/span&gt;&lt;dir_name&gt;&lt;br /&gt;e.g. say you want to remove a existing directory &quot;videos&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#rm -rf videos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/dir_name&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;COPING CONTENTS OF EXISTING FILE/DIRECTORY IN NEW FILE/DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To copy contents of file &quot;file1&quot; to file &quot;file2&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cp file1 file2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To copy all the contents of directory &quot;videos&quot; to directory &quot;vsongs&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cp -Rv videos vsongs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;RENAMING A FILE/DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To change the name of the file &quot;file1&quot; to new name &quot;file1&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#rename file file1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to change th name of the directory &quot;videos&quot; to &quot;video_song&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#mv video video_song&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHANGING THE PERMISSIONS OF FILE/DIRECTORY&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chmod MODE FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change the permissions of the file &quot;my_file.txt&quot; to 777&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chmod 777 mt_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To change permission of a directory named &quot;video&quot; with  its all subdirectories and files to new permissions say 446&lt;br /&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chmod -R 446 video&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHANGING THE USER OWNERSHIP OF THE FILE/DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&lt;br /&gt;#chown NEW_OWNER FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change owner of a file named &quot;my_file.txt&quot; to new owner (user) say &quot;denis&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chown dnis my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change owner of a directory named &quot;video&quot; to new owner (user) say &quot;denis&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chown dnis video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change owner of a directory named &quot;video&quot; with  its all subdirectories and files to new owner (user) say &quot;denis&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chown -R dnis video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHANGING THE GROUP OWNERSHIP OF THE FILE/DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;/i&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chgrp NEW_GROUP FILE_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change group group of a file named &quot;my_file.txt&quot; to new group say &quot;denis&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;# chgrp dnis my_file.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change  group of a directory named &quot;video&quot; to new group say &quot;denis&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chgrp dnis video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. To change  group of a directory named &quot;video&quot; with  its all subdirectories and files to new group say &quot;denis&quot;&lt;br /&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#chgrp -R dnis video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHECKING FILE SYSTEMS DISK USES       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;# df -h&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GETTING REPORT OF DISK USES.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#du -h&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GETTING CURRENT WORKING DIRECTORY.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CREATING A SYMBOLIC LINK&lt;/span&gt;&lt;br /&gt;To creates a symbolic link named symlink that points to the file test&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#ln -s FILE_NAME  SYMBOLIC_LINK_NAME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#ln -s test symlink&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Typing &quot;ls -i test symlink&quot; will show the two files are different with different inodes. Typing &quot;ls -l test symlink&quot; will show that.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GETTING WHICH USEERS ARE LOGGED IN.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#who&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;LOCATING BINARIES AND MANUAL PAGES FOR COMMANDS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To locate binaries and manual pages for the &quot;ls&quot; command.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#locate ls&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SHUTTING DOWN THE COMPUTER&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To shuts the system down to halt immediately.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#shutdown -h now&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To shut the system down immediately and the system reboots.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#shutdown -r now&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;To reboot the system in 10 minutes and send the message to all users.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#shutdown -r +10 &quot;Rebooting in 10 minutes&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To shut the system down and do a reboot at 1:00 in the afternoon.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#shutdown -r 13:00&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;LOGGING OUT FROM THE TERMINAL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#logout&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or press &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;CTRL+D&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHECKING/SETTING  DATE AND TIME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check date and time of the system&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#date&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;            &lt;p&gt;list the time and date in the below format:&lt;/p&gt;&lt;p class=&quot;tab&quot;&gt;DATE: 02/08/01&lt;br /&gt;              TIME:16:44:55&lt;/p&gt;#&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;date &#39;+DATE: %m/%d/%y%nTIME:%H:%M:%S&#39;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To sate date and time of the systm&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#date -s &quot;11/20/2003 12:48:00&quot; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SETTING ALIASES&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Alias allows you to have a small more               familiar command or name to execute a long string of commans.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#alias ALIAS_NAME  &#39;LONG_COMMAND&#39;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e.g. The follofing command will create a alias named &quot;shutt&quot; to command &quot;shutdown -r now&quot;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#alias shutt &#39;shutdown -r now&#39;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;TO DISPLAY THE ARCHITECTURE OF THE PROCESSOR &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#arch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CHECKING CALENDER ON COMMAND LINE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check calendar               for the current month and the             year.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cal&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check calendar               for the specific month and the             year say  December of 2000.&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cal 12 2000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To display prev/current/next month calender.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cal -3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To display a calendar for the current year.&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#cal -y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;DNS LOOKUP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To get IP of the hostname&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#dig www.gooogle.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To get hostname of the IP addresses&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;#dig -x 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://rhce-exam.blogspot.com/feeds/8139433636207966200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/368694675947511747/8139433636207966200?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/8139433636207966200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/8139433636207966200'/><link rel='alternate' type='text/html' href='http://rhce-exam.blogspot.com/2009/05/0003-some-basic-commands-of-redhat.html' title='0003 SOME BASIC COMMANDS OF REDHAT LINUX'/><author><name>NISHANT CHAWRE</name><uri>http://www.blogger.com/profile/03677287902589824921</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_F566EtTz1PE/SCVUF8F25pI/AAAAAAAAAAU/imj34GrDbrg/S220/Linux++logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-368694675947511747.post-1318486977331326844</id><published>2009-05-09T20:16:00.003+05:30</published><updated>2009-05-09T20:48:55.409+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="0002 GETTING HELP FOR LINUX COMMANDS."/><title type='text'>0002 GETTING HELP FOR LINUX COMMANDS.</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;In vast command world of linux, no one can know all the commands., or no one can remember all the options/switches available for all commands. So it is very important to learn how to get help for the commands available.&lt;br /&gt;Their are different ways of getting help in linux machines.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size:180%;&quot;&gt;G&lt;/span&gt;etting short and  fast help (for intermediate users) is adding &quot;-h&quot; or &quot;--help&quot; with command as follows&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#vim -h&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#ls --help&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt; &lt;span style=&quot;font-size:180%;&quot;&gt;D&lt;/span&gt;etailed information about any command is using a manual pages or info pages.&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Say if you want help of &quot;ls&quot; command&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#man ls&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#info ls&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 102);&quot;&gt;#pinfo ls&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rhce-exam.blogspot.com/feeds/1318486977331326844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/368694675947511747/1318486977331326844?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/1318486977331326844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/1318486977331326844'/><link rel='alternate' type='text/html' href='http://rhce-exam.blogspot.com/2009/05/0002-getting-help-for-linux-commands.html' title='0002 GETTING HELP FOR LINUX COMMANDS.'/><author><name>NISHANT CHAWRE</name><uri>http://www.blogger.com/profile/03677287902589824921</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_F566EtTz1PE/SCVUF8F25pI/AAAAAAAAAAU/imj34GrDbrg/S220/Linux++logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-368694675947511747.post-1519951250764542707</id><published>2008-05-10T14:28:00.006+05:30</published><updated>2009-05-09T21:15:20.025+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="0001 WELL COME IN THE WORLD OF OPEN SOURCE OPERATIONG SYSTEM"/><title type='text'>0001 Well come in the world of open source operating system.....</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Hi friends....&lt;/span&gt;&lt;br /&gt;This is NISHANT CHAWRE. I&#39;m working on this blog to power up the open source movement. Soon you&#39;ll start finding blogs on this blog site for preparation of RHCE exam. But being this is a huge task I&#39;ll need your help also to improve this blog site. I&#39;m requesting you to contribute in this movement by sending articles useful for RHCE certification , as well as latest trends and technologies in open source OS.&lt;br /&gt;You people can send me your articles on&lt;span style=&quot;font-size:130%;&quot;&gt; &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.blogger.com/nishant.chawre@gmial.com&quot;&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;nishant.chawre@gmail.com&lt;/span&gt;&lt;/a&gt; &lt;/span&gt;with &lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SUB&lt;/span&gt; as &quot; &lt;span style=&quot;color: rgb(204, 102, 204);&quot;&gt;Post for rhce-exam.blogspot.com&lt;/span&gt;&quot;&lt;/span&gt;. I&#39;ll defiantly put your articles on this blog with your name and information.&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rhce-exam.blogspot.com/feeds/1519951250764542707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/368694675947511747/1519951250764542707?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/1519951250764542707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/1519951250764542707'/><link rel='alternate' type='text/html' href='http://rhce-exam.blogspot.com/2008/05/well-come-in-world-of-open-source.html' title='0001 Well come in the world of open source operating system.....'/><author><name>NISHANT CHAWRE</name><uri>http://www.blogger.com/profile/03677287902589824921</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_F566EtTz1PE/SCVUF8F25pI/AAAAAAAAAAU/imj34GrDbrg/S220/Linux++logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-368694675947511747.post-4859419072633312757</id><published>2008-05-05T20:42:00.001+05:30</published><updated>2009-05-09T21:18:23.233+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="0000 SOMETHING ABOUT EXAM"/><category scheme="http://www.blogger.com/atom/ns#" term="Something about exam"/><title type='text'>0000 Something about exam</title><content type='html'>RHCE exam  have &lt;span style=&quot;font-weight: bold;&quot;&gt;three&lt;/span&gt; sections.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Section 1 : Qualifying section.&lt;/span&gt;&lt;br /&gt;       In this section you have to solve 4 compulsory question. In addition to 4 compulsory question you have to solve 6 questions. You must score at least 80/100 to be eligible for next phase in the exam that is RHCT and RHCE.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Section 2: RHCT section.&lt;/span&gt;&lt;br /&gt;      In this section you have to sole 10 questions to be RHCT. You have to score&lt;br /&gt;      at least 70/100&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Section 3: RHCE section&lt;/span&gt;&lt;br /&gt;      In this section you have to sole 10 questions to be RHCT. You have to score   at least 70/100</content><link rel='replies' type='application/atom+xml' href='http://rhce-exam.blogspot.com/feeds/4859419072633312757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/368694675947511747/4859419072633312757?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/4859419072633312757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/368694675947511747/posts/default/4859419072633312757'/><link rel='alternate' type='text/html' href='http://rhce-exam.blogspot.com/2008/09/something-about-exam.html' title='0000 Something about exam'/><author><name>NISHANT CHAWRE</name><uri>http://www.blogger.com/profile/03677287902589824921</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_F566EtTz1PE/SCVUF8F25pI/AAAAAAAAAAU/imj34GrDbrg/S220/Linux++logo.jpg'/></author><thr:total>0</thr:total></entry></feed>