Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Aladdin, or careful what you wish.
Have you heard of the Linux user called Aladdin? He came across a command called "alias" one day, and the manual told him that it would make his wishes come true - that options that he wanted to be default would be, and that he could even make up his own new commands.

Aladdin felt this was too good to be true, so he created a little alias called "hello" that echoed back "hello to you too". And it worked! Wow!

Now Aladdin had always wanted the rm command (the one that deletes files) to ask if he was sure, so he created an alias to do that ((it's quite easy - the -i option)). And, again, Wow!

But the Aladdin was deleting files and tidying up for the system administrator who was away on holiday in Skeggy, and there were whole big directories of spam that needed deleting. And Aladdin got really rather bored with typing in "Y" hundreds of time .... so his third use of the alias command was to undo what he had done with the second use.

And the moral is ... Aliases can be useful, but the operating system designers probably put rather more thought that you will have done into what's the default, and they probably got it just about right for most of us.

[Advert] Learn more about using Linux ... [/Advert]


(written 2004-12-15 05:48:33)

 
Associated topics are indexed under
A101 - Web Application Deployment - Linux -An Introduction For Users

Back to
Coffee Standards
Previous and next
or
Horse's mouth home
Forward to
Linux - where to put swap space

Some other Articles
Signage
Railway train service, Melksham station
Linux - where to put swap space
Aladdin, or careful what you wish.
Coffee Standards
Confession
Fish stocks
Programming in isolation
Recent technical articles
example of Tcl namespaces and packages
1636 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho