Linux (problem part)

Source: Internet
Author: User
Linux (problem part)

1. Use a command or shell script to complete the following tasks (which must be as concise as possible ):

    1. Find an errorCodeThe eperm is defined and displayed in the header file.

    2. Find the files in the/usr directory with a size greater than 50 K and modified in the last two hours.

    3. Change all users using bash in the system to use CSH after logon.

    4. View the storage devices mounted to the current system.

    5. 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.

    6. Change the suffix of all. HTM files under the current directory to. html.

    7. Write a script to reconfigure your Nic, gateway, DNS, and so on, and access the internet in the IDC of the Software Institute.

    8. Create a. ISO file from the CD. If yes, the CD will pop up.

    9. Count the total number of TCP connections on the host.

    10. Enter a file name to determine its type and permissions.

    11. Back up and compress all files in the/home directory. If yes, copy the backup to the/backup directory.

2. answer the following questions:

    1. What is the running level? What operating levels does Linux have? In which file is the configuration?

    2. In Linux, what files are stored in the/usr,/home,/dev/,/var, and/etc directories?

    3. View and explain the/etc/fstab file in your Linux system.

    4. 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.

    5. 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.

 

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.