100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Testout Linux Pro UPDATED Questions and CORRECT Answers

Rating
-
Sold
-
Pages
77
Grade
A+
Uploaded on
25-10-2024
Written in
2024/2025

Testout Linux Pro UPDATED Questions and CORRECT 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) - CORRECT ANSWER- /root/ni ./ni 1.1.7 Which of the following options is the standard shell for most Linux computers? - CORRECT ANSWER- Bourne-again shell (bash)

Show more Read less
Institution
Linux Pro
Course
Linux Pro











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Linux Pro
Course
Linux Pro

Document information

Uploaded on
October 25, 2024
Number of pages
77
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

Testout Linux Pro UPDATED Questions
and CORRECT 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) - CORRECT ANSWER✔✔- /root/ni
./ni


1.1.7 Which of the following options is the standard shell for most Linux computers? -
CORRECT ANSWER✔✔- Bourne-again shell (bash)


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


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



1.1.7 What is the result of the uname -a command? - CORRECT 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? - CORRECT 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? - CORRECT ANSWER✔✔- exec ./myapp


1.2.7 Which of the following commands could you use to search man pages for a specific
keyword? (select three) - CORRECT 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? - CORRECT 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? - CORRECT 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
- CORRECT 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? - CORRECT ANSWER✔✔- Home


1.3.6 Which key combination should you press in vi to save the file you are working on and
quit? - CORRECT 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? - CORRECT ANSWER✔✔- vi network.txt


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? - CORRECT 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? - CORRECT 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? - CORRECT 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.) - CORRECT 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.) - CORRECT 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. - CORRECT ANSWER✔✔-
Command mode


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



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


1.3.6 What command would you enter while in vi command mode to find the term Sam? -
CORRECT 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? - CORRECT ANSWER✔✔- p


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


1.3.6 Which of the following commands will cut an entire line from a file while in vi
command mode? - CORRECT 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? - CORRECT
ANSWER✔✔- O



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


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


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


while in vi command mode what does "j" do? - CORRECT 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? - CORRECT 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? -
CORRECT ANSWER✔✔- alias


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


1.4.4 You must do which of the following to define a persistent alias? - CORRECT
ANSWER✔✔- Add the command defining the alias to the appropriate shell configuration
file.


1.4.4 The user mbrown has a directory named logs in her home directory that is regularly
updated with new log files when certain system events occur. She runs the following
commands several times a week to check this directory:
cd /home/mbrown/logs
ls -al

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1063
Member since
1 year
Number of followers
102
Documents
68976
Last sold
1 day ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

168 reviews

5
73
4
30
3
43
2
8
1
14

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions