Why we are writting shell scripts?
Plz if possible explain it briefly.

Answer Posted / ashok

Shell is a command interpeter. If we want to run multiple
commands at a time through a script file then it is called
shell scripts.

Generally we will write these to set certain environmental
variables in unix and run some other programs.

The shell scripts utility programs to perform certain tasks
in unix environment.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue commands?

579


Why is a script important?

567


What makes c shell a more preferable option than the bourne shell?

546


Explain about the exit command?

572


How to print all the arguments provided to the script?

559






What is sed in shell script?

575


What is a command line shell?

569


I have 2 files and I want to print the records which are common to both.

706


How can I set the default rwx permission to all users on every file which is created in the current shell?

914


How to get script name inside a script?

559


Is powershell a language?

572


What is the use of echo in shell script?

547


Is powershell a bash?

594


Is shell script a programming language?

574


What are the default permissions of a file when it is created?

501