Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

010-160 Linux Essentials Certificate Exam - version 1.6 Questions and Answers

Questions 4

Which of the following examples shows the general structure of a for loop in a shell script?

Options:

A.

for *.txt as file = > echo $file

B.

for *.txt ( echo $i )

C.

for file in *.txt do

echo $i done

D.

for ls *.txt exec {} \;

E.

foreach @{file} { echo $i

}

Buy Now
Questions 5

Which of the following commands puts the lines of the file data.csv into alphabetical order?

Options:

A.

a..z data.csv

B.

sort data.csv

C.

abc data.csv

D.

wc -s data.csv

E.

grep --sort data.csv

Buy Now
Questions 6

Which permissions are set on a regular file once the permissions have been modified with the command

chmod 654 file.txt ?

Options:

A.

drw-r-xr--

B.

d—wxr-x--

C.

–wxr-x--x

D.

–rwxrw---x

E.

- rw-r-xr--

Buy Now
Questions 7

What can be found in the /proc/ directory?

Options:

A.

One directory per installed program.

B.

One device file per hardware device.

C.

One file per existing user account.

D.

One directory per running process.

E.

One log file per running service.

Buy Now
Questions 8

How is a new Linux computing instance provisioned in an laaS cloud?

Options:

A.

The standard Linux installer has to be run through a remote console.

B.

After buying a Linux distribution, its vendor delivers it to a cloud instance.

C.

The installation has to be prepared in a local virtual machine which is then copied to the cloud.

D.

The cloud hosting organization provides a set of pre-prepared images of popular Linux distributions.

E.

A provider-specific configuration file describing the desired installation is uploaded to the cloud provider.

Buy Now
Questions 9

When typing a long command line at the shell, what single character can be used to split a command across multiple lines?

Options:

Buy Now
Questions 10

Which of the following statements regarding Linux hardware drivers is correct?

Options:

A.

Drivers are regular Linux programs which have to be run by the user who wants to use a device.

B.

Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of Linux.

C.

Drivers are stored on their devices and are copied by the Linux kernel when a new device is attached

D.

Drivers are downloaded from the vendor ' s driver repository when a new device is attached.

E.

Drivers are either compiled into the Linux kernel or are loaded as kernel modules.

Buy Now
Questions 11

Which statements about the directory /etc/skel are correct? (Choose two.)

Options:

A.

The personal user settings of root are stored in this directory.

B.

The files from the directory are copied to the home directory of the new user when starting the system.

C.

The files from the directory are copied to the home directory of a new user when the account is created.

D.

The directory contains a default set of configuration files used by the useradd command.

E.

The directory contains the global settings for the Linux system.

Buy Now
Questions 12

Which of the following statements is true about Free Software?

Options:

A.

It is developed by volunteers only.

B.

It may be modified by anyone using it.

C.

It must always be available free of charge.

D.

It only runs on Linux.

E.

It is only distributed as a compiled binary.

Buy Now
Questions 13

What is true about a recursive directory listing?

Options:

A.

It includes the content of sub-directories.

B.

It includes the permissions of the directory listed.

C.

It includes details of file system internals, such as inodes.

D.

It includes ownership information for the files.

E.

It includes a preview of content for each file in the directory.

Buy Now
Questions 14

Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?

Options:

A.

copy /etc /root

B.

cp -r /etc/* /root

C.

cp -v /etc/* /root

D.

rcp /etc/* /root

E.

cp -R /etc/*.* /root

Buy Now
Questions 15

What is true about the owner of a file?

Options:

A.

Each file is owned by exactly one user and one group.

B.

The owner of a file always has full permissions when accessing the file.

C.

The user owning a file must be a member of the file’s group.

D.

When a user is deleted, all files owned by the user disappear.

E.

The owner of a file cannot be changed once it is assigned to an owner.

Buy Now
Questions 16

Which of the following commands sets the variable USERNAME to the value bob?

Options:

A.

set USERNAME bob

B.

$USERNAME==bob

C.

var USERNAME=bob

D.

USERNAME < =bob

E.

USERNAME=bob

Buy Now
Questions 17

Which of the following permissions are set on the /tmp/ directory?

Options:

A.

rwxrwxrwt

B.

------rwX

C.

rwSrw-rw -

D.

rwxrwS---

E.

r-xr-X--t

Buy Now
Questions 18

Which of the following commands adds the directory /new/dir/ to the PATH environment variable?

Options:

A.

$PATH=/new/dir: $PATH

B.

PATH=/new/dir: PATH

C.

export PATH=/new/dir: PATH

D.

export $PATH=/new/dir: $PATH

E.

export PATH=/new/dir: $PATH

Buy Now
Questions 19

Which of the following tasks can the command passwd accomplish? (Choose two.)

Options:

A.

Change a user ' s username.

B.

Change a user ' s password.

C.

Create a new user account.

D.

Create a new user group.

E.

Lock a user account.

Buy Now
Questions 20

The file script.sh in the current directory contains the following content:

#!/bin/bash echo $MYVAR

The following commands are used to execute this script:

MYVAR=value

./script.sh

The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?

Options:

A.

!MYVAR=value

B.

env MYVAR=value

C.

MYVAR=value

D.

$MYVAR=value

E.

export MYVAR=value

Buy Now
Questions 21

Most commands on Linux can display information on their usage. How can this information typically be displayed?

Options:

A.

By running the command with the option /? or /??.

B.

By running the command with the option ?! or ?=!.

C.

By running the command with the option /doc or /documentation.

D.

By running the command with the option -h or --help.

E.

By running the command with the option -m or --manpage.

Buy Now
Questions 22

Which of the following DNS record types hold an IP address? (Choose two.)

Options:

A.

NS

B.

AAAA

C.

MX

D.

A

E.

CNAME

Buy Now
Questions 23

The current directory contains the following file:

-rw-r—r— 1 root exec 24551 Apr 2 12:36 test.sh

The file contains a valid shell script, but executing this file using ./test.sh leads to this error:

bash: ./test.sh: Permission denied

What should be done in order to successfully execute the script?

Options:

A.

The file’s extension should be changed from . sh to .bin.

B.

The execute bit should be set in the file’s permissions.

C.

The user executing the script should be added to the exec group.

D.

The SetUID bit should be set in the file’s permissions

E.

The script should be run using #!./test. sh instead of ./test.sh.

Buy Now
Questions 24

Which of the following commands output the content of the file Texts 2.txt? (Choose two.)

Options:

A.

cat ' Texts 2.txt’

B.

cat -- Texts 2.txt

C.

cat |Texts 2.txt|

D.

cat ' Texts\ 2.txt’

E.

cat Texts\ 2.txt

Buy Now
Exam Code: 010-160
Exam Name: Linux Essentials Certificate Exam - version 1.6
Last Update: May 5, 2026
Questions: 81

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now 010-160 testing engine

PDF (Q&A)

$43.57  $124.49
buy now 010-160 pdf