Actually, the most stupid mistake is to type the following as root:
rm -rf /
laie_techie Wrote:Actually, the most stupid mistake is to type the following as root:
rm -rf /
Hmm... I wonder what that does?
* Ryan Gordon types it in.... S***
LOL kidding
Tikitiki Wrote:laie_techie Wrote:Actually, the most stupid mistake is to type the following as root:
rm -rf /
Hmm... I wonder what that does?
* Tikitiki types it in.... S***
LOL kidding
That would earn you a spot on WorseThanFailure.com! lol
destroyer Wrote:What would it do?
Delete everything in your current directory and all subfolders/files. ^_^
Basically, bad.
I expected something like that.. but I never have been a root admin.
Actually, the root of the entire file system was specified, so it would trash your entire hard drive (or at least the partitions that were mounted).
rh1n0 Wrote:destroyer Wrote:What would it do?
Delete everything in your current directory and all subfolders/files. ^_^
Basically, bad.
That code also makes you right bad checks....