In this tutorial you will learn how to prompt with color in Bash on Ubuntu Server.
Code used during this tutorial:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Bash prompt with color on Ubuntu Server ssh ubuntu-vm # Backup file cp ~/.bashrc ~/.bashrc-backup vi ~/.bashrc force_color_prompt=yes # Restore backup mv ~/.bashrc-backup .bashrc # Changes to .bashrc are user specific su liviu.balan # Useful links https://help.ubuntu.com/community/CustomizingBashPrompt |
Useful links:
https://help.ubuntu.com/community/CustomizingBashPrompt