Thursday, 28 July 2011

Shell Script :


"Shell Script is series of command written in plain text file. Shell script is just like batch file is MS-DOS but have more power than the MS-DOS batch file."

Use of Shell Script

  • Shell script can take input from user, file and output them on screen.
  • Useful to create our own commands.
  • Save lots of time.
  • To automate some task of day today life.
We may find all running process by using:-
        $ ps ef
                                         
Find process with the specific_name(For eg- process-name)
       $ ps ef | grep process-name

    No comments:

    Post a Comment