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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is shell scripting easy to learn?

755


What is meant by dos operating system?

793


Explain about sourcing commands?

816


What is path variable bash?

742


How to print the first array element?

775


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

1874


What is basename in shell script?

789


Why is it called a shell?

684


What language is bash written in?

755


What is the syntax of while loop in shell scripting?

776


What is the command to find out users on the system?

744


How do I run a script from command prompt?

750


What does path stand for?

813


What are "c" and "b" permission fields of a file?

754


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3401