some basic commands on linux


ls
 - to list files and sub directories in given directory


grep -used to search for a string in given file. grep means global regular expression print

vi - used to edit the files. to know more abt the vi editor click here http://www.cs.rit.edu/~cslab/vi.html

ps - ps is the shortage for Process Status. The command should be used to display the currently running processes on Unix/Linux systems.

top - To find out  programs CPU time and its memory.

shutdown - to shutdown your system.

du- displays the space taken by files

cat - displays the content of files. example: cat file1

find - Finds one or more files assuming that you know their approximate filenames .
example: find /home -type f -print . this will print all the files from /home dir to down all the levels.

jobs - jobs running in back ground

No comments: