Free Republic
Browse · Search
General/Chat
Topics · Post Article


1 posted on 06/23/2026 10:40:26 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies ]


To: rdb3; JosephW; martin_fierro; Still Thinking; zeugma; ironman; Egon; raybbr; AFreeBird; ...

2 posted on 06/23/2026 10:40:40 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

My very first internship in college at a real-time Unix shop, I did an ‘rm -rf’. Spent the rest of the afternoon learning how to use tar to restore from backup.


3 posted on 06/23/2026 10:43:54 AM PDT by AnotherUnixGeek
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Why panic, no great loss...


5 posted on 06/23/2026 10:51:45 AM PDT by Resolute Conservative
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Always change directory to root ‘/’ before running rm -rf. Make sure you have su - root first. Now you are talking unix.


7 posted on 06/23/2026 10:56:30 AM PDT by central_va (I won't be reconstructed and I do not give a damn)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I used to do contract firmware development at Slacker.com and when I had JUST started the firmware build system built the firmware on the server, and you just copied the output file down to your PC and flashed it to your device. Part of this build process involved creating a root filesystem in a directory and adding files to it. The first step cd’d to that directory, and then ran an “rm -rf *” to clean the old root filesystem before it started copying the new files to it. Well, IT had borked my permissions, so the “cd” failed, but the rm -rf * worked. Deleting all the files on the server. This happens, I see what has happened, and I trot over to IT. “I just wiped the server”. (condescendingly) “No you didn’t.”. (Tries to log in, can’t. Does some other checks, sees that server is blank). “What did you do?” I tell him the command I issued, tell him that the “cd” failed, looked like a permissions error. They pull out the tapes, and start a restore. It was very soon after this event that the build process changed, and we were now building our code locally. (Which we should have been doing all along).


8 posted on 06/23/2026 11:00:44 AM PDT by FrankRizzo890
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

They should have upgraded to Windows.


9 posted on 06/23/2026 11:02:56 AM PDT by PAR35
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

What happens when you run
sudo rm -rf —no-preserve-root /

https://www.youtube.com/watch?v=nkPpwH2HTOU


11 posted on 06/23/2026 11:04:39 AM PDT by dfwgator ("I am Charlie Kirk!")
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce
The command /bin/rm -r -f instructs the system to recursively delete everything under a directory without asking for confirmation.

In the early 80’s, I was working with a consulting firm in NYC. I came in early and say an analyst crying by her computer terminal. She spent the weekend entering data for a utility rate case. The TECO text editor had a function -KT- Which saves all your work. KY, however, saved the current ‘buffer’ of work, erases all the other data, and overwrites the file without saving. Sad.

15 posted on 06/23/2026 11:17:09 AM PDT by FatherofFive (We mutually pledge to each other our lives, our fortunes, and our sacred honor)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I don’t buy into this story. It has threads of plausibility, but I’m highly skeptical that all of this is true. There would have been multiple backups in multiple media formats, and works in progress would be saved to hundreds of different machines and backups. It may have been a pain in the ass to recover, but there was no way they lost everything from one command - as the result clearly shows.


17 posted on 06/23/2026 11:36:06 AM PDT by lefty-lie-spy (Stay Metal)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I worked in IT, saw a lot of unfortunate errors. All right, who deleted the root account from the UAT machine? It was some rookie SA in India; fortunately, it’s not a production server.

Then there was the Oracle DBA who was asked to truncate one of the test instances, and truncated production instead. She was quite experienced, but she typed the command into the wrong window.


21 posted on 06/23/2026 12:14:37 PM PDT by proxy_user
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce
rm -rf

its an oldie but a goodie
24 posted on 06/23/2026 12:53:05 PM PDT by wafflehouse ("there was a third possibility that we hadn't even counted upon" -Alice's Restaurant Massacree)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Saving this thread /pun>


26 posted on 06/23/2026 1:02:18 PM PDT by grey_whiskers (The opinions are solely those of the author and are subject to change without notice.)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

RM *.* alert


33 posted on 06/23/2026 6:42:20 PM PDT by 11th_VA ("I got him before he got me.“ - President Trump)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

How did we ever survive not having Git?


34 posted on 06/23/2026 8:53:54 PM PDT by RitchieAprile (available monkeys looking for the change..)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce; All

And this is the magic of a sneaker network.

Firewalls like this always work; software backup systems not so much.


35 posted on 06/23/2026 9:00:19 PM PDT by Dr. Franklin ("A republic, if you can keep it." )
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I’d like to warn of trusting valued data to the now-ubiquitous USB “thumb” sticks. After the second “cannot read corrupted drive” message I bought a good external drive for a master repository and just use the thumbs for moving data and some redundancy.

When shopping for the external drive I was surprised to learn that many of them are scams - just USB sticks put in larger cases, so stick to name brands if you look to buy one.

Research saves assets and asses.


36 posted on 06/23/2026 10:47:00 PM PDT by MikelTackNailer (is Transitioning. From Windows to Linux.)
[ Post Reply | Private Reply | To 1 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson