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

How do scripts work?

596


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

5178


What is shell and terminal?

562


I want to connect to a remote server and execute some commands, how can I achieve this?

564


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

552






How to set an array in linux?

575


What does $@ mean bash?

657


how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com

2094


What is the conditional statement in shell scripting?

644


What exactly is a shell?

588


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

3578


Suppose you execute a command using exec, what will be the status of your current process in the shell?

564


How do I edit a .sh file?

607


Is powershell a language?

549


What are the two files of crontab command?

641