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

010-160: LPI Linux Essentials Practice Questions and Answers

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
28-05-2024
Written in
2023/2024

010-160: LPI Linux Essentials Practice Questions and Answers whereis - Correct Answer️️ -used to search for programs in restricted locations, such as binary file directories, libraries, and man directories. locate - Correct 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 - Correct Answer️️ -Updates the system managed database of filenames Displays current working directory - Correct Answer️️ -pwd Change into the current user's home directory - Correct Answer️️ -cd ~ cd $HOME Both of these do what Change to the parent directory of the current directory - Correct Answer️️ -cd .. Change to the etc directory in the root (/) directory - Correct Answer️️ -cd /etc Creates a hard link named '' for the file '' - Correct Answer️️ -ln Creates a symbolic link named of - Correct Answer️️ -ln -s touch - Correct 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. - Correct Answer️️ -touch -c Adds the content "Hey there!" to the specified file. - Correct Answer️️ -echo "Hey there!" > cat - Correct 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. - Correct Answer️️ -vi sample Will display the "sample" file's byte count - Correct Answer️️ -wc -c sample Displays the number of characters in the "sample" file - Correct Answer️️ -wc -m sample Display the number of lines in the "sample" file - Correct Answer️️ -wc -l sample Display the word count of the "sample" file - Correct Answer️️ -wc -w sample Extracts the first field of the "/etc/passwd" file - Correct Answer️️ -cut -f 1 /etc/passwd Extract the first three characters from the "/etc/passwd" file - Correct Answer️️ -cut -c 1, 2, 3 /etc/passwd Extracts the third field from the "/etc/shadow" file and uses the : seperator. Since "/etc/shadow" is a : (colon) seperated file, this command will display only the content of the third field in the file. - Correct Answer️️ -cut -d ":" -f 3 /etc/shadow Search for all the rows containing the string "/home" in the "/etc/pa

Show more Read less
Institution
Linux
Course
Linux









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

Written for

Institution
Linux
Course
Linux

Document information

Uploaded on
May 28, 2024
Number of pages
9
Written in
2023/2024
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.
OliviaWest Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
105
Member since
1 year
Number of followers
17
Documents
8528
Last sold
1 day ago
Pure Orchid Haven.

All Documents,and package deals offered by seller Olivia West.

2.8

22 reviews

5
6
4
2
3
4
2
1
1
9

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