Network time Protocol (NTP) is also a new exam requirement for RHCE. Study time also by the way to review how to set up Linux time, now take out and share with youSetting up an NTP server is not difficult, but NTP itself is a very complex protocol.
Linux ntp time server configuration tutorial, ntp server configuration
Network Time Protocol (NTP) is also a new test requirement for RHCE. During study, I also reviewed how to set the Linux Time. Now I will share it with you.
It is not difficult
Summary:GMT/UTC/CST;/etc/localtime,/usr/share/zoneinfo/* time zone file,/etc/profile plus TZ variable;Hardware time RTC, system time; date,hwclock,tzselect;NTP relay SERVER;RPM–IVH ntp-*;ntpdate 0.uk.pool.ntp.org; Ntpq–p,watch
remark: article reproduced from: http://www.cnblogs.com/liuyou/archive/2012/07/29/2614338.html
Summary:
GMT/UTC/CST;
/etc/localtime,/usr/share/zoneinfo/* time zone file,/etc/profile plus TZ variable;
Hardware time RTC, system time;
This course is a basic course for Big data engineers and cloud computing engineers , as well as a course that all computer professionals must master.Without mastering data structures and algorithms, you will find it difficult to master efficient,
Article Source: http://www.cnblogs.com/zfc2201/p/3284965.htmlDate formatting: Alter session set nls_date_format= ' Yyyy-mm-dd hh24:mi:ss dy 'Note: The HH24 format cannot be set to am pm on PM Indicatorsysdate"function": Returns the current date.
Date functionDate functions manipulate Date values (fields of date type), timestamp values (TIMESTAMP, TIMESTAMP with time ZONE, and TIMESTAMP with the fields of the local time ZONE type), and interval values (INTERVAL day to SECOND and INTERVAL
2 character Functions1. Replace (string 1, String 2, String 3)Replace (char, search_string, replace_string)Function: Search for "String 2" in "String 1" and replace it with "string 3".For example, the following command replaces the "A" that appears
Numeric type functions:Absolute:ABS (x) "function" returns the absolute value of x "parameter" x, numeric Expression "return" number "example" Select ABS (+), ABS ( -100) from dual;--------------------------------------------------------------------
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.