Steve Shockley schrieb:
Had a royal PITA the other day when I misspelled "softdep" in the /usr line in fstab, and didn't know how to use ed.
No prob w/o ed :) You can just cat /etc/fstab | grep -v usr >> /etc/fstab.new followed by echo '<whatever>' >> /etc/fstab.new and then mv everything to it's correct destination. From time to time I use such mess to train english kezboard lazouts in single user mode.
Cheers, Dorian