✂️ Unix

Small information nuggets and recipies about Unix

February 28, 2019 · 11 min · 2180 words

📋 Template for interactive bash scripts

My template for when I need to do bash scripts with both a “human” and a “machine” interface: Template for interactive bash scripts: supports command line options with values prompts for any missing parameters/arguments https://gist.github.com/hugocf/8147608 Update 2016-06-02: Moved to repo @hugocf/scripts

December 27, 2013 · 1 min · 41 words

📜 How many bugs and wasted CPU cycles and instances of human frustration

How many bugs and wasted CPU cycles and instances of human frustration (not to mention bad design) have resulted from that one small shortcut about 40 years ago? Keep that in mind next time you want to cut a corner in your code. Rob Pike (via A lesson in shortcuts. Long ago, as the design of the Unix… )

December 11, 2013 · 1 min · 59 words

🔗 explainshell.com – match command-line arguments to their help text

explainshell.com – match command-line arguments to their help text write down a command-line to see the help text that matches each argument

December 5, 2013 · 1 min · 22 words