CompTIA A+ Certification, Project+

QUESTION NO: 1
You decide to use xinetd instead of inetd. Now, you need to transfer information from /etc/inetd.conf to another file. Which file must be created or edited? (Please specify the full path)

Answer: /etc/xinetd.conf

QUESTION NO: 2
Which command will set the local machine's timezone to UTC?

A. cat UTC > /etc/timezone
B. ln s /usr/share/zoneinfo/UTC /etc/localtime
C. date timezone=UTC
D. mv /usr/timezone/UTC /etc

Answer: B

QUESTION NO: 3
Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?

A. /etc/alias
B. /etc/mail/forwarders
C. ~/.alias
D. ~/.forward

Answer: D

QUESTION NO: 4
On a dual boot system, every time the system is booted back into Linux the time has been set backward by two hours. Which of the following commands will correct the problem so it will not occur again?

A. ntpdate pool.ntp.org
B. date d 'two hours'
C. hwclock hctosys localtime
D. time hwclock

Answer: C

QUESTION NO: 5
Each entry in a crontab must end with what character?

A. tab
B. space
C. backslash
D. newline

Answer: D

QUESTION NO: 6
Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)

A. export LANGUAGEs,lpt"
B. export MESSAGE="pt"
C. export LANG="pt"
D. export LC_MESSAGES="pt"
E. export ALL_MESSAGES=upt"

Answer: C, D