TIP 1:
All of these commands should work from your command prompt (regardless which shell you’re using). Just in case some folks were not aware, you MUST press enter to invoke the command
TIP 2:
For this summary, please note that the EX: stands for example and is not part of the command. Commands are denoted in courier type font.
TIP 3:
If you need help understanding what the options are, or how to use a command, try adding this to the end of your command: –help
For example, for better understanding of the df command’s options, type:
df –help
Open Terminal or shell You Can Use :-
Man :-This Command will Bring The Unix Manual & You can use it with Any Command Below.
EX :
man pwd :-You will see the Manual of pwd Command.
pwd :-it will show u which directory u r in currently (linke showthe path of the directory)
cd :-Used For Changing Directory.
Ex:-
cd /home/Puneet/projects.
cd .. :- Moves up One Directory.
cd ~ :- Take You Back to the Home Directory.
mkdir directoryname :-Create a Directory with the Name of DIrectory Name.
EX :-
mkdir puneet :Creates a Directory with The Name of Puneet.
rmdir directoryname :-Removes the Directiory (Directory should be empty before Removing)
EX :-
rmdir Puneet
ls :-lists FIles.
ls al :- You will see a huge Lists of Files Which You Can’t See With Only ls Command and a Lots of Details.
ls al|more :-Show One Screen Of FIle Name at a Time.
mount :-mount a drive to the Operating System.Sometimes Linux Doesnot see Floppy Until ,You Tell To it.
EX:-
mount /dev/floppy :Allows you to Use the Floppy Drive Which Has Direstory Name /dev/floppy.
cp filename /dev/floppy : Copy a File to the Floppy Disc.
df :-it is used to check the disc space.
logout :-it will log account the account of the System.
date :-it used to show the date.
finger :To see Who is On the System.
vi :-Open the vi editor.
emacs :-opens the Emacs Editor,.
gnome-calculator :-opens the gnome calculator
whereis :-Reports all the Known instances of a Command.
clear :-clear the terminal screen.
free :-display the amount of used and free system memory.
kill process_id :-is used for killing a running process
reboot:-is used for rebooting a system.
shutdown -r minutes :-
mail :-Launches a Simple Mail Clients that Permits recieving and Sending mails.
Shuts down the system after the specified number of minutes elapses (requires root privileges). The -r option causes the system to be rebooted once it has shut down.














