Edit Your Terminal Prompt to Show More Info

Would you like to change your linux terminal prompt as above to show extra information such as

user[currentFolder]gitbranch

if so try this guide

edit ~/.bashrc

You can find above line in the file and edit as below

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nuwan Zen

Sometimes A software Engineer, sometimes a support engineer, sometimes a devops engineer, sometimes a cloud engineer :D That’s how the this life goes!