Home » Computers » Операции с date под Linux

Операции с date под Linux

Отместване на датата:
date -d “2 days ago”
Брой на дните в даден месец:
cal 1 `date +%Y` | egrep -v ‘[A-Za-z]’ | wc -w
http://linux.about.com/od/commands/l/blcmdl1_date.htm

Leave a Reply

Your email address will not be published. Required fields are marked *