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

Answers were Sorted based on User's Feedback



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

Answer / amaresh_83

1>Interactive mood:--
As Shell scripting is working like as interpreter (not
likely compiler) in a interactive mood.
2> Less time:--
it will take less time than C or C++ or other file to process.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / 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

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

Answer / praveen tiwari

Shell script allows the user to perform his day-to-day
tasks sooner.Even a Shell Environment doesnt need a
graphical environment to write a script. So what happens is
it will be more easy for programmer to write shell scripts
on Command line environment , where it doesnt costs more
resources comparable to Graphical environment.

For example : Backup Scripts , Keeping Log files of system.
shell scripts makes you the task easier !!
And to automate the script in Linux we perform cron tasks.
Once cron has to be set. It performs operations automatically

Is This Answer Correct ?    2 Yes 1 No

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

Answer / jrgalaura

Another one would be to automate routinary/housekeeping
tasks especially those long commands we keep on typing
everyday or weekly - we could write all those series of
commands in a script and just run that script anytime we
need it instead of writing all those hard to memorize
commands all the time.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / sri

Can any one explain Automation using Shell script

Is This Answer Correct ?    1 Yes 1 No

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

Answer / nagireddyunix

Shell is command line interpreter, in shell script we can
write multiple commands to do particular task by executing
the shell script.
shell is used to set our environment.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Shell Script Interview Questions

Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

0 Answers  


Can we run shell script in windows?

0 Answers  


A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file.

2 Answers   Wipro,


What is shell company all about?

0 Answers  


Print the 10th line without using tail and head command.

0 Answers  






What is bash eval?

0 Answers  


When you login to a c shell, which script would be run first?

2 Answers  


How to set an array in linux?

0 Answers  


Where is bash history?

0 Answers  


What is an inode block?

0 Answers  


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

0 Answers   Cap Gemini,


How to find all the files modified in less than 3 days and save the record in a text file?

0 Answers  


Categories