1. Display the lines in the/proc/meminfo file that begin with size s:
Law One:
Law II:
Fahsarm
Law IV:
2. Displays the lines in the/etc/passwd file that do not end in/bin/bash:
3. Show user RPC default shell program:
4. Find out the two-bit or three-digit number in/etc/passwd
5. A line that displays at least one whitespace character in the CentOS7/etc/grub2.cfg file, followed by a non-whitespace character
6. Find the line that ends with "LISTEN" followed by any number of whitespace characters in the result of the "Netstat-tan" command
7. Display user name and UID of all system users on CentOS7
8, add user bash, Testbash, basher, yes, nologin (its shell is/sbin/nologin), find the/etc/passwd user name with the shell name of the line
9, take advantage of DF and grep, remove the disk partition utilization, and from large to small sort
10. Display three user root, Mage, Wang's UID and default shell:
Find the line at the beginning of the/etc/rc.d/init.d/functions file that follows a word (including an underscore) followed by a parenthesis
This article is from the "12922045" blog, please be sure to keep this source http://12932045.blog.51cto.com/12922045/1931445
Linux Little Exercise