[Cialug] make install files
Daniel A. Ramaley
daniel.ramaley at drake.edu
Wed Oct 29 09:04:40 CDT 2014
On 2014-10-28 at 16:30:51 Matthew Nuzum wrote:
> Just, uh, make sure that you don't type rm -rf /var when you meant to
> type rm -rf ~/var. As root. FYI.
I suspect most users of Unix-like systems make a mistake of that
category once. Hopefully once is enough to teach the value of backups
and being careful. I made that mistake once on a production web server.
And then had an enjoyable evening of learning how to use a hex editor on
a filesystem, followed the next day by setting up automated backups.
A practice i've developed (especially when logged in as root) is when i
want to do an "rm -rf" to first do an "ls -d" with the same file
argument to confirm that i have the file correct, then edit the previous
command to swap ls -d with rm -rf.
__
Daniel A. Ramaley | Network Engineer 2
Drake Technology Services (DTS) | Drake University
T: +1 515 271-4540
F: +1 515 271-1938
E: daniel.ramaley at drake.edu
More information about the Cialug
mailing list