filelight: kde application gives a really cool overview of how much and where you are consuming disk space. boabab: gnome/gtk application
Linux Tools
Deleted binary causes No such file or directory error in bash
The scenario: Your path environment is similar to "/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" You have a binary in your path such as /home/user/bin/putty which you delete hoping to use the same binary further down the path...
The Linux find command
I'm putting this here so I can recall it for later The following snippet finds all files where the File's data was last modified more than 2 days ago and run the move command on each file to move them to the specified directory. find -mtime +2 -type f -print -exec mv...
How to extract Icons from Windows executeables in Linux
I have installed a small app using Wine under Ubuntu 8.04 however the desktop launcher icon isn't the correct one for the application. Windows frequently stores application icons in the programs exe file. So to fix my launcher icon I need to extract the icon from the...
crontabs/username: Permission denied
I just had an issue where I tried to issue crontab -e as a user and got crontabs/username: Permission denied The problem was traced to deleting an old account that had a crontab then recreating the account later which had a different user id. Note here how the...
Using Knoppix to remove the GRUB password option and blank the root password
I went on three weeks holiday recently and when I got back I had forgotten what I had configured as the GRUB and root passwords on a CentOS 5.1 box. I ended up using two FAQ's that I stored for future reference. One I had written -...
Sometimes xpdf does the job where Acrobat Reader 8.x can’t
Just about everything in the GNU/Linux world is working pretty much as advertised these days. I had an interesting issue with trying to print a restaurant menu from Legends Grill at The Vintage which incidentally is where we had our Wedding reception a few years ago...
How to attach a file to an email using the Linux mail command
How to attach a binary file to an email using the Linux mail command: ( cat bodyofmail.txt; uuencode filetoattach attachmentnameinemail ) |\ mail -s "The subject" me@mydomain.com # for example # if I had the text body of my email in "body.txt" # and I had a PDF file...
A very cool article about lsof
http://dmiessler.com/study/lsof/
Rotating a document using pdftk
I have in the past used Ghostscript to rotate PDFs however this time I used a utility call pdftk On Ubuntu 7.10 it is easily installed using the command: sudo apt-get install pdftk To rotate a pdf 90 degrees to the right (the entire document in this example) you run...