indiWiz.com

Subhash's Tech Log

Archive for the ‘shell’ tag

Linux: Diff between two folders

without comments

To find the files which are in one and not in the other:

$ diff -r folder1/ folder2/

To find the file content differences:

$ diff -r -N folder1/ folder2/

Written by Subhash Chandran

November 15th, 2009 at 10:40 am

Posted in Linux

Tagged with ,

Crontab quickies

without comments

When searching the Web for setting hourly cron job, I was pleasantly introduced to a simplified syntax:

@hourly <application>

For understanding the shortcut commands, go through the complete documentation of the crontab syntax by typing man 5 crontab in your command-prompt.

Written by Subhash Chandran

June 16th, 2009 at 9:24 am

Posted in Linux

Tagged with ,