Date manual linux






















 · To set the date, use “date” with the “-s” option. $ date -s date. For example, using the yyyy-MM-dd format, you can set the date this way. $ date -s ' ' Thu Oct 17 $ date -s '23 October ' Wed Oct 23 EDT You can also use shortcuts in order to set the date www.doorway.rus: 4. The --date=STRING is a mostly free format human readable date string such as "Sun, " or " " or even "next Thursday". A date string may contain items indicating calendar date, time of day, time zone, day of week, relative time, relative date, and numbers. An empty string indicates the beginning of the day. date command in Linux with examples - GeeksforGeeks.


date command is used to display the system date and time. date command is also used to set date and time of the www.doorway.ru default the date command displays the date in the time zone on which unix/linux operating system is www.doorway.ru must be the super-user (root) to change the date and time. Date String The --date=STRING is a mostly free format human readable date string such as "Sun, " or " " or even "next Thursday". A date string may contain items indicating calendar date, time of day, time zone, day of week, relative time, relative date, and numbers. 'date' with no arguments prints the current time and date, in the format of the %c directive (described below). If given an argument that starts with a +, date prints the current time and date (or the time and date specified by the --date option, see below) in the format defined by that argument, which is the same as in the strftime function.


2. Date and Time Configuration Installed Documentation Red Hat Training. A Red Hat training course is available for Red Hat Enterprise Linux. 2 de jun. de Linux Date Command Examples. In this tutorial, we'll cover the basics of the date command. The date command displays or sets the system date. 30 de ago. de In this Linux command line tutorial, we show how to use the date command in Linux through command line examples and frequently used options.

0コメント

  • 1000 / 1000