[NCLUG] Why not Root?

John L. Bass jbass at dmsd.com
Sun Mar 18 20:22:25 MDT 2007


	"rm -rf /home/justdeleteduser" or "rm -rf /var/svn/hosedproject/*".  If
	nothing else, the full path prevents accidental replay issues, like
	re-running it through history when you've changed directories.

One junior sysadmin's most horrible mistakes was putting a space before
the * while doing that. The first form taking out the entire directory,
and replacing it if needed is FAR safer.

John




More information about the NCLUG mailing list