最新的Linux Foundation Certified System Administrator - LFCS免費考試真題
Which of the following commands is used to rotate, compress, and mail system logs?
正確答案: C
CORRECT TEXT
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
正確答案:
/etc/skel
What is the correct command to extract the contents of the archive file download.bz2?
正確答案: B
What is the purpose of the Bash built-in export command?
正確答案: B
CORRECT TEXT
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
正確答案:
/usr/bin/xwininfo, xwininfo
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)
正確答案: B,D
Whichof the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
正確答案: A,E
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
正確答案:
swapoff, /sbin/swapoff
Which of the following commands prints a listof usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
正確答案: B
What is true about the file /etc/localtime?
正確答案: C
How many fields are in a syntactically correct line of /etc/fstab?
正確答案: E