←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.204s | source
Show context
teddyh ◴[] No.26494310[source]
When I moved from DOS to Unix, I quickly got used to the default prompt of "$" instead of DOS’s default ">". Whenever I see ">" in someone’s custom prompt I assume they are DOS or Windows people who couldn’t get used to change when they started using Unix-like systems.

(This is how normal DOS and Unix command prompts looked, for reference:)

    C:\DOS> chkdsk c:

    server$ vmstat
replies(3): >>26495376 #>>26496080 #>>26498505 #
1. ben0x539 ◴[] No.26496080[source]
">" prompts aren't that uncommon outside of DOS, though

    $ telnet
    telnet> 

    $ irb
    irb(main):001:0>

    $ echo look at me i'm an unterminated string
    >
I guess python's ">>>" prompt is more robust against accidentally being interpreted as a redirection, at least.