Test Out Linux Pro - Exam 1 Approved question and answers 2025/2025
Linux can be implemented in many different ways. Drag the implementation type to the definition that matches it BEST. - Running Linux and Windows on the same physical computer. ( Linux virtualization) Infrastructure as a Service (IaaS). (Linux and Cloud Computing) Used by Google on many of the physical products it sells. (Linux on mobile devices) Manages intelligent devices, such as automation and control equipment. (embedded Linux) Which of the following commands searches man pages for a specific keyword? (Select THREE.) export slocate find apropos help whatis man-k - apropos whatis man -k What would you enter at the command prompt to start a new Bourne-again shell (bash) session? - bash What command would you enter while in vi command mode to copy an entire line of text to the general buffer? - yy Which of the following commands shows the value of the LANG environmental variable currently set for the language the operating system uses? - echo $LANG As an administrator, you are tasked with configuring an Apache web server by modifying the /etc/apache2/ file. You open the file in vi. As you're looking at the file, you knock your spill-proof drink container onto the keyboard. It rolls over several keys as you try to pick it up. Now there are extra characters everywhere in the text buffer. Which of the following commands can you use to exit vi without saving any changes that were made to the text buffer? - q! After opening a file in vi, you want to switch from Command Mode to Command Line Mode. What key invokes Command Line Mode? - : What would you enter at the command prompt to display the current working directory? - pwd All users at your site are using the bash shell. You want to set a variable that will apply to every user and always have the same value. Which of the following shell configuration files should you place this variable in? - /etc/profile What command would you enter while in vi command mode to find the term Sam? - /Sam You are working on a Linux system and need more information about the uname command. What would you enter at the command prompt to learn about the uname command syntax and options? - man uname As a Linux user, you have access to an executable file named myapp. It's found in the current directory, but not in the command path. What would you enter at the command prompt to start the myapp file and replace the shell with myapp process? - exec ./myapp Which of the following commands stores the output of the ls -a command in a shell variable named allfiles? - allfiles=$(ls -a) Ann, a Linux script developer, is trying to debug a shell script that has the command ls -s in it. She suspects that an error is occurring, and she wants to send the results of the operation and any errors to a file named ~/Friday in order to examine it later. Which of the following commands should she use? - ls -s &> ~/Friday If you are viewing the contents of a man page, which key can you press to get back to the beginning of the page? - Home A Linux user has an executable file named ni that can save a snapshot of network information with the date and time in a log file. The executable ni file is in the /root directory, and /root is the current working directory. Which of the following commands would run the executable file? (Select TWO). - /root/ni ./ni Which of the following describes the effects of the ls -l /usr/bin >> /tmp/ command? - The contents of the /usr/bin directory are written to a file named /tmp/. Previous file contents are kept, and the new information is added at the end
Written for
- Institution
- TestOut Linux Pro
- Course
- TestOut Linux Pro
Document information
- Uploaded on
- July 31, 2024
- Number of pages
- 4
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
linux can be implemented in many different ways