精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>C/C++>>未整理到对应目录的文章>>一些csh和sh有趣命令(un*x)

主题:一些csh和sh有趣命令(un*x)
发信人: kevintz(血仍未冷)
整理人: wenbobo(2002-12-06 21:26:11), 站内信件
With csh:

    (~)> cat "food in cans"
    cat: can't open food in cans
    (~)> nice man woman
    No manual entry for woman.
    (~)> rm God
    rm: God nonexistent
    (~)> ar t God
    ar: God does not exist
    (~)> ar r God
    ar: creating God
    (~)> "How would you rate Quayle's incompetence?
    Unmatched ".
    (~)> [Where is Jimmy Hoffa?
    Missing ].
    (~)> ^How did the sex change operation go?
    ^ Modifier failed.
    (~)> If I had a ( for every $ the Congress spent, what would I have?
    Too many ('s.
    (~)> make love
    Make: Don't know how to make love. Stop.
    (~)> sleep with me
    bad character
    (~)> got a light?
    No match.
    (~)> man: why did you get a divorce?
    man:: Too many arguments.
    (~)> !:say, what is saccharine?
    Bad substitute.
    (~)> %blow
    (~)>blow: No such job.

    With sh:

    $ PATH=pretending!/usr/ucb/which sense
    no sense in pretending!
    $ drink bottle: cannot open
    opener: not

[关闭][返回]