© David Both 2018
David BothThe Linux Philosophy for SysAdminshttps://doi.org/10.1007/978-1-4842-3730-4_10

10. Always Use Shell Scripts

David Both1 
(1)
Raleigh, North Carolina, USA
 

When writing programs to automate – well, everything – always use shell scripts. Because shell scripts are stored in ASCII text format, they can be easily viewed and modified by humans just as easily as they can by computers. You can examine a shell program and see exactly what it does and whether there are any obvious errors in the syntax or logic. This is a powerful example of what it means to be open.

I know some developers tend to consider shell scripts something less than true programming. This marginalization of shell scripts and those who write them seems to be ...

Get The Linux Philosophy for SysAdmins: And Everyone Who Wants To Be One now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.