shell scripting - sgml/signature GitHub Wiki

Bash

Bash BNF

Environment Variables

  • export -n FOO to remove foo

Reset DNS

sudo mv /etc/resolv.conf /etc/resolv.conf-original
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo systemctl restart systemd-resolved

Escaping Strings

Globbing

Co-Process

msysgit Git Bash

https://danlimerick.wordpress.com/2011/07/11/git-for-windows-tip-setting-home-and-the-startup-directory/

http://blog.dbain.com/2012/02/using-msysgit-and-connect-on-windows-to.html

⚠️ **GitHub.com Fallback** ⚠️