How to make the Bash command prompt more useful
Was on a Linux box today and I found the command prompt rather useless. It looked like this:
I know I'm using bash, and I don't really care about the version. Or that I'm using bash actually... But anyways, to make it more useful you can run this:
You will then get a prompt which contains your username, hostname and current working directory. Much more useful in my opinion. If you have a different opinion, please share 🙂
You can find more stuff to put in your prompt by reading the prompting section of the bash man page.