Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

LPI 010-160 Linux, 010-160: LPI Linux Essentials, LPI Linux Essentials (01)

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
06-08-2024
Written in
2024/2025

Single character that will allow you to exit the less program in the terminal - answer-q what happens to a users files when a user account is deleted using sudo userdel? - answer-The files remain attached to the UID of the user account that was deleted what is the purpose of the su command in Linux - answer-to switch to a different user profile which of the following best describes what the dmesg command gives you - answer-shows you the message buffer of the kernel provide the argument to ls that will recursively list a directory's contents - answer--R or -recursive Which most frequently is used to connect a harddrive to a motherboard - answer-SATA Used to change permissions in linux - answer-Chmod Which of the following switched would allow you to extract a file - answer--xvzf which of the following is the proper command to archive /Documents/Sales/Docs into a tar ball with name of archivedocs? - answer-Tar -czvf /documents/Sales/Docs Which of the following best describes the purpose of the /etc/skel directory? - answer-Allows for a default home directory when users profile is first created Allows new user profiles to be easily set up with the same defaults what are the default permissions for the /etc/skel - answer-drwxr-xr-x Which of the following distros would still be receiving security updates - answer-Ubuntu LTS(Long Term Service) which two special characters would you use to start a BASH script - answer-#! Which of the following commands would allow you to run the script with its output going into a file with the name of - answer-./ which of the following would be the output of the "free" command - answer-total used free shared buff/cache available(says free) Type the command to bring up the manual for a command - answer-Man What would be a possible output of the following command echo*.?? - answer-C echo(display line of text) *(any # of characters) .(Single Character) ?(Single Alphanumeric) What is the purpose of the PATH variable - answer-It is used to create a generic script that can be run across multiple machines regardless of the different file paths Which distros are webservers on linux - answer-NgineX Apache which of the following would be the output of the last command - answer-wtmp begins Mon Jul 15 10:04 Which of the following does Red Hat use for its package management - answer-RPM Which of the following is used for vector graphics - answer-inkscape Which of the following would allow you to remove the directory assuming it was empty - answer-rmdir Docs19 which of the following would be a proper partition name on a drive - answer-/dev/sdc4 (has to be a single letter drive listed after sd) which are characteristics of free software - answer-source code must remain freely available to users software allows users to access and change the source code to fit their needs What is a linux distro - answer-Different versions of the linux kernel modified to fit more specific functions What is the single word that indicates the beginning of a loop statement in a bash script - answer-while What is the default UID value of the root user - answer-0 type the single character that would allow you to split lines in a bash shell script - answer- how would you add to the PATH variable - answer-edit the/etc/environment file with a text editor Which of the following are decedents of RedHat - answer-CentOS OpenSUSE which of the following best describes the difference between SSD and HDD - answer-SSD is more likely to survive a fall than HDD SSD usually has a longer lifespan Which of the following allow you to turn on the help feature - answer--h --help Shows you the path of your current directory - answer-pwd which of the following could explain why browser cookies could be considered bad - answer-they contain info to identify the user to the website which would allow you to bring up help page for the ls command - answer-ls --help Which of the following are the usual services a cloud service provider might offer - answer-SaaS IaaS PaaS what should you do in order to run the script with the proper permissions - answer-use the "chmod a+xfilename" command and then attempt to rerun the script in an IaaS situation, where would you get the OS for your system - answer-you must provide the OS yourself which would allow you to copy all files and sub directories into the the /Documents/Finance directory - answer-cp -R /Documents/Sales /Documents/Finance (what? How? From? To?) What information can be displayed by top? - answer-Running processes, ordered by CPU or RAM consumption. Which of the following commands can be used to resolve a DNS name to an IP address? - answer-host Which of the following permissions are set on the /tmp/ directory? - answer-rwxrwxrwt Which of the following outputs could stem from the command last? - answer-root tty2 Wed May 17 21:11 - 21:11 (00:00) Which command adds the new user tux and creates the user's home directory with default configuration files? - answer-useradd -m tux Which of the following commands creates an archive file from the contents of the directory ./work/? - answer-tar -cf ./work/ The current directory contains the following file: -rwxr-xr-x 1 root root 859688 Feb 7 08:15 Given that the file is a valid shell script, how can this script be executed? - answer-./ bash Which of the following commands sorts the output of the command export-logs? - answer-export-logs | sort Where is the operating system of a Raspberry Pi stored? - answer-On a removable SD card which is put into the Raspberry Pi What is true about a recursive directory listing? - answer-It includes the content of sub-directories. whereis - answer-used to search for programs in restricted locations, such as binary file directories, libraries, and man directories. locate - answer-Searches the system managed database of filenames for files containing the specified string in the filenames. (Search is much faster than the search performed using the 'find' command) updatedb - answer-Updates the system managed database of filenames Displays current working directory - answer-pwd Change into the current user's home directory - answer-cd ~ cd $HOME Both of these do what Change to the parent directory of the current directory - answer-cd .. Change to the etc directory in the root (/) directory - answer-cd /etc Creates a hard link named '' for the file '' - answer-ln Creates a symbolic link named of - answer-ln -s touch - answer-Can be used to update the timestamp of a file or if that file doesn't exist it will create a blank file with the specified name. Will update the timestamp of the specified file if it exists. If it does not exist it will not create a blank file. - answer-touch -c Adds the content "Hey there!" to the specified file. - answer-echo "Hey there!" cat - answer-Displays the contents of a file Opens the vi editor for the file "sample". This will allow you to write text into a file. - answer-vi sample Will display the "sample" file's byte count - answer-wc -c sample

Show more Read less
Institution
LPI 010-160 Linux, 010-160: LPI Linux Essentials,
Course
LPI 010-160 Linux, 010-160: LPI Linux Essentials,

Content preview

LPI 010-160 LINUX, 010-160: LPI LINUX ESSENTIALS, LPI
LINUX ESSENTIALS (01)
Single character that will allow you to exit the less program in the terminal - answer-q

what happens to a users files when a user account is deleted using sudo userdel? -
answer-The files remain attached to the UID of the user account that was deleted

what is the purpose of the su command in Linux - answer-to switch to a different user
profile

which of the following best describes what the dmesg command gives you - answer-
shows you the message buffer of the kernel

provide the argument to ls that will recursively list a directory's contents - answer--R or -
recursive

Which most frequently is used to connect a harddrive to a motherboard - answer-SATA

Used to change permissions in linux - answer-Chmod

Which of the following switched would allow you to extract a tar.gz file - answer--xvzf

which of the following is the proper command to archive /Documents/Sales/Docs into a
tar ball with name of archivedocs? - answer-Tar -czvf archiveddocs.tar.gz
/documents/Sales/Docs

Which of the following best describes the purpose of the /etc/skel directory? - answer-
Allows for a default home directory when users profile is first created
Allows new user profiles to be easily set up with the same defaults

what are the default permissions for the /etc/skel - answer-drwxr-xr-x

Which of the following distros would still be receiving security updates - answer-Ubuntu
LTS(Long Term Service)

which two special characters would you use to start a BASH script - answer-#!

Which of the following commands would allow you to run the script with its output going
into a file with the name of testoutput.txt - answer-./testscript.sh > testoutput.txt

which of the following would be the output of the "free" command - answer-total used
free shared buff/cache available(says free)

Type the command to bring up the manual for a command - answer-Man

, What would be a possible output of the following command echo*.?? - answer-
Customers.gz
echo(display line of text)
*(any # of characters)
.(Single Character)
?(Single Alphanumeric)

What is the purpose of the PATH variable - answer-It is used to create a generic script
that can be run across multiple machines regardless of the different file paths

Which distros are webservers on linux - answer-NgineX
Apache

which of the following would be the output of the last command - answer-wtmp begins
Mon Jul 15 10:04

Which of the following does Red Hat use for its package management - answer-RPM

Which of the following is used for vector graphics - answer-inkscape

Which of the following would allow you to remove the directory assuming it was empty -
answer-rmdir Docs19

which of the following would be a proper partition name on a drive - answer-/dev/sdc4
(has to be a single letter drive listed after sd)

which are characteristics of free software - answer-source code must remain freely
available to users
software allows users to access and change the source code to fit their needs

What is a linux distro - answer-Different versions of the linux kernel modified to fit more
specific functions

What is the single word that indicates the beginning of a loop statement in a bash script
- answer-while

What is the default UID value of the root user - answer-0

type the single character that would allow you to split lines in a bash shell script -
answer-\

how would you add to the PATH variable - answer-edit the/etc/environment file with a
text editor

Which of the following are decedents of RedHat - answer-CentOS

Written for

Institution
LPI 010-160 Linux, 010-160: LPI Linux Essentials,
Course
LPI 010-160 Linux, 010-160: LPI Linux Essentials,

Document information

Uploaded on
August 6, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
TOPDOCTOR Abacus College, Oxford
View profile
Follow You need to be logged in order to follow users or courses
Sold
10
Member since
2 year
Number of followers
5
Documents
3395
Last sold
6 months ago
TOPGRADER!!

Looking for relevant and updated study material to help you ace your exams? TOPTIERGRADES has your back!!! I have essential exams, test-banks, study bites, assignments all graded A+, Have Complete solutions, and are updated regularly. Please feel free to message me if you are looking for a specific test bank that is not listed on my profile or want a test bank or exam sent to you directly as google doc link. In the event that any of the materials have an issue, please let me know and I\'ll do my best to resolve it or provide an alternative. Thank You & All The Very BEST!!!!!

Read more Read less
5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Trending documents

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