FREE Linux Foundation Certified System Administrator 2025 Questions and Answers
What command will show the final line of the text file foo.txt?
What is the proper command to open the download.bz2 archive file and extract its contents?
The "bunzip2" command is used to decompress and extract files from a Bzip2-compressed archive. By providing the name of the compressed file as an argument, the command will decompress it and generate the corresponding uncompressed file.
Which of the following commands prints a listof usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
Define Ubuntu
Ubuntu is a popular Linux-based operating system that is derived from Debian. It is known for its user-friendly interface, extensive software availability, and strong community support. Ubuntu is designed to be easy to use and accessible for both beginners and experienced users.
What is the proper command to open the download.bz2 archive file and extract its contents?
Which of the above commands manages and preloads the keys required for automatic authentication when connecting to other machines over SSH?
The ssh-agent command is used to start an authentication agent that manages private keys used for SSH authentication. When the ssh-agent is executed, it sets up an environment in which SSH authentication can take place. It loads private keys into memory and holds them securely, allowing automatic authentication when connecting to remote machines via SSH.
How can the error output of a command be discarded while writing the normal output to a file?
The command command >file 2>/dev/null can be used to write the normal output of a command to a file while discarding the error output.