Document directory
Command Format
Change supported language
Several simple commands
This article is my study notes on "laruence's Linux private house dish.
Command Format
Command Format: Command [-options] parameter1 parameter2...
For example:
1. Date_default_timezone_setdate_default_timezone_set- Setting the default time zone for all datetime functions in a scriptWhen you use only the Mktime () function in PHP, you sometimes get an error, and the workaround is to add a line after
Starting with the introduction of the basic concept, this paper discusses the data structure and function used in the C + + time operation, and expounds the timing, time acquisition, time calculation and display format. This article also shows you
Ls
Introduction :The LS command is used to display the target list, which is a high-usage command in Linux. The output information of the LS command can be colored highlighted to distinguish between different types of files.
2.1 System directory Structure/root/.ssh/authorized_keys View Instructions Install tree command Displays the table of contents in tree form, showing two levelsLinux Common directory structure/bin to store frequently used commandsThe core file that
1-echo ' Date ' +%y-%m-%d%h:%m:%s "'2014-11-13 15:06:262-echo ' Date ' +%y-%m-%d%h:%m:%s "'14-11-13 15:06:51Note: "+%y-%m-%d%h:%m:%s" caseThe given format controls the output, and the sequence is interpreted as follows:Percent of a text%%a of the
Linux common command LS New Linux operations, common commands
ls command
Grammar
Options
Parameters
Instance
ls commandThe LS command is used to display the target list, which is a
WIN10 's home gambling network today pushes new updates for the Skype for Linux users, and the Linux version of Skype welcomes the Alpha 1.9 version, with new support for black themes, silent notifications, and more.Here's what the IT house has to
I. Introduction to the DATE commandFunction: Used to display time, this command is used much in the shell scriptFormat: Date + parameter + formatParameter:-D to display the specified timeDate Show current time April 13, 2016 Wed 14:33:55
In Linux, a variety of time formats are often used, especially in shell scripts, and the default time format is[Email protected] ~]# datewed Dec 19:43:07 CST 2016Note: If you have spaces in the stitching date format, you need to use "..." to
> Common> Detailsthe given format controls the output, and the sequence is interpreted as follows:Percent percent of a text%a the day abbreviation of the current locale (for example: Days, for Sunday)%a The full name of the current locale (for
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
Source: http://blog.csdn.net/zerogotosum/article/details/1671314What exactly is a Calendar? Chinese translation is the calendar, then we can immediately think of our lives in the Yang (male) calendar, Yin (agricultural) calendar of the points. What
Date--helpUsage: date [options] ... [+ format]Or: Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]]Displays the current time in the given format, or sets the system date.-D,--date= string displays the time described by the specified string, not
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
Date: View or modify the system date timeDate [OPTION] ... [+format]Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]]-d,--date= string: The string is entered as a date, not the current time nor the current time settingExample: [[email protected]/]#
1.Touchusage: -Change file timestamps, changing the timestamp of the filesformat:touch [OPTION] ... FILE ...Common options:-A: Only modify the access timestamp of the file;-C,--no-create: Do not create any files;Note: If you do not specify the-C
1.touch: Modify the timestamp of the fileFormat: Touch [options] ... FILE ...Common options:-C,--no-create: Do not create any files;-A: Only modify the access timestamp of the file;-M: Only modify the file's modified timestamp;-T STAMP: Replace the
Actual work, will inevitably encounter serial number generation problem, the following is a simple serial number generation function
(1) Create a custom serial number configuration table as follows:
--Custom Sequence
CREATE TABLE S_autocode
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.