Scripting basics:
1.Shell Scripts are text file.It should be all commands are executed
Because the shell scripts is do for automatically process and daily repeated for command line:
1. performing system administration and trouble shooting .
2. creating the simple applications.
3.Manipulate the text or files.
4. Automating commonly used command lines.
The prompt can vary every time displayed and using the
Some common escape sequences:
1. \u = user name = (if you have multiple accounts).
2.\w = Current working directory
3. \h = Host name( not fully qualified with domain name)
4.\$ = if you are non- privileged user . # = if you are privileged user. sometimes if you are
become an super user also
5. \! The history number of the current command also.
1.Shell Scripts are text file.It should be all commands are executed
Because the shell scripts is do for automatically process and daily repeated for command line:
1. performing system administration and trouble shooting .
2. creating the simple applications.
3.Manipulate the text or files.
4. Automating commonly used command lines.
The prompt can vary every time displayed and using the
Some common escape sequences:
1. \u = user name = (if you have multiple accounts).
2.\w = Current working directory
3. \h = Host name( not fully qualified with domain name)
4.\$ = if you are non- privileged user . # = if you are privileged user. sometimes if you are
become an super user also
5. \! The history number of the current command also.
No comments:
Post a Comment