

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


A service in the server is generating errors after changes were made in its configuration file. You were asked to identify the issue in the configuration file and resolve it. Which of the following directories would contain the file? - Answers -/etc / A new Linux user saved an important file in the system, but can't remember where. He tries to locate the file using the locate command, but it doesn't appear. Which of the following may be the cause of its "disappearance"? - Answers -The file was saved to the /tmp directory and deleted immediately. A Linux user downloaded a new binary to the OS, but can't run it right away. What should she do to allow execution of the binary from any location in the system? - Answers -She needs to have high-level privileges to execute the binary. As a junior system administrator, you were tasked with installing package updates on an Ubuntu server. Which command would you run? - Answers -apt upgrade An employee in your company submitted a support ticket regarding connectivity speed when trying to access a specific server. Which of the following network testing tools can you use to find the cause of the slowdown in the route to the server? - Answers - Traceroute A network administrator activated the SAMBA service in a Linux machine. He then changed the configuration file to allow guest login. While testing the new configuration, he was not able to log in as a guest. A status check confirmed that the system is up and running. What may be the cause? - Answers -The service needs to be restarted to apply the changes. You were asked to create a script that will back up and archive all user desktop directories in a Linux machine. Which of the following tools will you use in the script to back up the directories? - Answers -tar A Bash script is run by a user to access /etc/shadow and fetch a hashed password. When a different user runs the script, however, the execution fails. What could be the problem? - Answers -Other users do not have high enough level permissions to run the Bash script. How does a user open a hidden file? - Answers -vim ~/.bashrc What is a text editor for UNIX-like operating environments. It is a third-party application that works with an interface similar to Notepad - Answers -gedit The chmod command sets permissions using numerical inputs for a? - Answers -File
The file owner and group can be changed by using this command? - Answers -chown A user can write a script to schedule a back up using what 2 types of commands? - Answers -tar and contrab Writing a script, what is used at the start of a document? - Answers -shebang.. #!/bin/bash True or False: Appending and writing text to a file can be done using the echo command, which displays typed content on the same terminal interface. - Answers - True True or false: Nano is a text editor for UNIX-like operating environments that use a command-line interface. - Answers -True What commands are typically used in content with large amounts of text? - Answers -tail and head If the sort command is executed on letters, the results will be sorted in? - Answers - alphabetical order If the sort command is used with numbers, how will the output will displayed? - Answers -lowest to highest What is a common server program in Linux that provides web hosting services? - Answers -Apache Apache2 service operates on what port for HTTP? - Answers - Apache2 service operates on what port for HTTPS? - Answers - What open-source software suite runs on a Linux-based operating systems and communicates with Windows clients? - Answers -Samba True or False: Apache enables the sharing of resources such as printers and files through the Common Internet File System (CIFS) and the Server Message Block (SMB) protocols - Answers -False What applications and services are used to talk to each other over a network? - Answers -Server Message Block (SMB) protocols What authentication in Linux is done by comparing a password's hash to the hash of the password in the /etc/shadow file, in which secure user account information is stored - Answers -Pluggable Authentication Modules (PAM)