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
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

010-160: LPI LINUX ESSENTIALS QUESTIONS AND ANSWERS 2024/2025

Document preview thumbnail
Preview 2 out of 12 pages

whereis → used to search for programs in restricted locations, such as binary file directories, libraries, and man directories. locate → 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 → Updates the system managed database of filenames Displays current working directory → pwd Change into the current user's home directory → cd ~ → → cd $HOME → → Both of these do what Change to the parent directory of the current directory → cd .. 2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel! 1 | P a g e | G r a d e A + | 2 0 24 / 2 0 2 5 Change to the etc directory in the root (/) directory → cd /etc Creates a hard link named '' for the file '' → ln Creates a symbolic link named of → ln -s touch → 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. → touch -c Adds the content "Hey there!" to the specified file. → echo "Hey there!" cat → Displays the contents of a file Opens the vi editor for the file "sample". This will allow you to write text into a file. → vi sample 2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel! 1 | P a g e | G r a d e A + | 2 0 24 / 2 0 2 5 Will display the "sample" file's byte count → wc -c sample Displays the number of characters in the "sample" file → wc -m sample Display the number of lines in the "sample" file → wc -l sample Display the word count of the "sample" file → wc -w sample Extracts the first field of the "/etc/pass

Content preview

2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel!


010-160: LPI LINUX ESSENTIALS
QUESTIONS AND ANSWERS 2024/2025
whereis

→ used to search for programs in restricted locations, such as binary file directories,
libraries, and man directories.


locate

→ 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

→ Updates the system managed database of filenames


Displays current working directory


→ pwd


Change into the current user's home directory

→ cd ~

→ cd $HOME

→ Both of these do what


Change to the parent directory of the current directory

→ cd ..




1|Page| GradeA+ | 2 0 0 2 5

, 2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel!

Change to the etc directory in the root (/) directory

→ cd /etc


Creates a hard link named 'format.txt' for the file 'fmt.txt'

→ ln fmt.txt format.txt


Creates a symbolic link named sym.txt of fmt.txt


→ ln -s fmt.txt sym.txt


touch

→ 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.


→ touch -c file1.txt


Adds the content "Hey there!" to the specified file.

→ echo "Hey there!" > sample.txt


cat filename.txt

→ Displays the contents of a file


Opens the vi editor for the file "sample". This will allow you to write text into a file.

→ vi sample



1|Page| GradeA+ | 2 0 0 2 5

Document information

Uploaded on
October 16, 2024
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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

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.
ScholarsAscend
3.7
(79)
Sold
481
Followers
39
Items
29513
Last sold
1 hour ago




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions