Basic bash customization
Bash is my favorite shell when it comes to servers administration. I usually configure bash with some tweaks to make my life easier, the following lines can be placed on your ~/.bash_profile
or ~/.bashrc
:
Everything seems pretty easy, doesn’t it? Well, I’ll explain a little bit about the PATH
setup:
export PATH="$PATH:$HOME/bin"
This will add ~/bin
to your PATH
so you can place there any script or binary file and execute/use it from anywhere.
If you want to learn more, go ahead and take a look at the Bash Beginners Guide.