Which of the following should be executed FIRST?

A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work . Which of the following should be executed FIRST?A . source ~/.bashrc B. read ~/.bashrc C. touch ~/.bashrc D. echo ~/.bashrcView AnswerAnswer:...

October 20, 2022 No Comments READ MORE +

Which of the following commands would be BEST to use to accomplish this task?

A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries. Which of the following commands would be BEST to use to accomplish this task?A . chattr +a...

October 20, 2022 No Comments READ MORE +

remove the package?

After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed . Which of the following commands can be used to remove the package?A . dnf remove packagename B. apt-get remove packagename C. rpm -i packagename D. apt remove packagenameView AnswerAnswer: A

October 20, 2022 No Comments READ MORE +

Which of the following actions will resolve this issue?

A Linux system is failing to boot with the following error: Which of the following actions will resolve this issue? (Choose two.)A . Execute grub-install --root-directory=/mnt and reboot. B. Execute grub-install /dev/sdX and reboot. C. Interrupt the boot process in the GRUB menu and add rescue to the kernel line....

October 20, 2022 No Comments READ MORE +

Which of the following parameters will accomplish this goal?

A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site . Which of the following parameters will accomplish this goal? A) B) C) D) A . Option A B. Option B C. Option C D. Option DView...

October 20, 2022 No Comments READ MORE +

Which of the following commands should the administrator run to achieve this goal?

Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5. 1. Which of the following commands should the administrator run to achieve this goal?A . route -i etho -p add 10.0.213.5 10.0.5.1 B. route...

October 19, 2022 No Comments READ MORE +

Which of the following is the correct list of commands to achieve this goal?

A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app . Which of the following is the correct list of commands to achieve this goal? A) B) C) D) A . Option A B. Option B C. Option C D. Option DView AnswerAnswer:...

October 19, 2022 No Comments READ MORE +

Which of the following commands should be used to apply the configuration changes?

A Linux administrator modified the SSH configuration file . Which of the following commands should be used to apply the configuration changes?A . systemctl stop sshd B. systemctl mask sshd C. systemctl reload sshd D. systemctl start sshdView AnswerAnswer: C

October 19, 2022 No Comments READ MORE +

Which of the following commands should replace the <CONDITIONAL> string?

A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following: Which of the following commands should replace the <CONDITIONAL> string?A . if [ -f "$filename" ]; then B. if [ -d "$filename" ]; then C. if [ -f...

October 18, 2022 No Comments READ MORE +

Which of the following PAM modules will accomplish this task?

A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists . Which of the following PAM modules will accomplish this task?A . pam_login.so B. pam_access.so C. pam_logindef.so D. pam_nologin.soView AnswerAnswer: D

October 18, 2022 No Comments READ MORE +