Official Bank 0/79

Linux Essentials Certificate Exam, version 1.5 (010-150) - Linux Professional Institute Actual Exam Questions

Last updated on April 30, 2026

97% Exam Compliance
79 Total Questions
1
Question

Why is the file data.txt empty after executing sort data.txt > data.txt?

Options
A

Because, if data.txt is empty now, it must have been empty before.

B

Because sort cannot sort text files, only binary files.

C

Because sort detects that both files are the same.

D

Because the file gets truncated before sort is executed.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question

What is the output of the following command? for token in a b c; do echo -n ${token}; done

Options
A

anbncn

B

abc

C

$token$token$token

D

{a}{b}{c}

E

a b c

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question

Which command lists all files in the current directory that start with a capital letter?

Options
A

ls [A-Z]*

B

ls A-Z

C

ls A-Z*

D

ls --uppercasefiles

E

list-uppercase-files

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question

What is the command that will show system boot time messages?

Options
A

dmesg

B

echo

C

lspci

D

display system boot

E

messages

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question

What keyword is missing from the following segment of the shell script? for i in *; _____ cat $i done

Options
A

do

B

then

C

enod

D

fi

E

run

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.