RHCSA practice assignments (2)

1. Add a static session to the network card, and configure the IP address of this session to xxx123

Please add image description

2. Test the network connectivity to see if you can ping Baidu and download the Baidu homepage file.

Please add image description

3. Set the network card to automatically obtain an IP address through the DHCP protocol when the system is powered on.

Please add image description

4. Mount the local CD and configure the yum source as rhel8.repo

Please add image description

5. Install httpd through yum

Please add image description

6. Use yum to query which software package the ifconfig command is provided by

Please add image description

7. Uninstall the software package httpdPlease add image description

8. Download the tree source code package and compile and install it

Please add image description

9. View process information through the two options of the ps command

Please add image description

10. Check the process number of the sshd service through the pgrep and pidof commands

Insert image description here

11. Make the dd if=/dev/zero of=/root/file bs=1M count=8190 command operation run in the foreground

Insert image description here

12. Transfer the above operation to the background and pause it

Insert image description here

13. Make the dd if=/dev/zero of=/root/file2 bs=1M count=1024 command operation run in the background

Insert image description here

14. View the task list in the background

Insert image description here

15.Restore dd if=/dev/zero of=/root/file bs=1M count=8190 and let it continue running in the background

Insert image description here

16. Query the process of dd if=/dev/zero of=/root/file bs=1M count=8190 command and kill it through kill

Insert image description here

17. Create the g1 group and require the creation of a file redhat.txt belonging to the redhat user g1 group.Please add image description

18. Create a new /sc directory. The group it belongs to is the group group. The root user and group group users can create files in this directory. Others do not have any permissions.

Please add image description

19. The newly created /cw directory is the storage directory of the Finance Department. It can only be written by Finance Department personnel, and the files created by Finance Department personnel automatically belong to the mygroup group.

Please add image description

20. Set the helen user to be able to read, write, and execute the /sc and /cw directories.

Please add image description

21. Set the /test directory as a public storage directory that can be read, written, and executed by all users, but users can only delete their own files (t permission)Please add image description

22. New files created in /test/dir automatically belong to the temp groupPlease add image description

Guess you like

Origin blog.csdn.net/Nirvana92/article/details/127694327