100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Testout Linux Pro Exam Questions and Answers $13.49   Add to cart

Exam (elaborations)

Testout Linux Pro Exam Questions and Answers

 0 view  0 purchase
  • Course
  • Prep Tests
  • Institution
  • Prep Tests

Testout Linux Pro Exam Questions and Answers 1.1.7 You have an executable file named ni that allows you to save a snapshot of your network information with the date and time into a log file. The file is in the /root directory, and /root is the current working directory. How would you run the ex...

[Show more]

Preview 4 out of 85  pages

  • November 11, 2024
  • 85
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Prep Tests
  • Prep Tests
avatar-seller
OliviaWest
Copyright © OLIVIAWEST 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED




Testout Linux Pro Exam Questions and

Answers


1.1.7 You have an executable file named ni that allows you to save a snapshot of your network

information with the date and time into a log file. The file is in the /root directory, and /root is the

current working directory. How would you run the executable file? (select two) - ANSWER✔✔-/root/ni


./ni


1.1.7 Which of the following options is the standard shell for most Linux computers? - ANSWER✔✔-

Bourne-again shell (bash)


1.1.7 What would you enter at the command prompt to display the present working directory? -

ANSWER✔✔-pwd


1.1.7 What would you enter at the command prompt to start a new Bourne-again shell (bash) session? -

ANSWER✔✔-bash


1.1.7 What is the result of the uname -a command? - ANSWER✔✔-All system information is displayed on

the screen.


1.1.7 What command should you enter to see a list of all the commands you recently used at the

command prompt? - ANSWER✔✔-history


1.1.7 You have the myapp executable file. It is 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? - ANSWER✔✔-exec ./myapp

Copyright ©Stuvia International BV 2010-2024 Page 1/85

, Copyright © OLIVIAWEST 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED


1.2.7 Which of the following commands could you use to search man pages for a specific keyword?

(select three) - ANSWER✔✔-whatis


apropos


man -k


1.2.7 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? -

ANSWER✔✔-man uname


info uname


uname --help


1.2.7 What command can be used on most Linux distributions to find the directories where the man

pages are kept? - ANSWER✔✔-echo $MANPATH


1.2.7 Following is a list of the first four sections typically found in a man page. Which of these shows a

list of options available for a Linux command and explain what the options do - ANSWER✔✔-

DESCRIPTION


1.2.7 If you are viewing the contents of a man page, which key can you press to get back to the beginning

of the page? - ANSWER✔✔-Home


1.3.6 Which key combination should you press in vi to save the file you are working on and quit? -

ANSWER✔✔-:wq


1.3.6 You need to create a new text file with the name network.txt in the current directory. Which

command starts vi and creates the file? - ANSWER✔✔-vi network.txt



Copyright ©Stuvia International BV 2010-2024 Page 2/85

, Copyright © OLIVIAWEST 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED


1.3.6 You have opened the /root/myscript file in vi. While looking at the file, your soda spilled, and you

hit several keys on the keyboard trying to pick it back up. There are extra characters everywhere in the

file, and you know you can't fix it. How do you exit vi without saving the changes? - ANSWER✔✔-:q!


1.3.6 A friend sent you a shell script file that is 117 lines long. He wants you to examine code on lines 82

through 87. What command would you enter while in vi command mode to go directly to line 82? -

ANSWER✔✔-#82


1.3.6 After opening a file in vi, you want to switch from command mode to command line mode. What

key should you enter? - ANSWER✔✔-:


1.3.6 You made a few changes to the /boot/grub/grub.conf file and now you need to exit out of insert

mode, save the changes, and quit. What should you do? (Select two. Each answer is a required part of

the solution.) - ANSWER✔✔-Press Esc


Type :wq


1.3.6 What are two methods to exit vi from command mode? (Select two. Each answer is an

independent solution.) - ANSWER✔✔-Type ZZ


Type :wq


1.3.6 The inital vim mode used when vim is started. It has commands that cut and replace text, and it is

the mode vi uses to enter the other modes. - ANSWER✔✔-Command mode


The vim mode that works with the file system. Use it to save files after editing them. - ANSWER✔✔-

Command line mode


The mode that vim uses to write and edit text in the file. - ANSWER✔✔-Edit mode



Copyright ©Stuvia International BV 2010-2024 Page 3/85

, Copyright © OLIVIAWEST 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED


1.3.6 What command would you enter while in vi command mode to find the term Sam? - ANSWER✔✔-

/Sam


1.3.6 While in command mode, you copied a whole line of text to memory. You navigated to a different

location in the file, and now you need to place the line of text. What command should you use? -

ANSWER✔✔-p


1.3.6 What command would you enter while in vi command mode to copy an entire line of text? -

ANSWER✔✔-yy


1.3.6 Which of the following commands will cut an entire line from a file while in vi command mode? -

ANSWER✔✔-dd


1.3.6 You are editing a text file with vi and need to open a new line above the one you are currently

working on. What key should you press to accomplish this? - ANSWER✔✔-O


While in vi command mode what does "k" do? - ANSWER✔✔-Move the cursor up a line


While in vi command mode what does "h" do? - ANSWER✔✔-Move the cursor one space to the left


While in vi command mode what does "l" do? - ANSWER✔✔-Move the cursor one space to the right.


while in vi command mode what does "j" do? - ANSWER✔✔-Move the cursor down a line.


1.4.4 Which of the following commands will create a shortcut to the tail -f /var/log/messages command?

- ANSWER✔✔-alias sysmesg="tail -f /var/log/messages"


1.4.4 Which command will display a list of the currently defined aliases on the system? - ANSWER✔✔-

alias


1.4.4 What commonly predefined alias is configured to run the ls -l command? - ANSWER✔✔-ll

Copyright ©Stuvia International BV 2010-2024 Page 4/85

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller OliviaWest. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79373 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart