Which command can be used to abnormally terminate a script with a specific status?
A. Exit
B. Stop
C. End
D. Term Correct answer- A
Which one of the following statements are NOT true of the /etc/shadow file on a Linux
system?
(This is normally a multi-select question however I modified it so...
which command can be used to abnormally terminate a script with a specific status
which one of the following statements are not true of the etcshadow
Geschreven voor
LINUX ESSENTIALS 010-150
Alle documenten voor dit vak (3)
Verkoper
Volgen
EvaTee
Ontvangen beoordelingen
Voorbeeld van de inhoud
LINUX ESSENTIALS 010-150 BEST
STUDY GUIDE 2019
Which command can be used to abnormally terminate a script with a specific status?
A. Exit
B. Stop
C. End
D. Term Correct answer- A
Which one of the following statements are NOT true of the /etc/shadow file on a Linux
system?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. It contains an account's expiration information.
B. It does not contain the UIDs of the users on the system.
C. All the users on the system have read access to this file.
D. It contains the password for accounts in hashed format. Correct answer- C
A text file keeps records in the following format:
field1 | field2 | field3 | field4
Which of the following commands will you use to display only the information in the
second field for all the records in the file?
Note: Assume the name of the file to be rec.txt.
A. cut -f 2 rec.txt
B. cut -f 2 -d "|" rec.txt
C. echo rec.txt | cut -f 2
D. cut -c 2 rec.txt Correct answer- B
Which of the following information can NOT be displayed using the netstat command?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. Routing table
B. List of open ports
C. Round-trip network travel time
,D. Network interface information Correct answer- C
Which of the following symbols can be used to write multi-line commands on the Linux
terminal?
A. &
B. |
C. \
D. ; Correct answer- C
The sample.txt file does not exist in the current working directory. What happens when
the nano sample.txt command is executed?
A. The editor starts but displays an error message in the status bar.
B. The editor does not start and displays an error message on the terminal.
C. The editor starts and displays the message "Warning: no write permission" in the
status bar.
D. The editor starts and displays the message "New File" in the status bar. Correct
answer- D
Where do most drivers exist on a Linux system?
A. Linux kernel
B. Configuration files
C. Libraries
D. Firmware Correct answer- A
Which of the following programming languages is implemented as a compiled
language?
A. Bash shell
B. Python
C. C++
D. Perl Correct answer- C
Which of the following commands can be used to display the configuration of the first
Ethernet device?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. ifconfig eth1
B. NULL
C. ifconfig ethernet
D. ifconfig or ifconfig eth0 Correct answer- D
,Which of the following options cause cp to prompt before overwriting an existing file?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. -p
B. -i or --interactive
C. NULL
D. -f Correct answer- B
Which archive format is NOT supported by tar?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. gzip
B. xz
C. zip
D. bzip2 Correct answer- C
Which of the following is a common server program?
A. GIMP
B. GNOME
C. LibreOffice
D. Samba Correct answer- D
Which of the following makes a good password?
A. Name of a character from the user's favorite book
B. The user's username
C. None of these
D. User's telephone number Correct answer- C
Which of the following characters in a file's permission string identifies it as a symbolic
link?
A. @
B. w
C. r
D. l Correct answer- D
Which usermod options are used to move a user's home directory (files included) to a
new location?
, (This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. -u
B. -l
C. NULL
D. -d or -m Correct answer- D
Which of the following legal areas governs general ideas, independent of their specific
implementation?
A. Trade secret
B. Copyright
C. Patent
D. Trademark Correct answer- C
Which Linux distribution is most likely to be found in use on a cell phone?
A. Fedora
B. CentOS
C. Android
D. Debian Correct answer- C
Which of the following wc options displays the number of characters in a file?
A. -w
B. -c
C. -m
D. -l Correct answer- C
Which one of the following is NOT a Linux native filesystem that holds the majority of a
Linux installation?
(This is normally a multi-select question however I modified it so that you can only
choose one answer)
A. ReiserFS
B. ext4fs
C. JFS
D. HFS Correct answer- D
Which of the following keystrokes inserts a blank line below the current line in vi's
command mode?
A. i
B. :wq
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
√ Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, Bancontact of creditcard voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper EvaTee. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €13,12. Je zit daarna nergens aan vast.