Q1. You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
A. find /etc -name!'*conf" 2>&find-output
B. find /etc-name "*conf 2<&1 > find-output
C. find /etc -name "*conf > find-output 2>
D. find /etc -name "*conf" > find-output 2> find-output
Answer: D
Q2. You have a file named filel and you want to create a symbolic link named link-to-file1 to the file. In a terminal window, which command accomplishes what you want? (Choose two.)
A. In file link-to-file1
B. inlink-to-file1 filel
C. In-sfile1link-to-file1
D. In-slink-to-file1 filel
E. cp-s file1link-to-file1
F. mv-sfile1link-to-file1
Answer: C
Q3. Which command will install the gvim package from a repository?
A. zyppergvim
B. zypper-igvim
C. zipper in gvim
D. zipper -install gvim
E. zipper addrepo gvim
Answer: D
Q4. You would liketo run command2 only if command1completed successfully. Which command accomplishes this task?
A. command1|| command2
B. command1;; command2
C. command1.command2
D. command1&& command2
Answer: D
Q5. Which file contains information about the filesystems to be mounted automatically when the system is booted?
A. /etc/fstab
B. /etc/mounttab
C. /etc/import
Answer: A
Q6. Where are systemd unit files stored? (Choose two.)
A. /usr/li b/systemd/system/
B. /etc/systemd/system/
C. /lib/systemd/
D. /usr/systemd/unit
E. /usr/systemd/servieel
F. /usr/systemd/target/
G. /etc/systemd/units/
H. /etc/init.d/units/
Answer: A,B
Q7. Which protocol is used to send messages by the ping command?
A. NTP
B. FTP
C. TCP
D. ICMP
E. HTTP
F. LDAP
Answer: D
Q8. You have a /tmp/data directory containing the files file, filel, and file2.
You want to copy the filel and file2 files only to the /data-old directory that already exists. In a terminal window, which command accomplishes this?
A. cp /tmp/data /data-old
B. cp /tmp/data/./data-old
C. cp /tmp/data/* /data-old
D. cp /tmp/data/? /data-old
Answer: C
Q9. You would like to run command2 only if command1did not complete successfully. Which command accomplishes this task?
A. command1;; command2
B. command1|| command2
C. command1.command2
D. command1&& command2
Answer: B
Q10. What command disables the ssh service on a systemd system?
A. systemctl disable sshd
B. systemdctl disable sshd
C. systemd-stop sshd
D. systemctl sshd - -status=disabled
Answer: A