Добавить новость
smi24.net
News in English
Октябрь
2023

Displaying dates and times on Linux

0

Linux provides a lot of ways to display date and time information and not just for the current date and time. You can get information on dates way in the past or in the far future. You can also limit the data provided to just the current weekday or month. This post explains many of these options and provides examples of what you can expect to see.

Displaying the current date

Typing “date” on the Linux command line results in quite a bit more data than just the date. It also includes the day of the week, the current time and the time zone.

$ date
Mon Oct 16 11:24:44 AM EDT 2023

The command shown below gives displays the date in the shorthand month/day/year format.

To read this article in full, please click here















Музыкальные новости






















СМИ24.net — правдивые новости, непрерывно 24/7 на русском языке с ежеминутным обновлением *