Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.View AnswerAnswer: (1) find /etc -size 10k -exec cp {} /tmp/findfiles ; (2) find / -user lucy -exec cp -a {} /tmp/findfiles ; Note: If find users and permissions, you need to use cp -...

December 13, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Part 2 (on Node2 Server) Task 1 [Controlling the Boot Process] Interrupt the boot process and reset the root password. Change it to kexdrams to gain access to the systemView AnswerAnswer: *

December 13, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure autofs. Configure the autofs automatically mount to the home directory of LDAP, as required: server.domain11.example.com use NFS to share the home to your system. This file system contains a pre configured home directory of user ldapuserX. Home directory of ldapuserX is: server.domain11.example.com /home/guests/ldapuser Home directory of ldapuserX...

December 13, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.View AnswerAnswer: below ✑ iptables -F ✑ service iptables save ✑ iptables -A INPUT -s 172.25.0.0/16 -j REJECT ✑ service iptables...

December 13, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Locate all the files owned by ira and copy them to the / root/findresults directory.View AnswerAnswer: # find / -user ira > /root/findresults (if /root/findfiles is a file) # mkdir -p /root/findresults # find / -user ira -exec cp -a {} /root/findresults; [ if /root/findfiles is a directory]...

December 12, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.View AnswerAnswer: cd /usr/local tar -jcvf /root/backup.tar.bz2* mkdir /test tar -jxvf /root/backup.tar.bz2 -C /test/

December 12, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.View AnswerAnswer:

December 12, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.View AnswerAnswer: cd /usr/local tar -jcvf /root/backup.tar.bz2* mkdir /test tar -jxvf /root/backup.tar.bz2 -C /test/

December 12, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.View AnswerAnswer: mkdir -p /mnt/iso /etc/fstab: /root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a mount | grep examine

December 12, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.View AnswerAnswer: fdisk /dev/vda pvcreate /dev/vda3 vgcreate...

December 12, 2021 No Comments READ MORE +