Ya....that's handy...though I felt totally lost the other day when I was on a 
box without a tab-completing shell.  Worse, because I was typing on a netbook, 
where I'm prone to making typos with my long fingers.  Keep meaning to get a 
bigger netbook.... though seems strange to still call a 13" computer with no 
optical drive a netbook....to go along with my 12.1" notebook (though battery 
life should be much better.)



----- Original Message -----
> On 14.05.11 21:18, Josh Smift wrote:
> > YD> USE COMMAND LINE HISTORY!!!
> > YD>
> > YD> Write the command exactly as you would with the rm, but use ls
> > YD> instead. Verify that what you see is what you want to be delete.
> >
> > This is pretty good advice, and would defend against my favorite
> > example,
> > 'sudo rm -rf / var/log/junk, where a space slips in at the wrong
> > place.
> 
> I've gotten into a habit of tab-completing every file and directory,
> always. If it doesn't complete, it doesn't exist or it warns me that I
> have to be extra careful because i'm using sudo to remove the
> directory
> not readable to normal user.

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator
For: Enterprise Server Technologies (EST) -- & SafeZone Ally
Snail: Computing and Telecommunications Services (CTS)
Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102
Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: [email protected]
Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to