Posted by disu1950 Bash scripts can be used to automate bash shell commands, they have the extention .sh.
Tag: bash
MAKE UR OWN PROMPT
Custom Bash Prompt This is an interactive tool to aid in setting a custom (and colorful) bash command prompt.
Bash /dev/null equivalent of Win CMD NUL
dev/null => NUL 2>&1 Redirect all output to /dev/null on Windows Command
#!shebang for Bash Script
Make a Bash Script Executable Bash scripts can be used to automate bash shell commands, they have the extention .sh. I personally use these to do some repetitive tasks like deploying a new post to this site.
BASH PROMPT VARIABLES
Bash prompt variables These are the variable substitutions used above. \u user \h hostname \w ~/path/to/directory