Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
A. uptime
B. up
C. top
D. uname -u
E. time -up
What is the output of the following command?
for token in a b c; do
echo -n ${token};
done
A. anbncn
B. abc
C. $token$token$token
D. {a}{b}{c}
E. a b c
What is the correct command to extract the contents of the archive file download.bz2?
A. unpack download.bz2
B. unzip2 download.bz2
C. bunzip2 download.bz2
D. unzip download.bz2
E. uncompress download.bz2
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
A. dnsq
B. dig
C. hostname
D. dnslookup
E. zoneinfo
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
A. 0077, 077
Which configuration file would be edited to change the default options for outbound SSH sessions?
A. /etc/ssh/sshd_config
B. /etc/ssh/ssh
C. /etc/ssh/client
D. /etc/ssh/ssh_config
E. /etc/ssh/ssh_client
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
A. chown dan/staff file.txt
B. chown dan:staff file.txt
C. chown -u dan -g staff file.txt
D. chown dan -g staff file.txt
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
A. swapoff, /sbin/swapoff
Which world-writable directory should be placed on a separate partition inorder to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)
A. /tmp, tmp, /var/tmp, /tmp/, /var/tmp/
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)
A. /etc/sudoers
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Linux Foundation exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LFCS exam preparations and Linux Foundation certification application, do not hesitate to visit our Vcedump.com to find your solutions here.