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. :)



Why oh why would you want to mess up such a nice look command prompt into something so ugly :P
That being said, its a neat little hack that could throw people off.
Great tip
To really pull this off, install the Microsoft Restricted Fonts so you can set your terminal font to “FIXEDSYS”, and set the MOTD to include the Windows preamble from the version of your choice.
Why show a Windows Vista Command Prompt?
That’s not the same as a DOS Prompt. In soooooo many ways.
LOL, I thought DOS Users should make their dos look like shell not the opposite. Good way to trick your wintel friend though.
said NO NO NO to Micro$oft :P
This is pretty cool. I’d do it just to be weird.
You stole it from:
http://agafix.org/april-foul-windows-like-bash-prompt/
Baka~~~
I didn’t steal it. This is a very old bash trick, probably around even before you were born.