the file and ends normally. In addition, the pipeline execution structure is as follows:
(3). Shell supporting job control
$ Ps-o pid-o ppid-o sid-o pgid-o command
PID PPID SID PGID COMMAND
2074 2068 2074 2074/bin/bash
2580 2074 2074 2580 ps-o pid-o ppid-o sid-o pgid-o command
We can see that they have different pgids. For pipeline commands, they belong to the same process group:
$ Ps-o pid-o ppid-o sid-o pgid-o command | cat
PID PPID SID PGID COMMA
]# ll-rw-r--r--1 root root 0 10-28 14:48 log2012.log-rw-r--r--1 root root 0 10-28 16:01 L og2013.log-rw-r--r--1 root root 0 10-28 14:48 log.log[[email protected] test]# touch-t 201211142234.50 Log.log[[emai L protected] test]# ll-rw-r--r--1 root root 0 10-28 14:48 log2012.log-rw-r--r--1 root root 0 10-28 16:01 log2013 . log-rw-r--r--1 root root 0 2012-11-14 log.logDescription-T time uses the value specified as a new value for the corresponding time stamp of the specified file.
years, that is, "century"; yy is the last two digits of the number of years, that is, the number of years in a century. If the value of CC is not given, then the Touch command parameter in Linux will limit the number of years Ccyy to 1969--2068. MM for the number of months, DD for the day will be the number of years Ccyy limited to 1969--2068 within. MM is the number of months, DD is the number of days, HH
-t 201211142234.50 log.log[email protected] test]# LL-rw-r--r--1 root root 0 10-28 14:48 log2012.log-rw-r--r--1 root root 0 10-28 16:01 log2013.log-rw-r--r--1 root root 0 2012-11-14 log.logDescription-T time uses the value specified as a new value for the corresponding time stamp of the specified file. The time specified here is a decimal number in the following form:[[Cc]yy] mmddhhmm[. SS]Here, CC is the first two digits of the number of years, that is, "century"; yy is the last two digits of t
] test]# touch-t 201211142234.50 Log.log[email protected] test]# ll-rw-r--r--1 root root 0 10-28 14:48 log2012.log-rw-r--r--1 root root 0 10-28 16:01 log2013.log-rw-r--r--1 root root 0 2012-11-14 log.logDescription-T time uses the value specified as a new value for the corresponding time stamp of the specified file. The time specified here is a decimal number in the following form:[[Cc]yy] mmddhhmm[. SS]Here, CC is the first two digits of the number of years, that is, "century"; yy is the last t
Function: Modify the time that the file already exists, Access time (modification time). Create a new blank file for files that do not exist.Syntax: Touch [Options] File
Short Options
Long Options
meaning
-A
--time=atimeor--time=accessor--time= use
Change access time only
-M
--time=mtimeor--time=modify
Change time only
- D time
--date= String
Set time and date, you can use a variety of different form
created Example Two: Update log.log time and log2012.log same time stamp Command:touch-r test1. Log A.cppOutput:Example three: Setting the timestamp of a fileCommand:Touch-t 201211142234.50 Log.logOutput:Description-T time uses the value specified as a new value for the corresponding time stamp of the specified file. The time specified here is a decimal number in the following form:[[Cc]yy] mmddhhmm[. SS]Here, CC is the first two digits of the number of years, that is, "century"; yy is the l
Squirrel Eat Squirrel 1918. 2 design of Squirrel Eat Squirrel 1918. 3 Squirrel Eat Squirrel source code 1928. 4 Common Settings Code 2028. 5 describing data Structures 2038. 6 main () function 2048. 7 Pygame. Transform Flip () function 2058. 8 more detailed game state 2058. 9 Common text Creation Code 2068. 10 Camera 2068. 11 "Active Area" 2088. 12 recording the position of objects in the game world 2088.
] test]# ll-rw-r--r--1Root root0 Ten- - -: -Log2012.log-rw-r--r--1Root root0 Ten- - -: onLog2013.log-rw-r--r--1Root root0 -- One- -Log.logDescription-T time uses the value specified as a new value for the corresponding time stamp of the specified file. The time specified here is a decimal number in the following form:[[Cc]yy] mmddhhmm[. SS]Here, CC is the first two digits of the number of years, that is, "century"; yy is the last two digits of the number of years, that is, the number of years
log2013.log-rw-r--r--1 root root 0 10-28 14:48 log.log[Email protected] test]# touch-t 201211142234.50 log.log[email protected] test]# LL-rw-r--r--1 root root 0 10-28 14:48 log2012.log-rw-r--r--1 root root 0 10-28 16:01 log2013.log-rw-r--r--1 root root 0 2012-11-14 log.logDescription-T time uses the value specified as a new value for the corresponding time stamp of the specified file. The time specified here is a decimal number in the following form:[[Cc]yy] mmddhhmm[. SS]Here, CC is the first
log2012.log-rw-r--r--1 root 0 10-28 16:01 log2013.log-rw-r--r--1 root 0 2012-11-14 log.log
Description
The -t time uses the value of a specified timestamp as the new value for the appropriate timestamp for the specified file. The time here is defined as a decimal number in the form: [cc]yy]mmddhhmm[. ss] Here, CC is the first two digits of the year, the number of centuries, and yy is the last two digits of the year, the number of years in a century. If the value of CC is not given, then t
In the previous article, the experimental environment was built. The protocol analysis can be performed once the IKE/IPSEC protocol is fully run and the relevant output and capture packets are collected. During the analysis, we will use the output of the IKE process and the Wireshark grab packet, combined with the relevant RFC, using Python to verify the calculation. First look at the full operation of the Protocol (filtering out irrelevant messages,
New features of PHP7 this article is based on new files at PHP release. link: PHP 7 new
Features
Added ?? Operator
Added New operators
Php // PHP 7 before writing: compare two numbers of function order_func ($ a, $ B) {return ($ a
Added \ u {xxxxx} Unicode Codepoint Escape SyntaxYou can use this method to output unicode characters directly.
Phpecho "\ u {1F602}"; // outputs (this is the question mark in square brackets. as it is a unicode character, it is not supported by the sg
Reprint: http://www.cnblogs.com/ishangs/p/3816689.htmlApplication of Stun/turn/ice protocol in peer-to sip (II.)1 description2 dozen holes and the concept of crossing ... 13 hitting holes and crossing ... 24 using the STUN Series Protocol traversal features ... 25 Stun/turn/ice The relationship of the agreement ... 36 Stun protocol (RFC 5389) 36.1 Why the STUN protocol is used ... 3How the 6.2 stun protocol works ... 47 Turn protocol ... 47.1 Why the
Use Socket to send emails-continued author: limodou I have previously written an article about how to use socket programming to send emails to solve the problem that web servers do not support mail () function problems. It can also be used after my tests. However, many free email providers (starting from 263, SyntaxHighlighter.
Use Socket to send emails-continued author: limodou I have previously written an article about how to use socket programming to send emails to solve the problem that web
to Use cl_dd_document to output the title header in ALV
How to output the title header in ALV
How to solve the problem of displaying the negative symbols before ALV
How to Use 'f4if _ int_table_value_request 'to fill in multiple fields on the screen
How to return the fields hidden in the 'f4if _ int_table_value_request 'function
SAP Enhancement
Num
Description
SAP User export type
The following is a brief description of each column:QidThe number of the DNS query package, which is used as the confirmation basis.QrThe query packet is 0 bytes and the response is 1. The length is 1 byte.OpcodesEncapsulation type (query, IQUERY, status, reserved ). The length is 4 bytes.FlagsA total of 4 bytes, each representing: AA (authoritative answer), TC (truncation), RD (recursion desired), and RA (recursion avalable ).ReservedReserved unused.RcodesResponse Message, 4 bytes long, except
This article is based on the new files when PHP was released, link address: PHP 7 new
Features at a glance
Added?? operator
Added New operator
php//PHP 7: Compare the size of two numbers function Order_func ($a, $b) { return ($a
Added \u{xxxxx} Unicode codepoint Escape SyntaxYou can output Unicode characters directly using this method
Phpecho "\u{1f602}"; Outputs (this is the question mark inside the square brackets, because it is a Unicode character, the SG blog
: The E modifier indicates that the Preg_replace function is used to evaluate the replacement string as PHP code, rather than just a simple string substitution. Unsurprisingly, this kind of behavior will continue to have security problems. This is why using this modifier in PHP5.5 throws a deprecated warning. As an alternative, you should use the Preg_replace_callback function. You can find more information about this change from the RFC.
Second, new
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.