O'Reilly logo

Beginning Modern Unix : Learn to Live Comfortably in a Modern Unix Environment by Manish Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Manish Jain 2018
Manish JainBeginning Modern Unix https://doi.org/10.1007/978-1-4842-3528-7_3

3. Bourne Shell Scripting

Manish Jain1 
(1)
Jaipur, Rajasthan, India
 

If you are the kind of person who never needs to do the same thing ever again, shell scripting is not for you. Others can greatly benefit, though, by grouping commands into plain text files called shell scripts.

Although it is entirely legit to type individual commands directly into the command line, putting them inside a file (then termed a script) perks up life at the shell in two ways: a) reusability of a large number of commands in one stroke, and b) reduced chances of operational error afforded by the file’s readability. This chapter hence introduces one of the fascinations of working ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required