Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

010-160 LPI LINUX ESSENTIALS QUESTIONS & ANSWERS

Beoordeling
-
Verkocht
-
Pagina's
6
Cijfer
A+
Geüpload op
18-10-2024
Geschreven in
2024/2025

010-160 LPI LINUX ESSENTIALS QUESTIONS & ANSWERS

Instelling
LINUX ESSENTIALS
Vak
LINUX ESSENTIALS

Voorbeeld van de inhoud

010-160: LPI LINUX
ESSENTIALS
QUESTIONS &
ANSWERS
Whereis - Answers-used to search for programs in restricted locations, such as binary
file directories, libraries, and man directories.

Locate - Answers-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 - Answers-Updates the system managed database of filenames

Displays current working directory - Answers-pwd

Change into the current user's home directory - Answers-cd ~

Cd $HOME

Both of these do what

Change to the parent directory of the current directory - Answers-cd ..

Change to the etc directory in the root (/) directory - Answers-cd /etc

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

Creates a symbolic link named sym.txt of fmt.txt - Answers-ln -s fmt.txt sym.txt

Touch - Answers-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. - Answers-touch -c file1.txt

Adds the content "Hey there!" to the specified file. - Answers-echo "Hey there!" >
sample.txt

Cat filename.txt - Answers-Displays the contents of a file

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

Will display the "sample" file's byte count - Answers-wc -c sample

Displays the number of characters in the "sample" file - Answers-wc -m sample

Display the number of lines in the "sample" file - Answers-wc -l sample

Display the word count of the "sample" file - Answers-wc -w sample

Extracts the first field of the "/etc/passwd" file - Answers-cut -f 1 /etc/passwd

Extract the first three characters from the "/etc/passwd" file - Answers-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. - Answers-cut -d ":" -f 3 /etc/shadow

Search for all the rows containing the string "/home" in the "/etc/passwd" file - Answers-
grep /home /etc/passwd

Display the number of lines containing the string "/bin" in the "/etc/passwd" file -
Answers-grep -c /bin /etc/passwd

Display the details of the root user from the /etc/shadow file - Answers-grep root
/etc/shadow

Search the /etc directory recursively for the string "wlan" - Answers-grep -r wlan /etc

Find all the files in the /etc directory having names that start with pass - Answers-find
/etc -name pass*

List the files in the /etc directory with extensions conf (limit the search to one level) -
Answers-find /etc -maxdepth 1 -name *.conf

Geschreven voor

Instelling
LINUX ESSENTIALS
Vak
LINUX ESSENTIALS

Documentinformatie

Geüpload op
18 oktober 2024
Aantal pagina's
6
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$11.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Greaterheights Birkbeck, University of London
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1150
Lid sinds
4 jaar
Aantal volgers
881
Documenten
20010
Laatst verkocht
1 week geleden

4.0

221 beoordelingen

5
121
4
43
3
24
2
11
1
22

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen