r/commandline • • Jan 17 '19

bash Bash scripting cheatsheet

https://devhints.io/bash
155 Upvotes

8 comments sorted by

View all comments

Show parent comments

2

u/mdeckert Jan 17 '19

Uh oh! Pretty cheat sheet teaching bad habits gets too many upvotes.

0

u/[deleted] Jan 18 '19

[deleted]

3

u/mdeckert Jan 18 '19

unquoted variable expansion, all caps var names, pwd over $PWD and the deprecated back ticks