1. Delete all whitespace characters in the CENTOS7 system/etc/grub2.cfg file that begin with whitespace at the beginning of the line
2. Delete all # and white space characters at the beginning of the line beginning with #, followed by at least one white-space character, in the/etc/fstab file
3. Add # At the beginning of each line of the CENTOS6 system/root/install.log
4. Add # to the beginning of the line in the/etc/fstab file that does not begin with #
5, processing/etc/fstab path, use sed command to take out its directory name and base name
6. Use SED to remove the IPv4 address of the ifconfig command
7. Statistics of all RPM files in the package directory on the CentOS installation CD. Number of repetitions of the second-to-last field
8. Count the number of occurrences of each word in the/etc/init.d/functions file and sort it (using grep and sed two methods respectively)
9. Merge N and n+1 lines of text file into one line, n is odd line
Linux exercises-Text processing tools sed (in construction)