Toggen

Selected posts

Sendmail from the command line

echo -e To: 'The Persons Name ' \\n\\n Body of mail \ | /usr/sbin/sendmail -F "From Name" \ -f from@address.com -t to@address.com.au Where -e says I want to interpret \\n as a newline. -F is the from description -f is the from address -t is the to address Example:...

Linux /tmp size for DVD burning

I was just trying to burn the Fedora 11 Preview DVD in XUbuntu and the default burning application logically uses /tmp as the location for temporary image files. However my /tmp only had about 2.9 GB free space The DVD is 3.8G and so the DVD burn failed due to lack of...

Clear Squid Cache CentOS 5.x

How: service squid stop rm -rf /var/spool/squid/* (removes cached files and directory structure) rm -rf /var/log/squid/* (removes the logs) squid -z (recreates the cache_dir structure) service squid start Why: Doing the above can be helpful if you want to claw back...