Discover and share the best of the web!
Learn more about Digg by taking the tour.
Make Your Bash Prompt Look like Dos Prompt
linuxhaxor.net — Change bash prompt to trick someone.
- 598 diggs
- digg it
- juliohm, on 07/19/2008, -26/+7Why in the world would you want to do that? That's the kind of people who have Ubuntu installed via Wubi, messing around with useless GUI settings to make Linux feel more like what they're used to.
Just go back to Windows already.- neopherine, on 07/19/2008, -1/+18RTFA
- str8lazy, on 07/19/2008, -12/+7That is kinda cool... I mean it is better than mashing ls or any other command if you forget where you are...
- jokr004, on 07/19/2008, -0/+12pwd would be better than ls, besides, most default .bashrc files tell you where you are in the prompt
- linuxpenguin, on 07/20/2008, -0/+2Huh?
All the distros I've seen show you what directory you're in by default. . . I suppose you could change that, but why?
- franks1r7, on 07/19/2008, -28/+4what a pile of crap spam.
- cathypear, on 07/19/2008, -1/+28You are a ***** dickwad. Your last 23 comments:http://digg.com/users/franks1r7/history/comments
so stupid
when did digg become spam paradise. who is digging this crap?
stupid
what a pile of crap spam.
this is spam.
tupperwear spam.
so spammer.
what is with all the sale spam on digg.
if this isn't spam, I will eat my hat.- pault107, on 07/20/2008, -1/+1Yep, he truely believes all submissions are spam:
http://zuubu.pcriot.com/?username=franks1r7&select ...
- pault107, on 07/20/2008, -1/+1Yep, he truely believes all submissions are spam:
- cathypear, on 07/19/2008, -1/+28You are a ***** dickwad. Your last 23 comments:http://digg.com/users/franks1r7/history/comments
- netgeek06, on 07/19/2008, -2/+47Bash is smarter than Dos
- trghpy, on 07/20/2008, -8/+1cuz its not like you can't change the dos prompt...
Oh wait you can.- nmnnotmyname, on 07/20/2008, -1/+11And yet Bash is like 9000 times better... Let's not count all of the awesome features it has aside from changing the prompt.
DOS and CMD.exe are HORRIBLE. DREADFUL. Any other negative word - Compared to BASH. If you think else, you've never used BASH. and also - Bash Scripts > Batch Scripts x 1000... - nmnnotmyname, on 07/20/2008, -0/+2I can't believe i said 9000 times.
I didn't even mean to do that...
- nmnnotmyname, on 07/20/2008, -1/+11And yet Bash is like 9000 times better... Let's not count all of the awesome features it has aside from changing the prompt.
- falafelkiosken, on 07/20/2008, -1/+2zsh > bash
- MattBD, on 07/20/2008, -0/+8Maybe, but any Unix shell > DOS
- TGMD, on 07/20/2008, -7/+3Yeah and the Powershell is smarter than anything else....
- nmnnotmyname, on 07/20/2008, -0/+4Nothing says power like .NET bloat.
- TheOther1, on 07/20/2008, -0/+2Bash cures cancer
http://bashcurescancer.com/ - TehDoctor, on 07/20/2008, -0/+6@TGMD
*****. The powershell doesn't talk in plain text, rendering it useless. I'm not going to hook some garbage API into my program to deal with "cmdlets." What a joke.
- trghpy, on 07/20/2008, -8/+1cuz its not like you can't change the dos prompt...
- MistaMatt90, on 07/19/2008, -6/+107Why....?
- nnagflar, on 07/20/2008, -1/+12To trick someone, kinda like it says above.
- mroberts, on 07/20/2008, -0/+2The directory hierarchy in the prompt should be a clue that they're not using DOS or CMD.COM.
- Herzasche, on 07/20/2008, -0/+5i was about to ask that then i read the dicription
- xsquirrel378x, on 07/20/2008, -2/+1Who knows? tcsh is much nicer ^_^
- benzoenator, on 07/20/2008, -0/+1 I saw this article in my RSS feed and was going to reply with exactly the same comment. Totally beaten.
- bubba9999, on 07/20/2008, -0/+6Very, very few people these days know what the DOS prompt looks like to begin with. This is about 15 years too late.
- mswallace, on 07/20/2008, -0/+1My thoughts exactly.
- nnagflar, on 07/20/2008, -1/+12To trick someone, kinda like it says above.
- richbradshaw, on 07/19/2008, -9/+29echo "I wish you could just install DOS in linux. ls? why not just use dir! One extra letter makes all the difference. Pipes? Who needs them - pipes are the most useless thing ever. Grep? Christ, who needs regular expressions when you can use find and replace in Word. ssh? We already have telnet, and that's all we need." > /dev/sarcasm
- ktxxx, on 07/19/2008, -5/+11echo "All of what you just said" > /dev/null
- mem2, on 07/20/2008, -2/+16"ls? why not just use dir!"
nearly all modern linux distros alias or symlink ls to dir
"Pipes? Who needs them"
DOS apparently
While I appreciate any jab @ the windows user fan base you should at least be correct, or were you intentionally imitating a very dumb windows user ? If so I apologize for my misconstruing of your sarcasm.- richbradshaw, on 07/21/2008, -0/+3That's ok, the sarcasm was fairly easy to misconstrue!
- nmnnotmyname, on 07/20/2008, -0/+4Yes, Win32 and DOS have Pipes, mem2, but they suck. Ass.
- mem2, on 07/24/2008, -0/+1win32 and dos ?, you mean the DOS shell which has been present in all win32 and win16 incarnations ?
Ive actually used pipes in DOS shells for different jobs (echo to printer etc) and while they may be more limited than the BASH equivalent I have never found it to be an issue myself (granted though DOS sucks for scripting).
- mem2, on 07/24/2008, -0/+1win32 and dos ?, you mean the DOS shell which has been present in all win32 and win16 incarnations ?
- fakeollie, on 07/20/2008, -0/+2tl;dr
bash: tl: command not found
bash: dr: command not found
- ktxxx, on 07/19/2008, -2/+17I was about to say "Oh dear god why?!" but then I read this... 'Why would you do it? You shouldn’t; unless you have something for dos prompts.'
- KhaaL, on 07/19/2008, -3/+18This could be used as a prank on a linux loving user. I'll be using this in time for aprils fool!
- arjie, on 07/19/2008, -1/+13You must be one sick bastard, you plan your pranks a year ahead. I wouldn't cross you, man.
- DoodleMaster, on 07/19/2008, -6/+5except his prank sucks...
- xShifty, on 07/20/2008, -0/+10This is only the first part of his plan. You see, his prank will make his friend think he's entered an alternate, parallel reality. Eventually it will be so elaborate that it will be the only April fool's joke that has ever made someone commit suicide. Don't ***** with this dude.
- MattBD, on 07/20/2008, -0/+1And you can easily skin Gnome or KDE to look like Windows as well. Wonder if anyone's ever done that to play a prank on RMS?
- xombiefarts, on 07/20/2008, -2/+1wouldn't you need root access?
- sexybobo, on 07/20/2008, -0/+2Microsoft Bob runs under wine. Just saying.
- Beacon, on 07/21/2008, -1/+1If they love linux, aren't the odds that this won't exactly... er... fool them?
- arjie, on 07/19/2008, -1/+13You must be one sick bastard, you plan your pranks a year ahead. I wouldn't cross you, man.
- diggdiggdug, on 07/19/2008, -11/+5Oh those poor unsuspecting windows wankers.
Linus would say shame on you for causing those poor pitiful windows users more headaches than they already have.- damian7, on 07/20/2008, -4/+7Oh those poor self-righteous Linux wankers
Linus would say shame on you for acting like a superior idiot, despite weighing 300 pounds and remaining a virgin for the rest of your life - nmnnotmyname, on 07/20/2008, -1/+4Let me guess.
You use Ubuntu.
- damian7, on 07/20/2008, -4/+7Oh those poor self-righteous Linux wankers
- Frozenball, on 07/19/2008, -5/+6Why anyone would want to?
- pedepy, on 07/19/2008, -3/+5retro ftw++
- falafelkiosken, on 07/20/2008, -0/+3since when is dos (CP/M) more retro than Unix?
- netneutrality, on 07/19/2008, -0/+6It's a computer cultural thing. Some people will never get why you'd want to do this. I do. Makes certain sense on Cygwin or MSYS too.
- r3negadeX, on 08/11/2008, -3/+29Why can't we bury as "Pointless"?
- IsmaelZ, on 07/20/2008, -0/+9"Ok, this is lame" ?
- colonelxc, on 07/20/2008, -1/+16I wanted to make my DOS prompt look like a bash prompt, so I installed linux
- str3ama, on 07/20/2008, -5/+5Dos has this timeless look to it, anyone who has ever had to use just DOS (no windows gui) would realize how versatile it really is. Bash Windows and Microsoft all you want, but DOS has it's charms.
- nmnnotmyname, on 07/20/2008, -2/+4lol...
I don't know whether your saying something good about DOS or not...
but Bash has overcome it by a long shot. People should know that CMD.exe sucks so that when they come to linux they won't expect the terminal to be that train wreck it is in Windows.- balatus84, on 07/20/2008, -0/+0Remember, he's talking about COMMAND.COM (The original, full-blown DOS Shell). CMD.exe is an abortion of a DOS shell to bring the C: prompt into Win32-land.
DOS 6.22 will forever have a space on my software shelf.
- balatus84, on 07/20/2008, -0/+0Remember, he's talking about COMMAND.COM (The original, full-blown DOS Shell). CMD.exe is an abortion of a DOS shell to bring the C: prompt into Win32-land.
- antdude, on 07/20/2008, -0/+2emm386.exe, himem.sys, format.com, etc. FTW!
- fuzzynyanko, on 07/20/2008, -0/+2The good old days of memmaker.exe
- nmnnotmyname, on 07/20/2008, -2/+4lol...
- Nickedynick, on 07/20/2008, -6/+0Why would you want to do this? Isn't one of the great things about Linux the fact that it's different to other OSs? The trick argument doesn't really work - if I changed my bash to look like DOS everyone would just think it was DOS and make no comment or reaction at all...
Also, used to use DOS loads back in the day and I don't see why anyone would want to emulate it's appearance like this. - DanAshcroft, on 07/20/2008, -1/+7Sweet zombie Jesus, why?
- nmnnotmyname, on 07/20/2008, -0/+1Zombie Jesus?...
I don't even know what to say to that.- falafelkiosken, on 07/20/2008, -1/+3http://www.explosm.net/comics/502/
- nmnnotmyname, on 07/20/2008, -0/+2Oh, I've heard that joke before.
Damn my memory.
- nmnnotmyname, on 07/20/2008, -0/+1Zombie Jesus?...
- bratterscain, on 07/20/2008, -2/+3"You can add to your friend’s misery (assuming he is using gnome), by customizing it to look like vista."
KDE is just as configurable. I used to have my Kubuntu desktop looking pretty much like Vista. - CATSCEO2, on 07/20/2008, -2/+6To everyone saying "Why?": READ THE ***** DESCRIPTION.
- tramblings, on 07/20/2008, -0/+1Hahah... I have to admit, I fit that category. Nope, I didn't read the description. The descriptions are usually completely pointless. It's enlightening in this case.
- oneredeye, on 07/20/2008, -1/+3I don't know anyone who would be "tricked" by that. Give me a hack that makes the DOS prompt look like bash and then I'll have some fun.
- waydee, on 07/20/2008, -0/+1http://www.steve.org.uk/Software/bash/
- LansingSterling, on 07/20/2008, -2/+4I'm compiling gnome in gentoo just to make it look like vista.
- rento, on 07/20/2008, -0/+6I know this is absurd... but it looks like kind of retro.
- redxii, on 07/20/2008, -3/+7Buried as inaccurate. That is not a DOS prompt, it's a Command prompt.
- aladrin, on 07/20/2008, -1/+2Obviously it's been a whlie since you've seen a DOS prompt, then. They look exactly the same.
- cantormath, on 07/20/2008, -3/+2GOD WHY?!
- DavidGX, on 07/20/2008, -1/+3Right.. because that's what I want from linux, for it to be MORE LIKE WINDOWS.
Buried. - joltjake, on 07/20/2008, -1/+3Well that was ***** useless. Coming up next: Make hardy heron look like Windows ME!
- cquilliam, on 07/20/2008, -0/+1Waiting for link....
- Daniel15, on 07/20/2008, -0/+1I want to see a tutorial on how to make Linux look like the "Hotdog Stand" theme from Windows 3.1, now that'd be awesome
http://www.codinghorror.com/blog/archives/000341.h ...
:P
- Nicoon, on 07/20/2008, -1/+2How the hell did this end up on the digg frontpage?
- rasde, on 07/20/2008, -2/+1bush bashing
- oshawapilot, on 07/20/2008, -0/+1Is it just me, or is anyone geeky enough to be using Bash (or DOS) not likely to be fooled by this to begin with?
- mobling, on 07/20/2008, -1/+0Again....WHY?
- theclaw1, on 07/20/2008, -0/+1Of course DOS and some Linux shells look similar, both usually use the BIOS's built-in font.
- linuxpenguin, on 07/20/2008, -0/+1Except this is a terminal emulator - not an actual Linux shell. I'm pretty sure they use their own font by default - I know you can change it.
- orvtech, on 07/20/2008, -0/+2this is what happens when things like Ubuntu come to the community.
- solarwind24, on 07/20/2008, -0/+1First Linux article I'm burying in a while...
- fuzzynyanko, on 07/20/2008, -1/+2With all of the guys freaking out about this article, it sounds like it'd be a great prank.
- ajocksch, on 07/20/2008, -0/+3I hate to say it, but if
a) your target uses linux, and
b) your target knows how to use bash prompt
I *highly* doubt they'd be taken in by this. - mik3pass, on 07/20/2008, -1/+3It appends C: in front of everything. There isn't any drive-lettering in Linux. So that means if you change to one of your external hard-drives, it's still going to display as C: .... yeah...
I just don't see the purpose in trying to emulate the DOS looks when the bash look is fine as it is. - stormfish77, on 07/20/2008, -0/+3I have instructions on how to make a Ferrari look like a station wagon if anyone is interested.
- tendonut, on 07/20/2008, -1/+1I have another great idea. Lets make a Porsche 911 look like a Ford Tempo!
EDIT: Damnit, stormfish beat me to it. - linuxpenguin, on 07/20/2008, -2/+1Except everyone who would be using my computer already knows I run Linux. . .
. . . and I have to say, installing a new OS on someone else's computer without their knowledge is pretty douchey. And I'm pretty sure it's illegal, too. - Serial0Hacker, on 07/20/2008, -0/+1Can I run Dos Games ?
- FalkenAX3, on 07/20/2008, -1/+2Dumb prank, but having Ubuntu look like vista isn't that bad. The Vista theme is pretty nice imo.
- FMVorenkamp, on 07/20/2008, -3/+1Buried for linux.
- antdude, on 07/20/2008, -0/+1qemm386.exe from Quarterdeck!
- Hamsterpotpies, on 07/20/2008, -0/+1how about make my dos prompt look like bash!
- skimmas, on 07/21/2008, -0/+2The only thing you should miss from DOS is "prince.exe megahit". In linux you will probably need some wine to go with that, which seems wrong in kids game. :P
- Beacon, on 07/21/2008, -0/+1Setting an environment variable on Linux hardly qualifies as front-page worthy news. If you know how to change the PS1 variable at all you know how to do this.
- jakbrud, on 07/21/2008, -0/+1This is blasphemy
- solar, on 07/24/2008, -0/+1Seriously? Wow. You changed your bash prompt. Have a ***** badge.
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official