GNU/Linux

The Linux find command

I'm putting this here so I can recall it for later find -mtime +2 -type f -print -exec mv {} /home/user/old/ \; Basically it does the following: Find 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...

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