FreeQAs
 Request Exam  Contact
  • Home
  • View All Exams
  • New QA's
  • Upload
PRACTICE EXAMS:
  • Oracle
  • Fortinet
  • Juniper
  • Microsoft
  • Cisco
  • Citrix
  • CompTIA
  • VMware
  • ISC
  • SAP
  • EMC
  • PMI
  • HP
  • Salesforce
  • Other
  • Oracle
    Oracle
  • Fortinet
    Fortinet
  • Juniper
    Juniper
  • Microsoft
    Microsoft
  • Cisco
    Cisco
  • Citrix
    Citrix
  • CompTIA
    CompTIA
  • VMware
    VMware
  • ISC
    ISC
  • SAP
    SAP
  • EMC
    EMC
  • PMI
    PMI
  • HP
    HP
  • Salesforce
    Salesforce
  1. Home
  2. Lpi Certification
  3. 101-500 Exam
  4. Lpi.101-500.v2026-08-25.q107 Dumps
  • ««
  • «
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • …
  • »
  • »»
Download Now

Question 41

Which program finds only files that are in your PATH?

Correct Answer:
WHICH,/USR/BIN/WHICH
insert code

Question 42

Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.) menuentry

Correct Answer: A,E
insert code

Question 43

Which variable defines the directories in which a Bash shell searches for executable commands?

Correct Answer: C
Explanation
The PATH variable defines the directories in which a Bash shell searches for executable commands.
The PATH variable is a colon-separated list of directories that the shell scans when a command is entered. For example, if the PATH variable is set to /usr/local/bin:/usr/bin:/bin, then the shell will look for the command in these three directories, in order. If the command is not found in any of these directories, the shell will report an error message. The other options are either invalid or do not perform the desired task.
The BASHEXEC, EXECPATH and PATHRC variables are not valid Bash variables. The BASHRC variable is used to specify a file that is executed whenever a new interactive shell is started, but it does not affect the command search path. References:
* LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.1 Work on the command line
* LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)
insert code

Question 44

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

Correct Answer: D
Explanation
The :e command in vi is used to edit a file. If the file name is not specified, it will edit the current file. If the file has been changed by another process, the :e command will reload the file with the new content, discarding any unsaved changes made in vi. Therefore, the :e command can be used to reopen the file for editing with the new content without exiting vi. The other options are either invalid or do not perform the desired task.
The :r command is used to read the content of another file or command and insert it into the current file.
The :n command is used to edit the next file in the argument list, if any. The :w command is used to write the current file to disk, optionally with a new name. References:
* LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.7 Use and edit text files
* LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)
insert code

Question 45

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

Correct Answer: A,C
Explanation
The ext3 and ext2 filesystems preallocate a fixed number of inodes at the filesystem's make/creation time and do not generate them as needed. This means that the number of inodes in these filesystems is determined by the size of the partition and the inode ratio, which is usually 16 KB per inode. The inode ratio can be specified when creating the filesystem with the mke2fs command. The number of inodes in these filesystems cannot be changed dynamically, unless the filesystem is reformatted. This can lead to inode exhaustion, which occurs when all the available inodes are used up, even if there is still free disk space. To avoid this problem, it is advisable to estimate the number of files and directories that will be stored on the filesystem and adjust the inode ratio accordingly. The other options are incorrect because they do not preallocatea fixed number of inodes at the filesystem's make/creation time. The JFS and XFS filesystems use dynamic inode allocation, which means that they create inodes as needed, depending on the file and directory creation. The procfs filesystem is a virtual filesystem that does not store any data on the disk, but provides information about the processes and the kernel. Therefore, it does not have any inodes.
For more information on how inodes work and how to manage them, you can refer to the following articles:
* Inodes in Linux: limit, usage and helpful commands | Stackscale
* filesystems - What is an inode? - Unix & Linux Stack Exchange
* Allocation Methods | Linux.org
insert code
  • ««
  • «
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • …
  • »
  • »»
[×]

Download PDF File

Enter your email address to download Lpi.101-500.v2026-08-25.q107 Dumps

Email:

FreeQAs

Our website provides the Largest and the most Latest vendors Certification Exam materials around the world.

Using dumps we provide to Pass the Exam, we has the Valid Dumps with passing guranteed just which you need.

  • DMCA
  • About
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
©2026 FreeQAs

www.freeqas.com materials do not contain actual questions and answers from Cisco's certification exams.