In addition to common read (R), write (W), execute (x) permissions in Linux, there are 3 special permissions, namely Setuid, setgid, and stick bit1, setuid, setgidTake a look at an example to see the permissions of your/usr/bin/passwd and/etc/passwd
The HTTP://APPS.HI.BAIDU.COM/SHARE/DETAIL/19572755LS command can be said to be one of the most commonly used commands under Linux.-A lists all files under the directory, including the. The implied file at the beginning.-B lists the characters that
1:cat-s: compressing blank lines; removing blank lines cat test.txt| Tr ' \ n ';CAT-T: The tab is displayed as ^i;Cat-n: Display Line numbers2:find:-name: Match by file name or regular expression; find. \ (-name "*.txt"-o-name "*.py" \)-print-path:
List of Linux Links: using a For loop to add a list, List_add, List_add_tailAdd 10 nodes to the linked list using a For loopIf you use List_add, the node is added to the list header, and then when you print with the subsequent list_for_each, it is
This series of articles by @ Superman Einstein produced, reproduced please indicate the source. Superman Einstein personal site http://www.hpw123.net article Links:
MKFS [-T file system format] Appliance name-T can be connected to file system format: Ext3,ext2,vfat650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/CA/wKioL1RZ2ciRTwSbAAP77tkyod4870.jpg "title=" Mkfs.png "alt="
Whereis locate in the database to find, updatedb Update database, need rootFind in hard drive (slower)Locate
-I.
Ignore Case differences
-R
Can be followed by the display of regular notation
Today after configuring the Linux server's FTP, the login is OK, after using the FTP tool to log in, all directories can be accessed by the manual write path, but the folder and file list cannot see the data.Later analysis, summed up the cause of
Piping and "-"Tar cvf /home | Tar xvf-Use-to replace stdout stdinThe difference between this and the pipeline is that the pipeline is the output character stream, which is considered the previous file.Tee Dual Guide
Permanent means of entry into force:
centos6.x(1), cd/etc/security/
VI limits.d/90-nproc.confAdd to:* Soft Nproc 65535* Hard Nproc 65535* Soft Nofile 65535* Hard Nofile 65535(2) vi/etc/security/limits.conf* Soft
For Linux process management commonly used is top, but the top command display results are not very intuitive, find information more difficult, in addition to top also use PS to view the system process, but PS has a disadvantage, the command shows
Background: screen printing is not always from the standard output, but also includes the information in the standard error output stream stderrFile descriptor Definition (12 system defined)0 standard input 1 standard output 2 standard error 0
The learning curve become longer and steeper.As the increasingly complex, the newbie or newcomers become harder.To make the source code sensible interface, consistent layout, elegant code."Do one thing, and does it well", "simple, and reliable"To
A barrier is a synchronization mechanism that coordinates the parallel work of multiple threads in Linux, allowing each thread to wait until all the cooperating threads reach a point and then continue to execute from that point, Pthread_join is a
Linux Command alias, unalias, aliasunalias1. AliasLinux alias: 1. Simplified special long commands and parameters 2. Added default options for some commands to improve security.2. Use alias
[www@work sh]$ alias lm='ls -l | more'[www@work sh]$ The lm
A centos7 rpm/yum source is recommended.
The epel + rpmfusion source has been used in centos 6, but so far (), rpmfusion has not released the source under centos7/rhel7, so it is a pain to install the software.
For the lack of yum software, I used
Linux/unzip tusudo Elevation of Privilege without entering a passwordPreface The sudo permission is required for zip packaging during the process of writing an automated packaging script, but it is too troublesome to enter the password each time.
CentOS7 Modify host name
In CentOS or RHEL, there are three defined host names: a, static (static), B, transient (transient), and c, flexible (pretty ). The "static" host name is also called the kernel host name. It is the host name automatically
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service