Linux Tools

Access

Blog History

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...

read more

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...

read more

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...

read more