"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."
$ ps ef
Find process with the specific_name(For eg- process-name)
$ ps ef | grep process-name
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.
$ ps ef
Find process with the specific_name(For eg- process-name)
$ ps ef | grep process-name
No comments:
Post a Comment