Switch directoriesCD ~Home CatalogueCD-Go back to the directory you justCd..Back to Parent DirectoryCdHome Catalogue——————Show current directoryPwdShow actual path, not connection pathPwd-p——————Create a new directorymkdir Directory Namegranting
First, the Linux common time correlation function-asctime,ctime,getttimeofday,gmtime,localtime,mktime,settimeofday,timeAsctime: Converting dates to stringsCTime: Converts a number of seconds into a stringGettimeofday: Gets the time and date based on
In Linux, the time is divided into two types: 1; Use the date command to display the system time, 2 to display hardware time using clock or HwclockThe system time and hardware time will appear out of sync.Man Command =manual= command manualHere's
Get the date of the dayDate +%y-%m-%dOutput: 2011-07-28Assigns the current date to a date variabledate=$ (Date +%y%m%d)Sometimes we need to use dates before or after today, so we can use the-D parameter of dateGet Tomorrow's dateDate-d Next-day
Linux Common Basic Command collation1-CD Switching directoriesThe CD enters the user's home directory;CD ~ Enter the user's home directory;CD-Returns the directory where the directory was before it entered;Cd.. Return to the parent directory (if the
ls command: Lists the files under the directoryLS-A lists all files under the file, including "." Hidden files at the beginningLs-a listed in addition to "." and ".." Other than the fileLS-D Displays the directory's own properties without displaying
the format output type character in the date command has the following meanings:A%%a of the current locale (for example: Day, representing Sunday)%a the full name of the current locale (e.g., Sunday)%b the month name of the current locale (e.g.: one,
Reprint Please specify source: http://blog.csdn.net/l1028386804/article/details/46538461Help information for the date command[Email protected] source]# date--helpUsage: date [options] ... [+ format]Or: Date [-u|--utc|--universal]
The following is a CentOS 7 example:Startup level ModificationSystemctl Isolate Multi-user.targetSystemctl Isolate Runlevel3.targetstartup files in/etc/systemd/system/default.targetYou can change the file directly if you want to modify
The format output type character in the date command means such as the following:A%%a of the current locale (for example: Day, representing Sunday)%a the full name of the current locale (for example: Sunday)%b The month name of the current locale
Getting Started with Linux-basic commandsCatalogue? date commands date? Modify time zone? Calendar command cal? Shutdown Start command Halt,reboot,poweroff? WhoAmI, who, who am I, W screen echo? How do I use it? How do I use the {}? TAB completion?
LS: command to display the target list1. Ls-a: Show All Files and directories (LS default to the file or directory with ".") Start as hidden, not listed)2. Ls-l: Displays the content details in the directory. Include filename, file type, permission
C + + has a lot to pay attention to when it operates on time. Recently, many netizens in the technology group have also asked the question of the operation, acquisition and display of time in the C + + language. Below, in this article, I will mainly
Array definitions and operations in Javascript Jquery(2012-02-15 10:28:00)reproduced
Tags: gossip
1. Understanding ArraysAn array is a collection of types of data that can be integer, string, or even
(The date class will be introduced at the end of the article, assuming interest, and can go straight to the last reading)What exactly is a Calendar? Chinese translation is the calendar, then we can immediately think of our lives in the Yang (male)
ObjectiveThe previous article wrote "How is SimpleDateFormat safe to use?" , which describes how SimpleDateFormat handles date/time, and how to ensure thread safety, and describes the DateTimeFormatter class, which is the default thread-safe for
(1) Array: An array is a collection of data types that can be integer, string, or even object JavaScript does not support multidimensional arrays, but because an array can contain objects (arrays are also an object), arrays can be nested by each
(The date class will be introduced at the end of the article, assuming interest, and can go straight to the last reading)What exactly is a Calendar? Chinese translation is the calendar, then we can immediately think of our lives in the Yang (male)
ECMAScript provides a date type to handle events and dates. The date type contains a series of methods to get and set date event information.Date typeThe date type in ECMAScript is actually built on top of the Java.util.Date class in Java. To do
The module is not a Python built-in module that complements the ISO 8601 parsing for Python-converting common ISO 8601 date characters into a Python datetime object. InstallationInstall iso8601 Use>>> Import iso8601 Example>>> Import iso8601>>>
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.