Programmer's Blog

Programmer's reference

Monthly Archives: February 2015

[Solaris] Recursive grep

#find. | xargs grep 'search terms'
Advertisements

[Linux] filter distinct rows in vim

:sort u

[Solaris] du –maxdepth=1 equivilant for Solaris

#>du -sh *

[Linux] Crontab Settings

#crontab –e

0 30 * * * * /root/runcorn.sh > /dev/null 2>&1

//format of the cron time
# Minute   Hour   Day of Month       Month          Day of Week        Command    
# (0-59)  (0-23)     (1-31)    (1-12 or Jan-Dec)  (0-6 or Sun-Sat)                
    0        2          12             *                *            /usr/bin/find