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.v2024-06-04.q133 Dumps
  • ««
  • «
  • …
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • »
  • »»
Download Now

Question 26

Which of the following files, located in a user's home directory, contains the Bash history?

Correct Answer: B
insert code

Question 27

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

Correct Answer: A,B
Explanation
The correct commands to create an ext3 filesystem on /dev/sdb1 are /sbin/mke2fs -j /dev/sdb1 and /sbin/mkfs
-t ext3 /dev/sdb1. These commands format the partition /dev/sdb1 with the ext3 filesystem type. The first command uses the mke2fs utility with the -j option, which enables journaling. The second command uses the mkfs utility with the -t option, which specifies the filesystem type. Both commands are equivalent and can be used interchangeably. The other options are incorrect because they use the wrong syntax or parameters for the commands. Option C is wrong because the -c option for the mkfs command checks the device for bad blocks, not the filesystem type. Option D is wrong because there is no such utility as mke3fs. The correct utility name is mke2fs.
insert code

Question 28

In order to display all currently mounted filesystems, which of the following commands could be used?
(Choose TWO correct answers.)

Correct Answer: A,C
Explanation
The correct commands to display all currently mounted filesystems are cat /proc/self/mounts and mount.
The cat /proc/self/mounts command reads the contents of the /proc/self/mounts file, which is a symbolic link to /proc/mounts. This file contains information about all the filesystems that are currently mounted on the system, as reported by the kernel. The mount command without any arguments shows all the mounted filesystems, as recorded by the mount and umount commands. The other options are incorrect because they do not display the mounted filesystems. The free command shows the amount of free and used memory in the system. The lsmounts command is not a standard Linux command. The cat /proc/filesystems command shows the filesystem types that are supported by the kernel. References:
* [LPI Linux Essentials - 2.2 Mounting, Unmounting Filesystems]
* How to get the complete and exact list of mounted filesystems in Linux? - Unix & Linux Stack Exchange
* 4 Commands to List Mounted File Systems in Linux - Linux Shell Tips
* How To Show Mounted Devices In Linux Operating System
* How to Check if a Filesystem is Mounted in Linux?
insert code

Question 29

Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

Correct Answer: A,C
Explanation
PWD",C.pwdComprehensiveExplanation:ThecommandsthatwillprintthecurrentworkingdirectorywhenusingaBas and pwd. The echo command will print the value of the PWD variable, which is set by the shell to the current working directory. The pwd command will print the name of the current working directory. The WD variable is not a standard shell variable and may not be defined. The printwd command is not a valid Linux command.
The pwd variable is not the same as the PWD variable and may not be defined.References:LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.1: Work on the command line, echo command, pwd command
insert code

Question 30

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Correct Answer: D
Explanation
The command that will copy the current line into the vi buffer is yy. The yy command is a shorthand for yank yank, which means to yank (copy) the current line. The vi buffer is a temporary storage area where thecopied text is stored until it is pasted somewhere else. The yy command can also be preceded by a number to indicate how many lines to copy. For example, the command 3yy will copy the current line and the next two lines into the buffer.
The other commands are incorrect for the following reasons:
* A. c: This command is a shorthand for change, which means to delete the text specified by the following motion and enter insert mode. For example, the command cw will delete the current word and allow the user to type a new one.
* B. cc: This command is a shorthand for change change, which means to delete the current line and enter insert mode. This command is similar to dd followed by i, but it is faster and more convenient.
* C. 1c: This command is not valid, as it is missing a motion after the change command. The motion specifies what text to delete and replace. For example, the command 1cw will delete one word and enter insert mode.
* E. 1y: This command is also not valid, as it is missing a motion after the yank command. The motion specifies what text to copy into the buffer. For example, the command 1yw will copy one word into the buffer.
References:
* [LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.8: Perform basic file editing operations using vi, Weight: 3, Key Knowledge Areas: Navigate a document using vi.
* Vi Cheat Sheet, Topic: Basic vi commands.
insert code
  • ««
  • «
  • …
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • »
  • »»
[×]

Download PDF File

Enter your email address to download Lpi.101-500.v2024-06-04.q133 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.