Make a look-alike bash prompt for Linux by adding this line of text to the end of your /home/username/.bashrc file…
PS1=”\n\[\[\e[0m\]\[\e[35m\]Command [\[\e[33;1m\]TL=\T\[\[\e[0m\]\[\e[35m\]]:[\[\e[36;1m\]\!\[\e[0m\]\[\e[35m\]] (\[\e[33;1m\]\w\[\e[0m\]\[\e[35m\])? : \[\e[37;1m\]”
Save, logout and then log back in. Tada. Your prompt now looks like this…
Here is what the prompt contains…
Command [TL=<TIME>]:[<COMMAND HISTORY #>] (<CURRENT DIRECTORY>)? :
It’s actually useful. You’re welcome.
No User Responded In This Post