[Free] 2017(Nov) Latesttests Examcollection LPI 101-400 Dumps with VCE and PDF 41-50

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

Linux Essentials Certificate Exam, version 1.5

Question No: 41 – (Topic 3)

Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Choose two)

  1. grep -v fred data_file

  2. grep #39;[f]red#39; data_file

  3. egrep fred data_file

  4. grep #39;[Ff]red#39; data_file

  5. grep -i fred data_file

Answer: D,E

Question No: 42 – (Topic 3)

Given a file called birthdays containing lines like:

YYYY-MM-DD Name 1983-06-02 Tim

1995-12-17 Sue

Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?

  1. grep #39;[56]#39; birthdays

  2. grep 05?6? birthdays

  3. grep #39;[0-9]*-0[56]-#39; birthdays

  4. grep 06 birthdays | grep 05

Answer: C

Question No: 43 CORRECT TEXT – (Topic 3)

What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)

Answer: #!

Question No: 44 – (Topic 3)

Which of the following command sequences overwrites the file foobar.txt?

  1. echo quot;QUIDQUIDAGISquot; gt;gt; foobar.txt

  2. echo quot;QUIDQUIDAGISquot; lt; foobar.txt

  3. echo quot;QUIDQUIDAGISquot; gt; foobar.txt

  4. echo quot;QUIDQUIDAGISquot; | foobar.txt

Answer: C

Question No: 45 – (Topic 3)

Which character starts a comment line in a shell script file?

  1. ;

  2. *

  3. #

  4. /

Answer: C

Question No: 46 – (Topic 3)

Which command chain will count the number of regular files with the name of foo.txt within

/home?

  1. ls -lR /home | grep foo.txt | wc -l

  2. find /home -type f -name foo.txt | wc -l

  3. find /home -name foo.txt -count

  4. find /home -name foo.txt | wc -l

  5. grep -R foo.txt /home | wc -l

Answer: B

Question No: 47 – (Topic 3)

How can the normal output of a command be written to a file while discarding the error output?

  1. command gt;2gt;file 1amp;gt;/dev/null

  2. command lt; output gt; /dev/null

  3. command gt; discard-error gt; file

  4. command gt; /dev/null 2amp;gt;1 output

  5. command gt;file 2gt;/dev/null

Answer: E

Question No: 48 – (Topic 3)

What is the output of the following command?

for token in a b c; do echo -n ${token}; done

  1. anbncn

  2. abc

  3. $token$token$token

D. {a}{b}{c}

E. a b c

Answer: B

Question No: 49 – (Topic 3)

What does the exit status 0 indicate about a process?

  1. The process ended without any problems.

  2. The process was terminated by the user.

  3. The process couldn#39;t finish correctly.

  4. The process waited for an input but got none.

  5. The process finished in time.

Answer: A

Question No: 50 – (Topic 3)

Which of the following commands can be used to extract content from a tar file?

  1. tar -xvf

  2. tar -vf

  3. tar -e

  4. tar -c

  5. tar -v

Answer: A

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Examcollection LPI 101-400 Dumps with VCE and PDF 31-40

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

Linux Essentials Certificate Exam, version 1.5

Question No: 31 – (Topic 3)

How can the current directory and its subdirectories be searched for the file named MyFile.xml?

  1. find . -name MyFile.xml

  2. grep MyFile.xml | find

  3. grep -r MyFile.xml .

  4. less MyFile.xml

  5. search Myfile.xml ./

Answer: A

Question No: 32 – (Topic 3)

The script, script.sh, consists of the following lines:

#!/bin/bash echo $2 $1

Which output will appear if the command, ./script.sh test1 test2, is entered?

  1. test1 test2

  2. test2 test1

  3. script.sh test2

  4. script.sh test1

  5. test1 script.sh

Answer: B

Question No: 33 – (Topic 3)

Which of the following commands will set the variable text to olaf is home? (Choose two)

  1. text=olaf\ is\ home

  2. text=$olaf is home

  3. $text=#39;olaf is home#39;

  4. text==#39;olaf is home#39;

  5. text=quot;olaf is homequot;

Answer: A,E

Question No: 34 – (Topic 3)

What is the correct command to extract the contents of the archive file download.bz2?

  1. unpack download.bz2

  2. unzip2 download.bz2

  3. bunzip2 download.bz2

  4. unzip download.bz2

  5. uncompress download.bz2

Answer: C

Question No: 35 – (Topic 3)

Which approach will provide a listing of the contents in a tar archive?

  1. Use the tar command with -t.

  2. Use the grep command.

  3. Use the find command.

  4. Use the zless command.

  5. Use the zlist command.

Answer: A

Question No: 36 – (Topic 3)

The output of the program date should be saved in the variable actdat. What is the correct statement?

  1. actdat=`date`

  2. set actdat=#39;date#39;

  3. date | actdat

  4. date gt; $actdat

  5. actdat=date

Answer: A

Question No: 37 – (Topic 3)

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

  1. tar /home backup.tar

  2. tar -cf /home backup.tar

  3. tar -xf /home backup.tar

  4. tar -xf backup.tar /home

  5. tar -cf backup.tar /home

Answer: E

Question No: 38 – (Topic 3)

Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?

  1. cmd || foo.txt

  2. cmd | foo.txt

  3. cmd amp;amp; foo.txt

  4. cmd gt;gt; foo.txt

  5. cmd gt; foo.txt

Answer: E

Question No: 39 – (Topic 3)

Which command will display the last line of the file foo.txt?

  1. head -n 1 foo.txt

  2. tail foo.txt

  3. last -n 1 foo.txt

  4. tail -n 1 foo.txt

Answer: D

Question No: 40 – (Topic 3)

What is the output of the following command sequence?

for token in a b c; do echo -n quot;$token quot;; done

  1. anbncn

  2. a b c

C. quot;a quot; quot;b quot; quot;c quot;

  1. token token token

  2. abc

Answer: B

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Examcollection LPI 101-400 Dumps with VCE and PDF 1-10

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

Linux Essentials Certificate Exam, version 1.5

Question No: 1 – (Topic 1)

Which of the following programs is not a graphical web browser?

  1. Konqueror

  2. Firefox

  3. Links

  4. Opera

  5. Chrome

Answer: C

Question No: 2 – (Topic 1)

Which one of the following is true about Open Source software?

  1. Open Source software cannot be copied for free.

  2. Open Source software is available for commercial use.

  3. The freedom to redistribute copies must include binary or executable forms of the software but not the source code.

  4. Open Source software is not for sale.

Answer: B

Question No: 3 – (Topic 1)

Which of the following answers are true for cloud computing? (Choose two)

  1. Cloud Computing provides new tools to manage IT resources.

  2. From the business perspective, Cloud Computing means outsourcing or centralization of IT operations.

  3. Cloud Computing is the opposite of green IT; i.e. the use of fossil, non-regenerative energy for computing.

  4. Cloud Computing implies sharing all information with everyone else in #39;the cloud#39;.

Answer: A,B

Question No: 4 – (Topic 1)

What does LAMP mean?

  1. The Linux Advanced Mode Programming Interface which gives advanced capabilities to application developers.

  2. The bus ID of an attached USB device that emits light.

  3. Short for Lightweight Access Management Protocol which synchronizes permissions in a network.

  4. The combination of Linux, Apache, MySQL and PHP or other programming languages.

  5. Short for lamport-clock which is important in distributed network computing.

Answer: D

Question No: 5 – (Topic 1)

Which of the following services are used for network file systems? (Choose two)

  1. Rumba

  2. Python

  3. Samba

  4. OpenLDAP

  5. NFS

Answer: C,E

Question No: 6 – (Topic 1)

Which of the following possibilities is only available when using open source software?

  1. Download of all its existing versions.

  2. Free use.

  3. Access to its detailed help manual.

  4. Access to its source code.

Answer: D

Question No: 7 – (Topic 1)

Which of the following is a Linux based operating system for use on mobile devices?

  1. iOS

  2. CentOS

  3. Android

  4. Debian

Answer: C

Question No: 8 – (Topic 1)

Which of the following is a requirement of the GPL license but not the BSD license?

  1. Users who modify and distribute the software under the GPL license, must make the modifications they made, available to the recipients under the same license.

  2. The GPL license forbids the removal of copyright and license notices from source code files that are distributed.

  3. The GPL license contains a disclaimer of warranty requiring users not to hold the software authors liable for any damages.

  4. The GPL license requires that any legal disputes be settled with the mediation of the Free Software Foundation.

Answer: A

Question No: 9 – (Topic 1)

Which of the following statements is true for a Linux distribution used in an enterprise environment?

  1. These distributions contain proprietary business-related software.

  2. These distributions contain software versions that have proven to be stable even if it is not the recent version in order to minimize problems.

  3. These distributions always contains the newest versions of all packages to minimize the time to market of new features.

  4. These distributions are only affordable by large companies.

Answer: B

Question No: 10 – (Topic 1)

Which of the following applications are popular Open Source relational database systems? (Choose two)

  1. PostgreSQL

  2. NoSQL

  3. MySQL

  4. DB/2

  5. MongoDB

Answer: A,C

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 111-120

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 111 – (Topic 4)

What is the purpose of the Filesystem Hierarchy Standard?

  1. It is a security model used to ensurefiles are organized according to their permissions and accessibility.

  2. It provides unified tools to create, maintain and manage multiple filesystems in a common way.

  3. It defines a common internal structure of inodes for all compliant filesystems.

  4. Itis a distribution neutral description of locations of files and directories.

Answer: D

Question No: 112 – (Topic 4)

Which of the following commands will display the inode usage of each mounted filesystem?

  1. du -i

  2. df -i

  3. lsfs -i

  4. printfs -i

Answer: B

Question No: 113 – (Topic 4)

Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?

  1. iconv

  2. expand

  3. unexpand

  4. tab

Answer: C

Question No: 114 CORRECT TEXT – (Topic 4)

Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)

Answer: quotacheck

Question No: 115 – (Topic 4)

Which of the following statements is correct for a command line ending with a amp; character?

  1. The command’s output is redirected to/dev/null.

  2. The result of the command defines if the next command will be run.

  3. Thecommand is run in background of the current shell.

  4. The command is run as a direct child of theinitprocess.

Answer: C

Question No: 116 – (Topic 4)

Which of the following settings for umask ensures that new files have the default permissions -rw-r— ?

A. 0017

B. 0640

C. 0038

D. 0027

Answer: D

Question No: 117 – (Topic 4)

Which permissions and ownership should the file /etc/passwd have?

  1. -rw—-1 rootroot531 Jun 5 22:45 /etc/passwd

  2. -rw-r-r-1 rootroot531 Jun 5 22:45 /etc/passwd

C. -rw-r-r-1 11531 Jun 5 22:45 /etc/passwd

D. -rw—-1 11531 Jun 5 22:45 /etc/passwd

Answer: B

Question No: 118 – (Topic 4)

Which of the following apt-get commands will install the newest versions of all currently installed packages?

  1. auto-update

  2. full-upgrade

  3. dist-upgrade

  4. install

  5. update

Answer: C

Question No: 119 – (Topic 4)

Which of the following commands is used to modify quota settings? (Choose two.)

  1. editquota

  2. setquota

  3. edquota

  4. quotaedit

  5. quotaset

Answer: C

Question No: 120 – (Topic 4)

Which of the following is true for hard linked files? (Choose three.)

  1. The output ofstatwill reporthardinstead ofregular file.

  2. The hard linked files have the same permissions and owner.

  3. The hard linked files share the same inode.

  4. The hard linked files are indicated by a -gt; when listed withls -1.

  5. The hard linked files must be on the same filesystem.

Answer: B,C,E

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 101-110

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 101 – (Topic 4)

Which of the following are modes of the vi editor? (Choose two.)

  1. edit mode

  2. insert mode

  3. change mode

  4. review mode

  5. command mode

Answer: B,E

Question No: 102 – (Topic 4)

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

  1. cat /proc/self/mounts

  2. free

  3. mount

  4. lsmounts

  5. cat /proc/filesystems

Answer: A,C

Question No: 103 – (Topic 4)

Which of the following commands prints a list of available package updates when using RPM-based package management?

  1. dpkg list

  2. yum list

  3. dpkg check-update

  4. yum check-update

  5. yum list-update

Answer: D

Question No: 104 – (Topic 4)

How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?

  1. rpm -qp apache-xml.rpm

  2. rpm -qv apache-xml.rpm

  3. rpm -ql apache-xml.rpm

  4. rpm -qpl apache-xml.rpm

Answer: D

Question No: 105 – (Topic 4)

Which signal is sent by the kill command by default?

  1. SIGHUP(1)

  2. SIGQUIT(3)

  3. SIGKILL(9)

  4. SIGTERM(15)

Answer: D

Question No: 106 – (Topic 4)

Which of the following commands is used to change metadata and options for ext3 filesystems?

  1. mod3fs

  2. tune3fs

  3. mod2fs

  4. tune2fs

  5. dump2fs

Answer: D

Question No: 107 CORRECT TEXT – (Topic 4)

Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)

Answer: mkswap

Question No: 108 – (Topic 4)

In Bash, inserting 2gt;amp;1 after a command redirects:

  1. standard error to standard input.

  2. standard input to standard error.

  3. standard output to standard error.

  4. standard error to standard output.

  5. standard outputto standard input.

Answer: C

Question No: 109 – (Topic 4)

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

  1. echo “${PWD}”

  2. echo “${WD}”

  3. pwd

  4. printwd

  5. echo “${pwd}”

Answer: C

Question No: 110 – (Topic 4)

Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

  1. tune2fs -d 200 /dev/sda1

  2. tune2fs -c 200 /dev/sda1

  3. tune2fs -i 200 /dev/sda1

  4. tune2fs -n 200 /dev/sda1

  5. tune2fs -days 200 /dev/sda1

Answer: C

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 91-100

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 91 – (Topic 4)

Which of the following commands shows the definition of a given shell command?

  1. where

  2. stat

  3. type

  4. case

Answer: C

Question No: 92 CORRECT TEXT – (Topic 4)

Which program updates the database that is used by the locate command?

Answer: updatedb

Question No: 93 – (Topic 4)

What is the process ID number of the init process on a SysV init based system?

  1. -1

  2. 0

  3. 1

  4. It is different with each reboot.

  5. It is set to the current run level.

Answer: C

Question No: 94 – (Topic 4)

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

  1. File size

  2. Modify timestamp

  3. Link count

  4. Inode number

  5. Permissions

Answer: C Explanation:

NEW QUESTIONS

Question No: 95 – (Topic 4)

Which of the following commands will print important system information such as the kernel version and machine hardware architecture?

  1. sysinfo

  2. uname

  3. lspci

  4. arch

  5. info

Answer: B

Question No: 96 – (Topic 4)

When using regular expressions, which of the following characters match the beginning of a line?

  1. ^

  2. ?

  3. *

D.

E. $

Answer: A

Question No: 97 CORRECT TEXT – (Topic 4)

Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)

Answer: ldd

Question No: 98 CORRECT TEXT – (Topic 4)

What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)

Answer: renice

Question No: 99 – (Topic 4)

Which of the following commands will produce the following output?

Latesttests 2017 PDF and VCE

  1. jobs

  2. proclist

  3. netstat

  4. ps

Answer: D

Question No: 100 – (Topic 4)

Which of the following is a limitation of the cut command?

  1. Thecutcommand can only select output by field position.

  2. Thecutcommand cannot reorder fields.

  3. Thecutcommand only works on ASCIItext.

  4. Thecutcommand cannot use different input and output delimiters.

Answer: B

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 81-90

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 81 CORRECT TEXT – (Topic 3)

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?

killall -s daemon

Answer: HUP, SIGHUP, 1

Question No: 82 – (Topic 3)

Which of the following commands determines the type of a file by using a definition

database file which contains information about all common file types?

  1. magic

  2. type

  3. file

  4. pmagic

  5. hash

Answer: C

Question No: 83 – (Topic 3)

Which of the following commands displays the contents of a gzip compressed tar archive?

  1. gzip archive.tgz | tar xvf –

  2. tar ztf archive.tgz

  3. gzip -d archive.tgz | tar tvf –

  4. tar cf archive.tgz

Answer: B

Question No: 84 – (Topic 3)

Regarding the command: nice -5 /usr/bin/prog

Which of the following statements is correct?

  1. /usr/bin/prog is executed with a nice level of -5.

  2. /usr/bin/prog is executed with a nice level of 5.

  3. /usr/bin/prog is executed with a priority of -5.

  4. /usr/bin/prog is executed with a priority of 5.

Answer: B

Question No: 85 – (Topic 3)

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

  1. esc ZZ

  2. ctrl :w!

  3. esc zz

  4. esc :wq!

  5. ctrl XX

Answer: A,D

Question No: 86 CORRECT TEXT – (Topic 3)

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Answer: jobs

Question No: 87 – (Topic 3)

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

  1. uptime

  2. up

  3. top

  4. uname -u

  5. time -up

Answer: A,C

Question No: 88 – (Topic 3)

What is the default action of the split command on an input file?

  1. It will break the file into new files of 1,024 byte pieces each.

  2. It will break the file into new files of 1,000 line pieces each.

  3. It will break the file into new files of 1,024 kilobyte pieces each.

  4. It will break the file into new files that are no morethan 5% of the size of the original file.

Answer: B

Topic 4, Devices, Linux Filesystems, Filesystem HierachyStandard

Question No: 89 CORRECT TEXT – (Topic 4)

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Specify the correct vi command without spaces.

Answer: 17yy

Question No: 90 – (Topic 4)

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

  1. FIND

  2. ID

  3. LABEL

  4. NAME

  5. UUID

Answer: C,E

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 41-50

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 41 – (Topic 3)

What is the difference between the i and a commands of the vi editor?

  1. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.

  2. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

  3. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

  4. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Answer: B

Question No: 42 – (Topic 3)

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

  1. source /usr/local/bin/runme.sh

  2. . /usr/local/bin/runme.sh

  3. /bin/bash /usr/local/bin/runme.sh

  4. /usr/local/bin/runme.sh

  5. run /usr/local/bin/runme.sh

Answer: A,B

Question No: 43 – (Topic 3)

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

  1. 9

  2. 19

  3. 49

  4. 99

Answer: B

Question No: 44 – (Topic 3)

Which of the following statements is correct regarding the command foo 1gt; bar?

  1. The stdout from the command foo is appended to the file bar.

  2. The stdout from the command foo overwrites the file bar.

  3. The command foo receives its stdin from the file bar.

  4. The command foo receives its stdin from the stdout of the command bar.

  5. The stderr from the command foo is saved to the file bar.

Answer: B

Question No: 45 – (Topic 3)

Which of the following commands replaces each occurrence of #39;bob#39; in the file letter with #39;Bob#39; and writes the result to the file newletter?

  1. sed #39;/bob/Bob#39; letter gt; newletter

  2. sed s/bob/Bob/ letter lt; newletter

  3. sed#39;s/bob/Bob#39; letter gt; newletter

  4. sed #39;s/bob/Bob/g#39; letter gt; newletter

  5. sed #39;s/bob, Bob/#39; letter gt; newletter

Answer: D

Question No: 46 – (Topic 3)

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  1. fmt -f 1,4 /etc/passwd

  2. split -c 1,4 /etc/passwd

  3. cut -d : -f 1,4 /etc/passwd

  4. paste -f 1,4 /etc/passwd

Answer: C

Question No: 47 – (Topic 3)

Which of the following commands will print the last 10 lines of a text file to the standard output?

  1. cat -n 10 filename

  2. dump -n 10 filename

  3. head -n 10 filename

  4. tail -n 10 filename

Answer: D

Question No: 48 – (Topic 3)

Which of the following commands is used to change options and positional parameters for a running Bash?

  1. history

  2. set

  3. bashconf

  4. setsh

  5. envsetup

Answer: B

Question No: 49 – (Topic 3)

Which of the following files, located in the user home directory, is used to store the Bash history?

  1. .bash_history

  2. .bash_histfile

  3. .history

  4. .bashrc_history

  5. .history_bash

Answer: A Explanation:

QUESTIONNO: 26

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

Answer: HISTFILE

Question No: 50 – (Topic 3)

What is the purpose of the Bash built-in export command?

  1. It allows disks to be mounted remotely.

  2. It runs a command as a process in a subshell.

  3. It makes the command history available to subshells.

  4. It sets up environment variables for applications.

  5. It shares NFS partitions for use by other systems on the network.

Answer: D

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 31-40

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 31 – (Topic 2)

Which RPM command will output the name of the package which supplied the file

/etc/exports?

  1. rpm -F /etc/exports

  2. rpm -qf /etc/exports

  3. rpm -Kl /etc/exports

  4. rpm -qp /etc/exports

  5. rpm -qi/etc/exports

Answer: B

Question No: 32 – (Topic 2)

Which of the following commands lists the dependencies of a given dpkg package?

  1. apt-cache depends-onpackage

  2. apt-cache dependencies package

  3. apt-cache depends package

  4. apt-cache requires package

Answer: C

Question No: 33 – (Topic 2)

Which function key is used to start Safe Mode in Windows NT?

  1. F10

  2. F8

  3. F6

  4. Windows NT does not support Safe Mode

Answer: D

Question No: 34 – (Topic 2)

Which of the following commands is used to update the list of available packages when using dpkg based package management?

  1. apt-get update

  2. apt-get upgrade

  3. apt-cache update

  4. apt-get refresh

  5. apt-cache upgrade

Answer: A

Question No: 35 CORRECT TEXT – (Topic 2)

In which directory must definition files be placed to add additional repositories to yum?

Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Question No: 36 CORRECT TEXT – (Topic 2)

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

Answer: update, upgrade

Question No: 37 CORRECT TEXT – (Topic 2)

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Answer: dpkg-reconfigure

Question No: 38 CORRECT TEXT – (Topic 2)

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Answer: swapoff, /sbin/swapoff

Topic 3, GNU and Unix Commands

Question No: 39 – (Topic 3)

Which of the following commands kills the process with the PID 123 but allows the process

to quot;clean upquot; before exiting?

  1. kill -PIPE 123

  2. kill -KILL 123

  3. kill -STOP 123

  4. kill -TERM 123

Answer: D

Question No: 40 – (Topic 3)

In Bash, inserting 1gt;amp;2 after a command redirects

  1. standard error to standard input.

  2. standard input to standard error.

  3. standard output to standard error.

  4. standard error to standard output.

  5. standard output to standard input.

Answer: C

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE

[Free] 2017(Nov) Latesttests Testking LPI 101-400 Dumps with VCE and PDF 21-30

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 21 – (Topic 2)

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

  1. LD_LOAD_PATH

  2. LD_LIB_PATH

  3. LD_LIBRARY_PATH

  4. LD_SHARE_PATH

  5. LD_RUN_PATH

Answer: C

Question No: 22 – (Topic 2)

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

  1. hidemenu

  2. splash

  3. timeout

  4. showmenu

Answer: C

Question No: 23 – (Topic 2)

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  1. dd if=/dev/zero of=/dev/sda bs=512

  2. dd if=/dev/zero of=/dev/sda bs=512 count=1

  3. dd if=/dev/zero of=/dev/sda bs=440 count=1

  4. dd if=/dev/zero of=/dev/sda bs=440

Answer: C

Question No: 24 – (Topic 2)

Which of the following commands lists all currently installed packages when using RPM package management?

  1. yum -query -all

  2. yum -list -installed

  3. rpm -query -all

  4. rpm -list -installed

Answer: C

Question No: 25 – (Topic 2)

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

  1. To create RAID 9 arrays.

  2. To dynamically change the size of logical volumes.

  3. To encrypt logical volumes.

  4. To create snapshots.

  5. To dynamically create or delete logical volumes.

Answer: B,D,E

Question No: 26 – (Topic 2)

When using rpm -verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

  1. Timestamps

  2. MD5 checksums

  3. Inodes

  4. File sizes

  5. GnuPG signatures

Answer: A,B,D

Question No: 27 – (Topic 2)

After modifying GNU GRUB#39;s configuration file, which command must be run for the changes to take effect?

  1. kill -HUP $(pidof grub)

  2. grub-install

  3. grub

  4. No action is required

Answer: D

Question No: 28 – (Topic 2)

Which file should be edited to select the network locations from which Debian installation package files are loaded?

  1. /etc/dpkg/dpkg.cfg

  2. /etc/apt/apt.conf

  3. /etc/apt/apt.conf.d

  4. /etc/apt/sources.list

  5. /etc/dpkg/dselect.cfg

Answer: D

Question No: 29 CORRECT TEXT – (Topic 2)

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Answer: menu.lst, grub.conf, grub.cfg

Question No: 30 – (Topic 2)

Which of the following commands can be used to download the RPM package kernel without installing it?

  1. yum download -no-install kernel

  2. yumdownloader kernel

  3. rpm -download -package kernel

  4. rpmdownload kernel

Answer: B

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE