Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
CompTIA Linux+ Practice Tests

You're reading from   CompTIA Linux+ Practice Tests The best practice test preparation for the foundational CompTIA Linux+ certification exam

Arrow left icon
Product type Paperback
Published in Jul 2019
Publisher Wiley
ISBN-13 9781119555964
Length 320 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Steve Suehring Steve Suehring
Author Profile Icon Steve Suehring
Steve Suehring
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

1. Cover FREE CHAPTER
2. Acknowledgments
3. About the Author
4. Introduction 5. Chapter 1 Hardware and System Configuration
6. Chapter 2 System Operations and Maintenance
7. Chapter 3 Security
8. Chapter 4 Linux Troubleshooting and Diagnostics
9. Chapter 5 Automation and Scripting
10. Chapter 6 Practice Exam
11. Answers and Explanations 12. Index
13. Comprehensive Online Learning Environment
14. WILEY END USER LICENSE AGREEMENT

Chapter 3: Security

  1. C. The dd command is used to create disk images, among other things. In this case, the input file is /dev/sda1 and the output file is output.img. It’s also common to add the blocksize option by using the bs argument, such as bs=1M.
  2. C. The tail command provides the end portion of the file given as an argument. Adding the -f option will cause the output to update as new lines are added to the file being tailed.
  3. A. The xz command can compress and decompress files in a variety of formats, one of which is LZMA.
  4. A. The chgrp command can be used to change group ownership of a file. The order is chgrp <groupname> <target>.
  5. C. The -S option displays output in a format such as u=rwx,g=rx,o=rx. The other options listed do not exist.
  6. D. The /srv hierarchy is used for data for server programs. The /etc hierarchy is configuration information, while /var is also data files but variable files such as mail spool files. The /tmp directory is for temporary files....
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images