On Tue, Jun 11, 2024 at 11:22:17PM +0700, Max Nikulin wrote:
> On 11/06/2024 06:45, Greg Wooledge wrote:
> > Should you ever feel a need to read the longer version of the
> > documentation, it's in GNU info pages. So you would need to type
> > the command "info coreutils date" to get to it. And t
On 11/06/2024 06:45, Greg Wooledge wrote:
Should you ever feel a need to read the longer version of the
documentation, it's in GNU info pages. So you would need to type
the command "info coreutils date" to get to it. And then you'd need
to figure out the user interface of the "info" program, wh
thanks roberto. that's exactly what i am looking for.
$ date +%a
On Tue, Jun 11, 2024 at 07:19:42AM +0800, Jeff Peng wrote:
> While I expect the output should be:
>
> $ date +%such_a_option
> Tuesday
>
> or
> $ date +%such_a_option
> Tue
>
> does date command has this option?
You can run the command "man date" to read the short version of the
documentation.
All the format codes are documented in the man page for date.
in particular:
+%a gives a short form, such as Mon
+%A gives full name, e.g. Monday
+%^a and +%^A as above, but all capital letters.
- Original Message -
From: "Jeff Peng"
To: "debian-user"
> While I expect the output shou
On Tue, Jun 11, 2024 at 07:19:42AM +0800, Jeff Peng wrote:
> Hello,
>
> I run the folllowing command,
>
> $ date +%w
> 2
>
>
> While I expect the output should be:
>
> $ date +%such_a_option
> Tuesday
>
> or
> $ date +%such_a_option
> Tue
>
> does date command has this option?
>
> Thanks.
>
6 matches
Mail list logo