Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 010-160 Exam Questions

Exam Name: LPI Linux Essentials - Exam 010, (version 1.6) Exam
Exam Code: 010-160
Related Certification(s): LPI Linux Essentials Certification
Certification Provider: LPI
Actual Exam Duration: 60 Minutes
Number of 010-160 practice questions in our database: 81 (updated: Aug. 09, 2026)
Expected 010-160 Exam Topics, as suggested by LPI :
  • Topic 1: The Linux Community and a Career in Open Source: This section of the exam measures skills of an Aspiring Open Source Developer and covers the history and growth of Linux along with its major distributions, embedded uses like Raspberry Pi, and its role in cloud computing. It also requires familiarity with prominent open source applications across desktop, server, and development contexts, including package management tools. Additionally, it addresses open source philosophy and licensing principles, and evaluates basic ICT skills relevant to working within Linux environments.
  • Topic 2: Finding Your Way on a Linux System: Aimed at the Junior Linux System Administrator, this domain evaluates competence using the Linux command line. Candidates must demonstrate an understanding of shell syntax, environment variables, and quoting conventions. They are expected to navigate help systems such as man and info pages, manipulate directories and files through absolute and relative paths, and perform basic file operations including creation, movement, and deletion.
  • Topic 3: The Power of the Command Line: This section measures the abilities of a Linux Script Developer and focuses on archive management using tools like tar and gzip, as well as data searching and filtering via utilities such as grep and cut. It also assesses the capacity to transform repetitive commands into simple shell scripts, employing constructs such as shebang lines, loops, variables, and error handling to automate tasks.
  • Topic 4: The Linux Operating System: Targeted at the IT Support Technician, this domain covers the selection of operating systems and their life cycles, differences between major OS types, and essential hardware components including storage and drivers. It further explores how data is stored and logged in a Linux system, and mandates competence in querying network configurations, understanding TCP/IP concepts, and verifying connectivity using basic networking tools.
  • Topic 5: Security and File Permissions: This section evaluates the expertise of a Linux Security Administrator in user and group management, permission structures, and directory security. It addresses root and system user distinctions, account creation and modification processes, and manipulation of file ownership and permission settings. Knowledge of special directories, symbolic links, and the behaviour of sticky bits completes the required security skill set.
Disscuss LPI 010-160 Topics, Questions or Ask Anything Related
0/2000 characters

Paul Hall

1 day ago
The Linux Operating System section often asks about the boot process, service management, and where configuration files live in the filesystem hierarchy. I passed by reviewing systemd basics, the stages of boot, and the FHS so I could quickly eliminate answer choices that mixed up userland and kernel responsibilities.
upvoted 0 times
...

Michael Sanchez

15 days ago
I passed Linux Essentials version 1.6 by focusing less on memorization and more on navigating a live Linux system. Getting comfortable with the filesystem layout, basic package concepts, and where configuration tends to live helped me answer scenario style questions quickly.
upvoted 0 times
...

Elizabeth Hernandez

1 month ago
The Power of the Command Line tests practical tasks like composing pipes, redirects, and command options to transform text or filter logs. A friend passed after hands-on practice with small pipelines, understanding stdin and stderr, and learning to read man pages so they could reason through tricky command chains.
upvoted 0 times
...

Harold Rodriguez

2 months ago
I managed to pass the 010 160 exam on my first try, and the security and file permissions section was trickier than expected. Reviewing chmod in both symbolic and numeric forms and understanding ownership with chown and groups made the difference.
upvoted 0 times
...

Rebecca Jackson

2 months ago
Finding Your Way on a Linux System usually has questions that ask you to resolve file paths or predict results of sequences of cd, ls, and pwd commands. I managed to pass after drilling absolute versus relative paths, dot and tilde shortcuts, and practicing with hidden files to avoid the usual path traps.
upvoted 0 times
...

Barbara Brown

3 months ago
I passed the LPI Linux Essentials 010 160 v1.6, and the biggest help was daily command line practice with ls, find, grep, pipes, and redirection until it felt automatic. The exam wording can be subtle, so I slowed down and mapped each question to what I would actually type on a terminal.
upvoted 0 times
...

Amanda Robinson

3 months ago
The Linux Community and a Career in Open Source often appears as scenario questions about licensing, contributor etiquette, or where to find mentorship and project governance resources. A teammate passed by studying common licenses, contribution workflows, and community norms and thanks Pass4Success for a focused question set that helped prepare quickly.
upvoted 0 times
...

Brenda Garcia

4 months ago
Started with simulation-style questions on file permissions, which threw me off because they mixed numeric and symbolic modes, and practicing chmod and umask in a VM helped a lot.
upvoted 0 times

Kevin Baker

3 months ago
Interestingly, some multiple-choice items tested Linux community and career topics in subtle ways, so brushing up on open source roles and basic licensing terms pays off.
upvoted 0 times
...

Sandra Martinez

3 months ago
I found the command-line piping and redirection scenarios confusing at first, but running small examples cleared it up.
upvoted 0 times

Stephen Sanchez

3 months ago
Another tricky area was ownership and group concepts on questions that required thinking about default umask behavior when creating files in shared directories, and my LPI 010-160 study guide exercises helped.
upvoted 0 times
...
...

Christopher Rodriguez

4 months ago
Personally I stumbled over interpreting service permissions and setuid bits until I wrote quick scripts to test them, which made the behavior clear.
upvoted 0 times

Paul Flores

3 months ago
For me the confusing bit was permission bits on directories versus files since the execute bit controls traversal, and walking through examples saved time.
upvoted 0 times
...
...
...

Julio

4 months ago
Passed my Linux Essentials exam today. Pass4Success, you're a lifesaver!
upvoted 0 times
...

Jacqueline

4 months ago
Scripting basics and when to use shebangs vs. executable bits was a head-scratcher. Pass4Success practice gave me examples of tricky wording and what the graders expect.
upvoted 0 times
...

Heidy

5 months ago
The package management section was tough, especially dependencies and upgrades in Debian-based systems. The practice exams showed the typical traps and how to read the output to choose the right answer.
upvoted 0 times
...

Mica

5 months ago
LPI Linux Essentials - done and dusted! Pass4Success made it a breeze. Thank you!
upvoted 0 times
...

Mitzie

5 months ago
Pass4Success practice exams were spot-on in preparing me for the LPI Linux Essentials exam. Don't forget to review the command-line basics!
upvoted 0 times
...

Clare

5 months ago
My initial nervousness was about the breadth of topics in the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success organized content logically with practice tests that mirrored the real exam and clear rationales. You've got this—steady effort pays off, future test-takers.
upvoted 0 times
...

Kaitlyn

6 months ago
Just passed the LPI Linux Essentials exam! The file system hierarchy was a key topic. Expect questions on directory structures and their purposes. Study the FHS thoroughly!
upvoted 0 times
...

Felice

6 months ago
Aced the Linux Essentials cert! Pass4Success questions were spot-on. Highly recommend!
upvoted 0 times
...

Darrin

6 months ago
I felt nervous about not remembering key commands under pressure for the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success offered concise summaries, drill sets, and mentor-like guidance that boosted my confidence. Stay curious, keep practicing, and you will shine on exam day.
upvoted 0 times
...

Marion

6 months ago
I was jittery about time and accidentally skipping questions during the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success's timed practice sessions and review notes helped me pace myself and reduce stress. You can do this—commit to steady practice and trust your preparation.
upvoted 0 times
...

Frank

7 months ago
Definitely use pass4success practice tests to identify your weak areas and focus your studies. Time management is key on this exam.
upvoted 0 times
...

Denna

7 months ago
My nerves stemmed from uncertainty about the basics of Linux commands and file permissions for the LPI Linux Essentials Certificate, version 1.6 exam. pass4success broke topics into digestible chunks and provided hands-on practice that made concepts feel manageable. Keep practicing and stay confident—future test-takers can conquer it.
upvoted 0 times
...

Kaycee

7 months ago
Passing the LPI Linux Essentials exam was a breeze with Pass4Success practice exams - they really nailed the actual test content.
upvoted 0 times
...

Detra

7 months ago
Networking basics in the exam, like subnetting and CIDR notation, felt ambiguous at times. Pass4Success practice exposed the common ways those questions get framed, and I learned to map options quickly.
upvoted 0 times
...

Bettye

8 months ago
The exam included questions on shell input/output redirection. Understand how to use >, >>, <, and | operators. Practice combining commands with pipes.
upvoted 0 times
...

Francesco

8 months ago
Passed the exam with confidence thanks to Pass4Success! Make sure you understand basic cron job syntax. Practice creating and managing scheduled tasks.
upvoted 0 times
...

Willard

8 months ago
I started anxious about identifying which topics would show up in the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success delivered realistic mock exams and targeted reviews that built my test-taking intuition. Believe in your prep and stay persistent—future test-takers can succeed.
upvoted 0 times
...

Luis

8 months ago
Debating about runlevels vs. systemd targets was brutal. The practice tests clarified what counts as boot targets and how to switch between them, which made the exam much less stressful.
upvoted 0 times
...

Benedict

9 months ago
The hardest part for me was the clock and the fear of syntax errors on the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success offered exam-style drills and clear explanations that helped me pace myself and think clearly. You've got this—prepare steadily, stay calm, and go for it, future test-takers.
upvoted 0 times
...

Gabriele

9 months ago
Just passed the LPI Linux Essentials exam! Thanks Pass4Success for the great prep materials.
upvoted 0 times
...

Malinda

9 months ago
I was nervous about forgetting essential Linux commands during the LPI Linux Essentials Certificate, version 1.6 exam. Pass4Success provided structured practice quizzes and concise review notes that clarified tricky topics, giving me confidence to tackle the questions. If I can pass, so can you—stay focused, practice consistently, and keep believing in yourself.
upvoted 0 times
...

Frederica

9 months ago
I just passed the LPI Linux Essentials Certificate exam, and the Pass4Success practice questions were a big help. One question that confused me was about the Linux community. It asked to identify the main principles of open source software. I had to think about freedom to use, modify, and distribute the software.
upvoted 0 times
...

Rashad

10 months ago
I struggled with the command line basics under pressure, especially piping and redirection in mixed commands. Pass4Success practice helped me see common pitfalls and reinforced the flow with realistic questions.
upvoted 0 times
...

Marta

10 months ago
The exam tested knowledge of basic LVM concepts. Understand physical volumes, volume groups, and logical volumes. Know basic LVM commands.
upvoted 0 times
...

Lorrine

10 months ago
The hardest part for me was Linux file permissions and ACLs; those tricky permission combos on files and directories had me second-guessing the syntax. Pass4Success practice exams walked me through the exact edge cases and explained the reasoning, so I finally got it.
upvoted 0 times
...

Tawna

10 months ago
Be ready for questions on environment variables. Know how to set, unset, and use variables in the shell. Understand the difference between shell and environment variables.
upvoted 0 times
...

Richelle

11 months ago
Passing the LPI Linux Essentials Certificate exam was a significant milestone for me, and the Pass4Success practice questions were a great resource. One question that stumped me was about file permissions. It asked how to change the ownership of a file to a different user. I wasn't entirely sure of the 'chown' command syntax, but I passed the exam.
upvoted 0 times
...

Tayna

11 months ago
Pass4Success really helped me prepare! The exam covered basic virtualization concepts. Understand the differences between VMs and containers.
upvoted 0 times
...

Nobuko

11 months ago
Passed LPI Linux Essentials with flying colors! Pass4Success, you're a lifesaver!
upvoted 0 times
...

Skye

11 months ago
I am happy to have passed the LPI Linux Essentials Certificate exam, with help from Pass4Success practice questions. One question that I found challenging was about the different types of shells in Linux. It asked which shell is the default for most Linux distributions. I hesitated between Bash and Zsh but eventually chose correctly.
upvoted 0 times
...

Filiberto

1 year ago
File system types came up in the exam. Understand the differences between ext4, XFS, and Btrfs. Know basic mkfs and mount commands.
upvoted 0 times
...

Vince

1 year ago
The exam tested knowledge of remote access tools. Be comfortable with using ssh and understanding its security features.
upvoted 0 times
...

Heike

1 year ago
Linux Essentials exam conquered! Couldn't have done it without Pass4Success materials.
upvoted 0 times
...

Dominque

1 year ago
Thanks to Pass4Success, I aced the exam! Be prepared for questions on basic troubleshooting. Know how to read system logs and use tools like dmesg.
upvoted 0 times
...

Willie

1 year ago
Just got my Linux Essentials certificate! Pass4Success was a game-changer for quick prep.
upvoted 0 times
...

Eura

1 year ago
The exam included questions on Linux boot process. Understand the roles of BIOS/UEFI, bootloader, and init system. Know the basics of systemd.
upvoted 0 times
...

Malcom

1 year ago
Software RAID concepts were covered. Understand the differences between RAID 0, 1, and 5. Know basic mdadm commands for managing software RAID.
upvoted 0 times
...

Jina

1 year ago
Nailed the Linux Essentials cert! Pass4Success made prep a breeze in such short time.
upvoted 0 times
...

Danilo

1 year ago
The exam tested knowledge of basic Regular Expressions. Practice using regex with grep and sed. Understanding metacharacters is crucial.
upvoted 0 times
...

Ma

1 year ago
Passed the exam thanks to thorough preparation with Pass4Success! Be ready for questions on system monitoring. Know how to check disk usage, memory usage, and system load.
upvoted 0 times
...

Winifred

1 year ago
LPI Linux Essentials - check! Pass4Success questions aligned perfectly with the real exam.
upvoted 0 times
...

Barney

1 year ago
The exam included questions on Linux distributions. Understand the differences between major distros like Ubuntu, Fedora, and CentOS.
upvoted 0 times
...

Myong

1 year ago
Thanks to Pass4Success, I breezed through the Linux Essentials exam. Highly recommend!
upvoted 0 times
...

Lizbeth

1 year ago
File compression and archiving were covered. Know how to use tar, gzip, and zip commands. Practice creating and extracting archives.
upvoted 0 times
...

Carla

2 years ago
Pass4Success's practice tests were spot-on! The exam tested knowledge of basic security concepts. Understand the importance of strong passwords and regular system updates.
upvoted 0 times
...

Ruth

2 years ago
Passed LPI Linux Essentials today! Pass4Success practice tests were invaluable.
upvoted 0 times
...

Geraldo

2 years ago
The exam included questions on shell scripting basics. Be prepared to write simple scripts using variables, loops, and conditional statements.
upvoted 0 times
...

Joye

2 years ago
Successfully passing the LPI Linux Essentials Certificate exam was a great feeling, and the Pass4Success practice questions were invaluable. One tricky question was about the Linux kernel. It asked to identify the role of the kernel in the operating system. I had to recall details about resource management and hardware abstraction.
upvoted 0 times
...

Nickolas

2 years ago
User and group management was tested. Know how to create, modify, and delete users and groups. Understand the purpose of /etc/passwd and /etc/group files.
upvoted 0 times
...

Heike

2 years ago
Linux Essentials cert achieved! Pass4Success helped me prep quickly and effectively.
upvoted 0 times
...

Stanton

2 years ago
Text processing came up in the exam. Practice using grep, sed, and awk for searching and manipulating text files. These skills are essential for any Linux user.
upvoted 0 times
...

Dalene

2 years ago
Passed the exam with flying colors! Pass4Success really helped. Make sure you can explain the concept of open-source software and its licensing models.
upvoted 0 times
...

Starr

2 years ago
I passed the LPI Linux Essentials Certificate exam, and the Pass4Success practice questions were a big help. One question that puzzled me was about the different types of processes in Linux. It asked how to list all running processes and their statuses. I was unsure whether to use 'ps' or 'top', but I managed to get through it.
upvoted 0 times
...

Loren

2 years ago
Grateful for Pass4Success - their practice questions were key to passing Linux Essentials.
upvoted 0 times
...

Sophia

2 years ago
The exam covered basic networking concepts. Know how to use ifconfig/ip to view and configure network interfaces. Understanding IP addressing is important.
upvoted 0 times
...

Bernardo

2 years ago
The LPI Linux Essentials Certificate exam is now behind me, and I couldn't have done it without the Pass4Success practice questions. A particularly tough question was about the Linux filesystem hierarchy. It asked where user-specific configuration files are typically stored. I had to think about the /home directory and its structure.
upvoted 0 times
...

Delsie

2 years ago
Thanks to Pass4Success, I was well-prepared for questions on process management. Be familiar with ps, top, and kill commands. Understanding job control is crucial.
upvoted 0 times
...

Tasia

2 years ago
I am thrilled to have passed the LPI Linux Essentials Certificate exam, with significant help from Pass4Success practice questions. One question that caught me off guard was about the different types of users in Linux. It asked how to add a new user to the system and set their default shell. I wasn't entirely confident in my answer, but I still passed.
upvoted 0 times
...

Krissy

2 years ago
LPI Linux Essentials exam done! Pass4Success made it so much easier to prepare.
upvoted 0 times
...

Rolland

2 years ago
Linux file system hierarchy questions popped up. Study the purpose of directories like /etc, /home, and /var. Know where to find system logs and configuration files.
upvoted 0 times
...

Adelina

2 years ago
Passing the LPI Linux Essentials Certificate exam was a great achievement for me, and the Pass4Success practice questions were instrumental. There was a question about the command line that asked how to find all files containing a specific string within a directory. I hesitated between 'grep' and 'find' but eventually figured it out.
upvoted 0 times
...

Janet

2 years ago
Package management was a key topic. Understand the differences between apt and yum. Know how to install, update, and remove packages using these tools.
upvoted 0 times
...

Laila

2 years ago
I successfully passed the LPI Linux Essentials Certificate exam, thanks in part to the practice questions from Pass4Success. One challenging question was about the different types of Linux distributions and their package management systems. It asked which package manager is used by Debian-based systems. I was a bit unsure but managed to recall it was APT.
upvoted 0 times
...

Rodrigo

2 years ago
Wow, aced the Linux Essentials cert in record time. Pass4Success questions were spot on!
upvoted 0 times
...

Alyce

2 years ago
The exam tested my knowledge of basic shell commands. Make sure you're comfortable with ls, cd, and pwd. Practice navigating the filesystem efficiently.
upvoted 0 times
...

Georgene

2 years ago
The LPI Linux Essentials Certificate exam is behind me now, and I owe a lot to the Pass4Success practice questions. There was this tricky question about the Linux boot process. It asked to identify the correct sequence of stages from BIOS to the login prompt. I had to think hard about the order of bootloader, kernel, and init system, but I got through it.
upvoted 0 times
...

Franklyn

2 years ago
Just passed the LPI Linux Essentials exam! Grateful to Pass4Success for their spot-on practice questions. Be ready for file permissions scenarios – know your chmod and chown commands inside out!
upvoted 0 times
...

Catarina

2 years ago
I just passed the LPI Linux Essentials Certificate exam, and I have to say, the Pass4Success practice questions were a huge help. One question that stumped me was about the different types of file permissions in Linux. It asked how to change the permissions of a file to make it readable and writable by the owner, but only readable by the group and others. I wasn't entirely sure of the command syntax, but I managed to pass the exam nonetheless.
upvoted 0 times
...

Merilyn

2 years ago
Just passed the LPI Linux Essentials exam! Thanks Pass4Success for the great prep materials.
upvoted 0 times
...

Desirae

2 years ago
Passing the LPI Linux Essentials Certificate exam was a great achievement for me, and I attribute my success to using Pass4Success practice questions. The exam covered a wide range of topics, including major distributions and embedded systems. One question that I remember was about server applications and their role in managing network resources efficiently. Despite my initial confusion, I managed to pass the exam.
upvoted 0 times
...

Lore

2 years ago
My experience with the LPI Linux Essentials Certificate exam was successful, thanks to Pass4Success practice questions. The exam included questions on major applications and their uses, both on desktop and server environments. One question that I found challenging was about Linux in the cloud and its benefits for businesses. Despite my uncertainty, I was able to pass the exam.
upvoted 0 times
...

Maile

2 years ago
Just passed the LPI Linux Essentials exam! One key topic was file permissions. Expect questions on interpreting and modifying permissions using chmod. Study octal notation and understand how read, write, and execute permissions work for users, groups, and others. Thanks to Pass4Success for providing relevant practice questions that helped me prepare quickly!
upvoted 0 times
...

Verdell

2 years ago
I recently passed the LPI Linux Essentials Certificate exam with the help of Pass4Success practice questions. The exam covered topics such as Linux development, major distributions, and applications. One question that stood out to me was related to embedded systems and their use in IoT devices. Despite being unsure of the answer, I managed to pass the exam.
upvoted 0 times
...

Free LPI 010-160 Exam Actual Questions

Note: Premium Questions for 010-160 were last updated On Aug. 09, 2026 (see below)

Question #1

Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?

Reveal Solution Hide Solution
Correct Answer: C

The zip command is used to create compressed archive files that can contain one or more files or directories. The zip command takes the name of the archive file as the first argument, followed by the names of the files or directories to be included in the archive. You can also use wildcards to match multiple files or directories with a common pattern. For example, the command zip poems.zip *.txt will create the ZIP archive poems.zip containing all files in the current directory whose names end in .txt. The other commands are either invalid or do not perform the desired operation. The command zip *.txt > poems.zip will try to create an archive for each file ending in .txt and redirect the output to poems.zip, which is not a valid archive file. The command zcat *.txt poems.zip will try to decompress and concatenate the contents of the files ending in .txt and poems.zip, which is not a valid ZIP file. The command zip cfz poems.zip *.txt will fail because the options c, f, and z are not valid for the zip command. The command cat *.txt | zip poems.zip will try to read the contents of the files ending in .txt from the standard input and create an archive named poems.zip, but this will not preserve the file names or attributes of the original files.Reference:

Linux Essentials - Linux Professional Institute (LPI), section 3.1.1

3.1 Archiving Files on the Command Line - Linux Professional Institute Certification Programs, slide


Question #2

Which of the following commands will search for the file foo.txt under the directory /home?

Reveal Solution Hide Solution
Correct Answer: D

The correct command to search for the file foo.txt under the directory /home is find /home --name foo.txt. This command uses the find command, which is used to search for files and directories that match certain criteria. The first argument, /home, specifies the starting point of the search. The second argument, -name, indicates that the search is based on the name of the file or directory. The third argument, foo.txt, is the name of the file to be searched for. The find command will recursively search all the subdirectories under /home and print the path of any file or directory that matches the name foo.txt.

The other commands are incorrect for various reasons:

A . search /home --file foo.txt is incorrect because there is no such command as search in Linux. The correct command for searching files and directories is find.

B . search /home foo.txt is incorrect because, as mentioned above, there is no search command in Linux. Also, this command does not use any option to specify the search criteria, such as -name, -type, -size, etc.

C . find /home -- file foo.txt is incorrect because the option -file is not valid. The correct option for specifying the type of file or directory is -type, followed by a letter that indicates the type, such as f for regular file, d for directory, l for symbolic link, etc. For example, find /home -type f -name foo.txt would search for a regular file named foo.txt under /home.

E . find /home foo.txt is incorrect because this command does not use any option to specify the search criteria, such as -name, -type, -size, etc. This command will search for any file or directory that has foo.txt as part of its name, not exactly as its name. For example, this command will also match a file named barfoo.txt or a directory named foo.txt.bak.


Question #3

Running the command rm Downloads leads to the following error:

rm: cannot remove 'Downloads/': Is a directory

Which of the following commands can be used instead to remove Downloads, assuming Downloads is

empty? (Choose two correct answers.)

Reveal Solution Hide Solution
Correct Answer: B, E

To remove a directory, you need to use a command that can delete directories, not just files. The rm command can only remove files by default, unless you use the -r option, which stands for recursive. This option tells rm to delete the directory and all of its contents, including subdirectories and files. The rmdir command can also remove directories, but only if they are empty. If the directory contains any files or subdirectories, rmdir will fail and display an error message. Therefore, the correct commands to remove Downloads, assuming it is empty, are rmdir Downloads and rm -r Downloads. The other commands are either invalid or do not work on directories.Reference:

Linux Essentials - Linux Professional Institute (LPI), section 2.3.1

LPI Linux Essentials Study Guide: Exam 010 v1.6, 3rd Edition, chapter 4, page 93.


Question #4

What is true about links in a Linux file system?

Reveal Solution Hide Solution
Correct Answer: D

A symbolic link, also known as a symlink or soft link, is a special type of file that points to another file or directory by its name. A symbolic link can point to a file or directory on the same or different file system, as long as the target is accessible. For example, you can create a symbolic link to a file on a USB drive or a network share, as long as the device is mounted or the connection is established. However, if the target of the symbolic link is moved, renamed, or deleted, the link becomes broken and does not work. To create a symbolic link, you can use the ln command with the -s or --symbolic option, followed by the target name and the link name. For example,ln -s /mnt/usb/file.txt link.txtcreates a symbolic link named link.txt that points to the file.txt on the USB drive mounted at /mnt/usb.

The other options are not true about links in a Linux file system. A symbolic link can point to a directory as well as a file. A hard link, which is a direct reference to the same data as another file, can only point to a file and not a directory. A hard link cannot span across different file systems, because it depends on the inode number, which is unique within a file system. When the target of the symbolic link is moved, the link is not automatically updated, but becomes broken. Any user can create hard links, as long as they have the permission to read and write the target file and the link directory.


Linux Essentials - Linux Professional Institute (LPI)

Ln Command in Linux (Create Symbolic Links) | Linuxize

Question #5

Which of the following commands extracts the contents of the compressed archive file1.tar.gz?

Reveal Solution Hide Solution
Correct Answer: C

The correct command to extract the contents of the compressed archive file1.tar.gz istar -xzf file1.tar.gz. This command uses the following options:

-xmeans extract files from an archive.

-zmeans filter the archive through gzip, which is a compression program that reduces the size of files.

-fmeans use the following archive file name, which is file1.tar.gz in this case.

The other commands are incorrect for the following reasons:

tar -czf file1.tar.gzcreates a compressed archive file1.tar.gz from the files specified after the command, not extract it.

ztar file1.tar.gzis not a valid command, as ztar is not a standard program or option for tar.

tar --extract file1.tar.gzis missing the-zoption to handle the gzip compression, and also the-foption to specify the file name.

detar file1.tar.gzis not a valid command, as detar is not a standard program or option for tar.


Linux Essentials - Topic 106: The Linux Operating System, section 106.2 Use single shell commands and one line command sequences to perform basic tasks on the command line.

LPI Linux Essentials Study Guide: Exam 010 v1.6, 3rd Edition, Chapter 5: Working with Files and Directories, section Compressing and Archiving Files.


Unlock Premium 010-160 Exam Questions with Advanced Practice Test Features:
  • Select Question Types you want
  • Set your Desired Pass Percentage
  • Allocate Time (Hours : Minutes)
  • Create Multiple Practice tests with Limited Questions
  • Customer Support
Get Full Access Now

Save Cancel