Pimp my prompt

Default style in bash prompt is boring and green colour is also old-fashioned, you can change the style of your bash prompt with a couple of lines.

Bash prompt styling with one line

The PS1 variable change the style of bash prompt, for instance you can set the style to your prompt by setting the variable as follows in your terminal:

export PS1="\[\e[31m\][\[\e[m\]\[\e[33m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]\[\e[31m\]]\[\e[m\]:\[\e[33;40m\]\w\[\e[m\]\[\e[40m\] \[\e[m\]\[\e[32;40m\]\\$\[\e[m\] "

Set the line above at the end of your .bashrc file available in your home directory to make the style permanent every time you login. Reload the configuration file by using:

source .bashrc

alt text

This is just an example with fits nicely with console's black background, but you can set your own bash prompt style by using this web:

https://robotmoon.com/bash-prompt-generator/

Enhancing output colours on listing files and folders

By default the cluster provides a light colour style for the ls output command, you can set a more colourful style by using this project:

https://github.com/trapd00r/LS_COLORS

To get the new colour style just clone the project inside your home directory:

git clone https://github.com/trapd00r/LS_COLORS.git

The add the following line at the end of your .bashrc file present in your hone directory:

source "$HOME/LS_COLORS/lscolors.sh"

Save file changes and reload the configuration file by using:

source .bashrc