A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word "services". Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?
A) #/bin/bash find /etc -name services | sort > /var/tmp/foundservices
B) locate /etc -sort -name services > /var/tmp/foundservices
C) find -name services -sort D) find /etc -name services -sort > /var/tmp/foundservices
Correct Answer:
Verified
Q136: A Linux administrator needs to configure a
Q137: Given the output below: Q138: A junior systems administrator is configuring localization Q139: A junior administrator of a physical server Q140: An administrator is attempting to block SSH Q142: An engineer is working on a production Q143: A user attempts to use the mount Q144: An administrator has written the following Bash Q145: Which of the following are Linux desktop Q146: A systems administrator is configuring options on![]()
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents