JP Vossen via plug on 17 Apr 2022 10:32:36 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] A list of new(ish) command line tools |
On 4/16/22 17:29, Martin Cracauer via plug wrote:
Eric Riese via plug wrote on Tue, Apr 12, 2022 at 10:38:37PM -0400:https://jvns.ca/blog/2022/04/12/a-list-of-new-ish--command-line-tools/ Lots of really nifty stuff.For me, these lists miss one important one: learn bourne shell syntax well (aka sh and bash). Once you get past the quoting messes (can preserve strings with spaces in them), get a hang on subprocesses and use advanced forms of variable expansion/text manipulation well you have a very powerful tool at your hands. Just combining find with good shellscripting is a fine example. But script are fragile until you have the hang on the above. And it really helps with Linux in general, for example sorting out startup scripts, package build instructions and the like.
That's a good point, and I can't not take that opening. First, I agree with the points above, especially quoting. I know how that works and I still mess it up all the time and have to experiment. Second, warning: some self-promotion, but topical. :-) If you like learning from books: * Beginner: _Learning the bash Shell, Third edition_ (2005) * Cookbook: _bash Cookbook, Second Edition_ (2017), which I co-wrote * Intermediate/advanced: _bash Idioms_ (2022-03), which I co-wrote There's also a huge amount on the web, starting with a list at: * http://www.bashcookbook.com/bashinfo ** I think the http://www.tldp.org/LDP/ material is particularly good Later, JP -- ------------------------------------------------------------------- JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/ ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug