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
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.
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:
Open Terminal or shell You Can Use :-
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.
cd .. :- Moves up One Directory.
cd ~ :- Take You Back to the Home Directory.
mkdir directoryname :-Create a Directory with the Name of DIrectory Name.
mkdir puneet :Creates a Directory with The Name of Puneet.
rmdir directoryname :-Removes the Directiory (Directory should be empty before Removing)
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 /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,.
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 :-
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.