010-160: LPI LINUX ESSENTIALS QUESTIONS AND ANSWERS 2024/2025
0 view 0 purchase
Course
LINUX ESSENTIALS CERTIFICATION
Institution
LINUX ESSENTIALS CERTIFICATION
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 pe...
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
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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TestTrackers. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.