READ Free Dumps For RedHat- EX200
Question ID 13172 | Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and |
Option A | # cat /etc/testfile | while read line; do echo $line | grep abcde | tee -a /tmp/testfile done OR grep `abcde' /etc/testfile > /tmp/testfile |
Correct Answer | A |
Question ID 13173 | Create a 2G swap partition which take effect automatically at boot-start, and it should not |
Option A | # fdisk /dev/sda p (check Partition table) n press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter +2G t l W partx -a /dev/sda partprobe mkswap /dev/sda8 Copy UUID swapon -a vim /etc/fstab UUID=XXXXX swap swap defaults 0 0 (swapon -s) |
Correct Answer | A |