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
Written for
LINUX ESSENTIALS 010-150
All documents for this subject (3)
Seller
Follow
EvaTee
Reviews received
Content preview
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
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 EvaTee. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.49. You're not tied to anything after your purchase.