Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CYPD Intro to OS Windows

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

Which of the following commands is used to install software updates?

a)

RPM Update

b)

update

c)

yum update

d)

installupdate

2.

What is the UID of the root user?

a)

0

b)

100

c)

1

d)

10

3.

Which command will set the permission of a file to read only for all users?

a)

chmod 111

b)

chmod 222

c)

chmod 777

d)

chmod 444

4.

Which of the following commands is used to update all installed RPM packagesEXCEPT for httpd?

a)

yum update --exclude httpd

b)

yum dont-update httpd

c)

yum update --without-httpd

d)

yum update -httpd

5.

Which of the following files contains hashes of user passwords on most modern Linuxdistributions?

a)

/etc/passwd

b)

/etc/sshd_config

c)

/etc/shells

d)

/etc/shadow

6.

Which of the following commands is used to query the RPM database to determine ifa package (such as tcpdump) is installed?

a)

yum find tcpdump

b)

rpm tcpdump

c)

yum search tcpdump

d)

rpm -qa | grep tcpdump

7.

What would the permissions be after running the command "chmod 754 file"?

a)

-r-xr-xr--

b)

-rwxr-xr--

c)

-rwxrwxrw-

d)

-rwxr--r--

8.

Which of the following commands is used to install software from an onlinerepository?

a)

install

b)

yum install

c)

rpm install

d)

installrpm