Study the file carefully, and feel free to reuse code snippets and functions from it in your own .bashrc file or even in your scripts. Example Sample .bashrc file: #
Tag: bash
Make a Bash Script Executable
Posted by disu1950 Bash scripts can be used to automate bash shell commands, they have the extention .sh.
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