yes – the command Friday, Jul 24 2009 

Found this while searching for how to copy files and choose ‘No to all’ in linux (no overwrite).

 >yes n | cp -R -i /sourcedir/* /destdir

yes simply repeats a phrase (y by default) ad infinitum.
So here we just use a copy statment, forcing it to prompt before overwriting and (via yes) say no.

Thanks Glenn Arndt from Indianapolis!

(not realated, but also of interest: How to find – Size of a directory & Free disk space)
     >du – Finding the size of a directory
     >df’ – finding the disk free space / disk usage

How to reset the nagiosadmin password Friday, Jan 2 2009 

How to reset the nagiosadmin password

 sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

don’t forget the sudo. http://xkcd.com/149/

 

[edit: originally published Thursday, Apr 17 2008 - moved after restructure]

reset Webmin password Tuesday, May 6 2008 

From the FAQ: http://www.webmin.com/faq.html
Quote:

How do I change my Webmin password if I can't login?
Included with the Webmin distribution is a program called changepass.pl to solve precisely this problem. Assuming you have installed Webmin in /usr/local/webmin-1.150, you could change the password of the admin user to foo by running
/usr/local/webmin-1.150/changepass.pl /etc/webmin admin foo