Monday, April 4, 2011

Basic Linux commands

man [command] : manual for every available command.
    eg: man mkdir display the detail manual about mkdir command.
    Enter q to exit from manual page.
cd : to change current directory.
cp : copy files and directories from one location to another
rm : delete files and directories
mv : move files and directories to another location.
grep: search and find contents of a file within terminal.
cat: display the contents of the file on terminal.
pwd: display current working directory
ls: list the content of files and directories of current directory
top: display processor activity in real time
ps: display process status
kill: terminate process
df -h: display the current partition of your hard drive including size of partiton.

No comments:

Post a Comment