
UNIX Shell programming
by Stephen G. Kochan · first published 1985
6mentions
4recommended by
5HN commenters
2014–2023first – last mentioned
80% recommend20% neutral
Unix Shell Programming is a tutorial aimed at helping Unix and Linux users get optimal performance out of their operating out of their operating system. It shows them how to take control of their systems and work efficiently by harnessing the power of the shell to solve common problems. The reader learns everything he or she needs to know to customize the way a Unix system responds. The vast majority of Unix users utilize the Korn shell or some variant of the Bourne shell, such as bash. Three are covered in the third edition of Unix Shell Programming. It begins with a generalized tutorial of U
Affiliate links. As an Amazon Associate I earn from qualifying purchases.





FYI, Perl not PERL. Perl -> Programming Perl & Perl Cookbook. Unsure how relevant these still are as "Modern Perl" is the big paradigm now. Shell -> UNIX Shell Programming by Stephen Kochan. I got around in shell before this, but his book make me effective and competent.
on “Ask HN: How did you learn Perl/Shell Scripting?” ↗…Administration Handbook: https://www.amazon.com/UNIX-Linux-System-Administration-Hand... The Linux Command Line and Shell Scripting Bible: https://www.amazon.com/Linux-Command-Shell-Scripting-Bible/d... UNIX Shell Programming: https://www.amazon.com/Unix-Shell-Programming-Stephen-Kochan... BASH Hackers Wiki: https://wiki.bash-hackers.org/ TLDP Advanced BASH Scripting Guide: https://tldp.org/LDP/abs/html/ The Debian Administrator's…
on “My £4 a month server can handle 4.2M requests a day” ↗Pick up a copy of UNIX Shell Programming by Stephen Kochan. Very approachable and lots of good practical examples. Augment it with 'man bash' and Googling.
on “Ask HN: How can I get better at bash?” ↗I'll call out another book for being a great piece of technical writing: Unix Shell Programming[0]. It similarly follows the structure of introduction, complete description (if not full-depth out of necessity), intermediate, and advanced techniques, and some reference material. The running example…
on “Technical Writing: Learning from Kernighan” ↗…gave incomplete info for above, after googling: https://www.amazon.in/Sql-Professionals-Swapna-Kishore/dp/00... https://www.amazon.in/Object-Primer-Agile-Model-Driven-Devel... https://www.amazon.in/Unix-Shell-Programming-Stephen-Kochan/... https://www.amazon.in/Designing-Object-Oriented-Software-Reb... https://www.amazon.in/Object-Oriented-Analysis-Applications-...
on “Ask HN: What are the most eye-opening textbooks you have ever read?” ↗>Kids today no longer know the shell. Sounds like Kochan and Wood[0] need some love (and royalties). Or is learning stuff deprecated these days? [0] https://www.amazon.com/Unix-Shell-Programming-Stephen-Kochan...
on “Use long flags when scripting (2013)” ↗