|
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
Some other Articles
SignageRailway train service, Melksham stationLinux - where to put swap spaceAladdin, or careful what you wish.Coffee StandardsConfessionFish stocksProgramming in isolationRecent technical articlesexample of Tcl namespaces and packages
|
2259 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, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46 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).
|
|