Make Your Bash Prompt Look like Dos Prompt
Here is a cool trick to make your bash prompt look like a dos prompt. Why would you do it? You shouldn’t; unless you have something for dos prompts. But you could always do this to fool your coworkers or friends and give them a moment of, “WTF”? (I know I will)
Add this line to your .bashrc: PS1=’C:${PWD//\//\\\}>’
This basically changes the format of your prompt, to look like a dos prompt. Here is a side-by-side comparison of Bash and Dos prompt:
You can add to your friend’s misery (assuming he is using gnome), by customizing it to look like vista.
If you liked this article, please share it on del.icio.us, StumbleUpon or Digg. I’d appreciate it. :)
iEntry 10th Anniversary
LinuxHaxor
WH
MH