Linux (problem part)
1. Use a command or shell script to complete the following tasks (which must be as concise as possible ):
Find an errorCodeThe eperm is defined and displayed in the header file.
Find the files in the/usr directory with a size greater than 50 K and modified in the last two hours.
Change all users using bash in the system to use CSH after logon.
View the storage devices mounted to the current system.
Use GCC to compile Fred. C, Bill. C as the target file. If the target file is successfully packaged, the static library libfoo. A is generated.
Change the suffix of all. HTM files under the current directory to. html.
Write a script to reconfigure your Nic, gateway, DNS, and so on, and access the internet in the IDC of the Software Institute.
Create a. ISO file from the CD. If yes, the CD will pop up.
Count the total number of TCP connections on the host.
Enter a file name to determine its type and permissions.
Back up and compress all files in the/home directory. If yes, copy the backup to the/backup directory.
2. answer the following questions:
What is the running level? What operating levels does Linux have? In which file is the configuration?
In Linux, what files are stored in the/usr,/home,/dev/,/var, and/etc directories?
View and explain the/etc/fstab file in your Linux system.
Assuming there is an RPM package for the software software-1.2.3-1.i386.rpm, give a brief description of its naming, and explain how to install and how to check if the software is installed.
Which of the following partitions is required for Linux installation? What other common partitions are there? Security experts suggest that when installing Linux, it is best to create a separate partition for the main directory and try to analyze the advantages.