Monday, 21 November 2011

Terminal simple command and its usage

This entry will guide you some simple activity using terminal.





you see '~' sign there,it means that the terminal now is on the home directory.To check where your terminal direct to,simply type 'pwd' on the the terminal.




okay.now i will list all about the command for file managing.
cd ->used to change the direction.example "cd ~/Pictures/".Now terminal will be directed on the picture folder.
ls->used to list file on particular directory.
-l ->addition for long version.example "ls -l" and it will show all the file and its detail in the particular directory.
mkdir ->used to make folder.simply type "mkdir (folder name)".For creating on which directory you want,make sure the terminal is directed first(cd).
touch ->used to create empty document. type "touch (document name).(format you want).i prefer .txt because it can be edit back using gedit later on.
rm ->is used to remove file.simply type "rm (file name)".
cp->used to copy file.since "cp" can be used with much way,simply type "cp --help" to see all possibilities.in simple way.you can try like this."cp ~/(directory)/(your file)  ~/(directory)/(your destination)/
mv->used to move file.same way with "cp"
ln->used to create shortcut.ln --help to see how this command works.


         okay. I think thats all for file managing process via terminal. Next entry i will share to all of you how to run,see, and kill the process using terminal. see ya! :) 

------addition------
by pressing double tab (tab,tab) on the terminal,it will show you all the possibilities command.try it.:)



   

No comments:

Post a Comment