Computer Science > QUESTIONS & ANSWERS > LPI Linux Essentials Exam Questions (All)

LPI Linux Essentials Exam Questions

Document Content and Description Below

LPI Linux Essentials Exam Questions If you wanted to disable a second network interference in Linux what command would you enter at the shell? - ANS - ifdown eth1 You have been editing a configurat... ion 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? - ANS - :q! Or Q bang What directory would the ~ character represent? - ANS - The home directory of the currently logged in user. What is the default shell for most Linux distributions - ANS - 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? - ANS - 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? - ANS - SYNOPSIS In which directory could you add files so that a newly created user will automatically have them when they first log in? - ANS - /etc/skel Which of the following provides binary files containing prewritten code elements or interfaces that programmers can call when writing Linux programs? - ANS - 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? - ANS - 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? - ANS - 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? - ANS - You have to switch to insert mode. Which command would uncompress the contents in the file 'important.bz2' - ANS - bunzip2 How would you add a new user account to a system? - ANS - useradd newguy Which software development model is considered to be less structured than the others? - ANS - Bazaar Which command in a script would display the text "hello world" to the screen, followed by a new line? - ANS - Echo "hello world" Which file(s) are used for DNS resolution? - ANS - /etc/hosts and /etc/resolv.conf An application has the following permissions set on it: Rw-r—r— Yet it does not run. Why is that? - ANS - 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? - ANS - User Datagram Protocol How would you set permissions on a newly created script so that it could be executed? - ANS - Chmod u+x script.sh What is the proper syntax for creating a parent directory, followed by a child subdirectory? - ANS - 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? - ANS - 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? - ANS - 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? - ANS - apropos postfix and man -k postix (Must be root) Which directory contains filesystem management utilities such as cp or mv? - ANS - /bin and /usr/bin What utility can we use to find manual pages? - ANS - Man What file might we look at to view our most recently entered shell commands? - ANS - ~/.bash_history What command will bring a list of all running processes on our system? - ANS - Top Which of the following commands would you use to view a default gateway address on your system? - ANS - Route and netstat -r Which commands would you run to see who is currently logged into the system? - ANS - W and who If we wanted to learn about all the available options for the cd command, how might we display its manual page? - ANS - 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? - ANS - 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? - ANS - find ./-name la.txt Which file contains the encrypted passwords for the users on a system? - ANS - /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. - ANS - First hit the ESC key, then the shift + R keys. By default, which port does the sshd daemon listen on for incoming SSH connections? - ANS - 22 Who founded the GNU project? - ANS - Rich [Show More]

Last updated: 1 year ago

Preview 1 out of 8 pages

Reviews( 0 )

Recommended For You

 Computer Science> QUESTIONS & ANSWERS > LPI Linux Essentials Exam Questions (All)

preview
LPI Linux Essentials Exam Questions

LPI Linux Essentials Exam Questions If you wanted to disable a second network interference in Linux what command would you enter at the shell? - ANS - ifdown eth1 You have been editing a configurat...

By Nutmegs , Uploaded: Oct 05, 2022

$10

 Management> QUESTIONS & ANSWERS > Global Logistics and Supply Chain Management, 4th Edition by Mangan 4th edition Quiz - Answers (All)

preview
Global Logistics and Supply Chain Management, 4th Edition by Mangan 4th edition Quiz - Answers

Test Bank for Global Logistics and Supply Chain Management, 4th Edition, 4e by Mangan, Lalwani, Calatayud TEST BANK ISBN-13: 9781119702993 Full chapters included (This book has combined Test Bank-Ch...

By Test-Bank Lounge , Uploaded: Sep 29, 2022

$10

 *NURSING> QUESTIONS & ANSWERS > NURSING NR 228 Nutrition Week 7 edapt - Nutrition and Biliary Health- nutrition for gastrointestinal health - Chamberlain College of Nursing (All)

preview
NURSING NR 228 Nutrition Week 7 edapt - Nutrition and Biliary Health- nutrition for gastrointestinal health - Chamberlain College of Nursing

NURSING NR 228 Nutrition Week 7 edapt - Nutrition and Biliary Health- nutrition for gastrointestinal health - Chamberlain College of Nursing

By QuizMaster , Uploaded: Mar 29, 2023

$10.5

 *NURSING> QUESTIONS & ANSWERS > NURSING NR 228 Nutrition- Week 3 nutrition edapt - Introduction to Energy - Chamberlain College of Nursing (All)

preview
NURSING NR 228 Nutrition- Week 3 nutrition edapt - Introduction to Energy - Chamberlain College of Nursing

NURSING NR 228 Nutrition- Week 3 nutrition edapt - Introduction to Energy - Chamberlain College of Nursing

By QuizMaster , Uploaded: Mar 29, 2023

$3

 Mathematics> QUESTIONS & ANSWERS > MATHS 221 Week 6 Homework (All)

preview
MATHS 221 Week 6 Homework

MATHS 221 Week 6 Homework 1. A consumer analyst reports that the mean life of a certain type of alkaline battery is no more than 36 months. Write the null and alternative hypotheses and note which i...

By Bobweiss , Uploaded: Aug 21, 2020

$12.5

 *NURSING> QUESTIONS & ANSWERS > American Heart Association BLS Instructor Essentials Exams A and B Questions and 100% correct answers (All)

preview
American Heart Association BLS Instructor Essentials Exams A and B Questions and 100% correct answers

American Heart Association BLS Instructor Essentials Exams A and B Questions and 100% correct answers

By Prof.Pierro , Uploaded: Jun 23, 2022

$16.5

 Human Nutrition> QUESTIONS & ANSWERS > Servsafe Manager 2022 (All CHAPTERS 1-9) Tests(Answered) (All)

preview
Servsafe Manager 2022 (All CHAPTERS 1-9) Tests(Answered)

Servsafe Manager 2022 (All CHAPTERS 1-9) Tests(Answered) Servsafe Manager (Chapter 1) What is a foodborne illness outbreak? - When two or more people report the same illness from eating the same f...

By Professor Lynne , Uploaded: Aug 07, 2022

$14.5

 Information Technology> QUESTIONS & ANSWERS > Google Cloud Sales Credential (All)

preview
Google Cloud Sales Credential

Google Cloud Sales Credentialou are in a sales team meeting with a company whose information technology (IT) department is not very familiar with what is cloud technology. What is the best way to de...

By AMAZING GRACE , Uploaded: Aug 22, 2022

$9.5

 *NURSING> QUESTIONS & ANSWERS > Test Bank For Pharmacotherapeutics for Advanced Practice A Practical Approach 5th Edition by Arcangelo; Peterson; Wilbur; Jennifer A. Reinhold Chapter 1-56 (All)

preview
Test Bank For Pharmacotherapeutics for Advanced Practice A Practical Approach 5th Edition by Arcangelo; Peterson; Wilbur; Jennifer A. Reinhold Chapter 1-56

Excel in advanced practice pharmacotherapeutics exams with the 'Test Bank for Pharmacotherapeutics for Advanced Practice: A Practical Approach' 5th Edition by Virginia Poole Arcangelo, Andrew Peterson...

By Dickson , Uploaded: Jan 03, 2024

$12

 *NURSING> QUESTIONS & ANSWERS > Advanced Medical Life Support (AMLS) Post Test Q&A 2023 (All)

preview
Advanced Medical Life Support (AMLS) Post Test Q&A 2023

1. A 45-year-old patient is found supine on the floor. Healthcare providers note pinpoint pupils, shallow respirations, and vomitus in and around the mouth. What course of action should be taken n...

By Exammate , Uploaded: Aug 14, 2023

$7.5

$10.00

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

GET ASSIGNMENT HELP
62
0

Document information


Connected school, study & course



About the document


Uploaded On

Oct 05, 2022

Number of pages

8

Written in

Seller


seller-icon
Nutmegs

Member since 2 years

558 Documents Sold


Additional information

This document has been written for:

Uploaded

Oct 05, 2022

Downloads

 0

Views

 62

Document Keyword Tags

THE BEST STUDY GUIDES

Avoid resits and achieve higher grades with the best study guides, textbook notes, and class notes written by your fellow students

custom preview

Avoid examination resits

Your fellow students know the appropriate material to use to deliver high quality content. With this great service and assistance from fellow students, you can become well prepared and avoid having to resits exams.

custom preview

Get the best grades

Your fellow student knows the best materials to research on and use. This guarantee you the best grades in your examination. Your fellow students use high quality materials, textbooks and notes to ensure high quality

custom preview

Earn from your notes

Get paid by selling your notes and study materials to other students. Earn alot of cash and help other students in study by providing them with appropriate and high quality study materials.


$10.00

WHAT STUDENTS SAY ABOUT US


What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·