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

LPI Linux Essentials Exam Questions with Correct Answers | Graded A+

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
03-10-2024
Written in
2024/2025

LPI Linux Essentials Exam Questions with Correct Answers | Graded A+ If you wanted to disable a second network interference in Linux what command would you enter at the shell? - Answer-ifdown eth1 You have been editing a configuration file using vi. You realize that you've made many mistakes and need to quit without saving the changes so that you can start over. Which command will allow you to do this? - Answer-:q! Or Q bang What directory would the ~ character represent? - Answer-The home directory of the currently logged in user. What is the default shell for most Linux distributions - Answer-Bash You need to troubleshoot a hardware issue. Which command would let you view the kernel ring buffer to see what hardware was just added? - Answer-dmesg | less (driver message) Which of the following sections give a brief review of the syntax used for a particular command or utility within a man page? - Answer-SYNOPSIS In which directory could you add files so that a newly created user will automatically have them when they first log in? - Answer-/etc/skel EMILLYCHARLOTTE 2024/2025 ACADEMIC YAER ©2024 EMILLYCHARLOTTE. ALL RIGHTS RESERVED FIRST PUBLISH SEPTEMBER 2024 2/9 Which of the following provides binary files containing prewritten code elements or interfaces that programmers can call when writing Linux programs? - Answer- Libraries You are running a ping command to see if a particular host is set up. How would you specify to the ping command that only five packets get sent to the remote host? - Answer-ping -c 5 You need to verify that a remote host with a hostname of is up and running. Which of the following commands would you enter at the shell prompt to do this? - Answer-ping While using vi to edit a file in command mode, you try to use the BACKSPACE key to delete a word, but nothing happens. What's wrong? - Answer-You have to switch to insert mode. Which command would uncompress the contents in the file '2' - Answer-bunzip2 How would you add a new user account to a system? - Answer-useradd newguy Which software development model is considered to be less structured than the others? - Answer-Bazaar Which command in a script would display the text "hello world" to the screen, followed by a new line? - Answer-Echo "hello world" Which file(s) are used for DNS resolution? - Answer-/etc/hosts and /etc/ EMILLYCHARLOTTE 2024/2025 ACADEMIC YAER ©2024 EMILLYCHARLOTTE. ALL RIGHTS RESERVED FIRST PUBLISH SEPTEMBER 2024 3/9 An application has the following permissions set on it: Rw-r—r— Yet it does not run. Why is that? - Answer-There is no execute permission set What protocol is used by network programs/applications that need very low latency and, therefore, can tolerate a degree of unreliability? - Answer-User Datagram Protocol How would you set permissions on a newly created script so that it could be executed? - Answer-Chmod u+x What is the proper syntax for creating a parent directory, followed by a child subdirectory? - Answer-mkdir -p dir1/dir2 You need to create a symbolic link from a file located at /usr/share/manual to a link in your home directory named 'manual'. Which command would we use to achieve this? - Answer-ln -s /usr/share/doc/manual ~/manual While working in the command line console, not running X Windows, you suddenly need access to another shell to do another task. You don't want to quit or halt the current application. What might you do to run your other functions in a shell while still running your current application? - Answer-You can press ALT-F2 or CTRL-ALT-F2 to open an alternate console screen and access a new shell session. You need to search for man that relate to the Postfix service. Which command will do this? - Answer-apropos postfix and man -k postix (Must be root) Which directory contains filesystem management utilities such as cp or mv? - Answer-/bin and /usr/bin EMILLYCHARLOTTE 2024/2025 ACADEMIC YAER ©2024 EMILLYCHARLOTTE. ALL RIGHTS RESERVED FIRST PUBLISH SEPTEMBER 2024 4/9 What utility can we use to find manual pages? - Answer-Man What file might we look at to view our most recently entered shell commands? - Answer-~/.bash_history What command will bring a list of all running processes on our system? - Answer- Top Which of the following commands would you use to view a default gateway address on your system? - Answer-Route and netstat -r Which commands would you run to see who is currently logged into the system? - Answer-W and who If we wanted to learn about all the available options for the cd command, how might we display its manual page? - Answer-Man cd You have a project where you have to build an email server fo

Show more Read less
Institution
LPI Linux Essentials
Course
LPI Linux Essentials

Content preview

EMILLYCHARLOTTE 2024/2025 ACADEMIC YAER
©2024 EMILLYCHARLOTTE. ALL RIGHTS RESERVED
FIRST PUBLISH SEPTEMBER 2024

LPI Linux Essentials Exam Questions
with Correct Answers | Graded A+

If you wanted to disable a second network interference in Linux what command would

you enter at the shell? - Answer✔✔-ifdown eth1


You have been editing a configuration file using vi. You realize that you've made many

mistakes and need to quit without saving the changes so that you can start over. Which

command will allow you to do this? - Answer✔✔-:q! Or Q bang

What directory would the ~ character represent? - Answer✔✔-The home directory of

the currently logged in user.

What is the default shell for most Linux distributions - Answer✔✔-Bash

You need to troubleshoot a hardware issue. Which command would let you view the

kernel ring buffer to see what hardware was just added? - Answer✔✔-dmesg | less

(driver message)

Which of the following sections give a brief review of the syntax used for a particular

command or utility within a man page? - Answer✔✔-SYNOPSIS

In which directory could you add files so that a newly created user will automatically

have them when they first log in? - Answer✔✔-/etc/skel




1/9

, EMILLYCHARLOTTE 2024/2025 ACADEMIC YAER
©2024 EMILLYCHARLOTTE. ALL RIGHTS RESERVED
FIRST PUBLISH SEPTEMBER 2024
Which of the following provides binary files containing prewritten code elements or

interfaces that programmers can call when writing Linux programs? - Answer✔✔-

Libraries

You are running a ping command to see if a particular host is set up. How would you

specify to the ping command that only five packets get sent to the remote host? -

Answer✔✔-ping -c 5 host.example.com

You need to verify that a remote host with a hostname of dns2.linuxacademy.com is up

and running. Which of the following commands would you enter at the shell prompt to

do this? - Answer✔✔-ping dns2.linuxacademy.com

While using vi to edit a file in command mode, you try to use the BACKSPACE key to

delete a word, but nothing happens. What's wrong? - Answer✔✔-You have to switch

to insert mode.

Which command would uncompress the contents in the file 'important.bz2' -

Answer✔✔-bunzip2

How would you add a new user account to a system? - Answer✔✔-useradd newguy

Which software development model is considered to be less structured than the others?

- Answer✔✔-Bazaar

Which command in a script would display the text "hello world" to the screen, followed

by a new line? - Answer✔✔-Echo "hello world"

Which file(s) are used for DNS resolution? - Answer✔✔-/etc/hosts and

/etc/resolv.conf

2/9

Written for

Institution
LPI Linux Essentials
Course
LPI Linux Essentials

Document information

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

Subjects

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.
EmillyCharlotte Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
101
Member since
1 year
Number of followers
5
Documents
12105
Last sold
19 hours ago
ALL-MAJOR.

On this page, you find all documents, package deals, and flashcards offered by seller Emilly Charlotte.

3.4

22 reviews

5
7
4
6
3
2
2
3
1
4

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