One of the simplest one I used long long ago was to alias a bunch of common commands like this:
alias ls='echo "This program requires Microsoft Windows..."'
alias cd='echo "This program requires Microsoft Windows..."'
alias vi='echo "This program requires Microsoft Windows..."'
# Any other programs you can think of
alias unalias='echo "This program requires Microsoft Windows..."'
alias alias='echo "This program requires Microsoft Windows..."'
Make sure alias is the last one :)
Of course it is trivial to get around by using a full path to the program you want to run, but it usually gets a laugh and the odd time it stumps someone for a while...
You could easily wrap in in a loop read through /bin and /usr/bin and alias every command if you wanted :).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.