bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undocumented feature in "date" command


From: Albert Hopkins
Subject: undocumented feature in "date" command
Date: 09 Nov 2001 00:00:27 -0600

Didn't see it in the man page, but date +"%u" appears to print the day
of the week starting from Monday.  For example.

address@hidden:~$ date
Fri Nov  9 00:00:04 CST 2001
address@hidden:~$ date +"%u"
5


FYI.

--a




reply via email to

[Prev in Thread] Current Thread [Next in Thread]