devnall + shell   41

How "Exit Traps" Can Make Your Bash Scripts Way More Robust And Reliable
The secret sauce is a pseudo-signal provided by bash, called EXIT, that you can trap; commands or functions trapped on it will execute when the script exits for any reason.
bash  programming  scripting  shell  sysadmin 
december 2017 by devnall
LSCOLORS Generator
Generate color code for bash LSCOLORS environment variable.
shell  terminal  color  bash  linux  bsd  cli 
july 2012 by devnall

Copy this bookmark: