Feeds:
Posts
Comments

Archive for the ‘unix’ Category

Cron jobs

The basic format of a crontab schedule consists of 6 fields, separated by spaces, formatted as follows:
minute hour day month day-of-week command-line-to-execute
The acceptable values for each of the 6 fields are:
Field Range [...]

Read Full Post »

I am not trying to post a grep or find reference manual but the below command will come handy in the following situations, (when searching in Java files)

To search for TODO in code
To search for System.out.println in code

find . -name “*.java” |xargs grep TODO

Read Full Post »