LX0-104 Named Practice Questions
The free LX0-104: CompTIA Linux Powered by LPI 2 questions that deal with named, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #1
You need to copy a file named index.html from your home directory to /var/www/html. Which command would you use?
Correct answer: B
Explanation
The 'cp' command is used to copy files in Linux.
Question #5
A user wants to change the ownership of a file named report.txt to user 'alice'. Which command should you use?
Correct answer: B
Explanation
The 'chown' command changes the owner of a file in Linux.
Question #9
A user wants to compress a directory named 'project'. What command would accomplish this using tar?
Correct answer: D
Explanation
The 'tar -czf' command creates a compressed archive of a directory.
Question #10
Which command would you use to view the contents of a text file named notes.txt in the terminal?
Correct answer: C
Explanation
The 'cat' command is used to display the contents of a file in the terminal.
Continue with LX0-104: CompTIA Linux Powered by LPI 2
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in LX0-104: CompTIA Linux Powered by LPI 2, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All LX0-104: CompTIA Linux Powered by LPI 2 practice questions →
