rakeshr

how to get day of the week in shell script

Apr 25th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.09 KB | None | 0 0
  1. how to get day of the week in shell script
  2.  
  3. date '+%u'
  4. or
  5. date '+%a'
  6. or
  7. date '+%A'
Advertisement
Add Comment
Please, Sign In to add comment