Posts

Showing posts from August, 2010

how to get yesterday in bash shell script

YESTERDAY=`date --date=yesterday +'%Y%m%d'` echo $YESTERDAY

converting utf8 file to ascii

iconv --from-code UTF-8 --to-code US-ASCII -c inputfile > outputfile