Basic UNIX Knowledge for a DBA - II

Unix Directory Management Commands : 

     cd        : change directory 
     mkdir :  create a directory
     rmdir :  remove an empty directory
     rmdir -r : removing the directory and its files
     pwd   :  To view present working directory
    ln       :   Make links and symlinks to files and directories

KILL :  To kill a process 

   Example : #] kill process_id

Note : To know the process id use "ps" command to list all the processes details.

GREP : Searches for one or more pattern arguments. It does plain string, basic regular expression and extended regular expression searching.

   Example : #] grep -i "search_string"

DIFF : Identifies the differences between files.

   Example : #] diff file1 file2

Comments

Popular Posts