LPI LINUX ESSENTIALS EXAM QUESTIONS
If you wanted to disable a second network interference in Linux what command would
you enter at the shell? - Answers -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? - Answers -:q! Or Q bang
What directory would the ~ character represent? - Answers -The home directory of the
currently logged in user.
What is the default shell for most Linux distributions - Answers -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? - Answers -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? - Answers -SYNOPSIS
In which directory could you add files so that a newly created user will automatically
have them when they first log in? - Answers -/etc/skel
Which of the following provides binary files containing prewritten code elements or
interfaces that programmers can call when writing Linux programs? - Answers -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? -
Answers -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? - Answers -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? - Answers -You have to switch to
insert mode.
Which command would uncompress the contents in the file 'important.bz2' - Answers -
bunzip2
How would you add a new user account to a system? - Answers -useradd newguy
Which software development model is considered to be less structured than the others?
- Answers -Bazaar
, You need to search for man that relate to the Postfix service. Which command will do
this? - Answers -apropos postfix and man -k postix (Must be root)
Which directory contains filesystem management utilities such as cp or mv? - Answers
-/bin and /usr/bin
What utility can we use to find manual pages? - Answers -Man
What file might we look at to view our most recently entered shell commands? -
Answers -~/.bash_history
What command will bring a list of all running processes on our system? - Answers -Top
Which of the following commands would you use to view a default gateway address on
your system? - Answers -Route and netstat -r
Which commands would you run to see who is currently logged into the system? -
Answers -W and who
If we wanted to learn about all the available options for the cd command, how might we
display its manual page? - Answers -Man cd
You have a project where you have to build an email server for your organization of
around 200 employees. You are thinking of using a linux system to accomplish this.
Would it be possible to achieve this? - Answers -Yes. Linux can be configured to
provide email services.
We need to find a file named la.txt in our current directory. Which command would we
use? - Answers -find ./-name la.txt
Which file contains the encrypted passwords for the users on a system? - Answers
-/etc/shadow
You're using vi to edit a text file in insert mode. You have discovered that you need to
replace a large part of a single line of code. The best way to do this is to change from
insert mode into replace mode. Given that you are always in insert mode, which steps
would you take to enter into replace mode. - Answers -First hit the ESC key, then the
shift + R keys.
Which command in a script would display the text "hello world" to the screen, followed
by a new line? - Answers -Echo "hello world"
Which file(s) are used for DNS resolution? - Answers -/etc/hosts and /etc/resolv.conf
An application has the following permissions set on it:
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur GEEKA. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €10,46. Vous n'êtes lié à rien après votre achat.