WorksheetsCYPD Intro to OS Windows
Total questions: 8
Worksheet time: 4mins
Which of the following commands is used to install software updates?
RPM Update
update
yum update
installupdate
What is the UID of the root user?
0
100
1
10
Which command will set the permission of a file to read only for all users?
chmod 111
chmod 222
chmod 777
chmod 444
Which of the following commands is used to update all installed RPM packagesEXCEPT for httpd?
yum update --exclude httpd
yum dont-update httpd
yum update --without-httpd
yum update -httpd
Which of the following files contains hashes of user passwords on most modern Linuxdistributions?
/etc/passwd
/etc/sshd_config
/etc/shells
/etc/shadow
Which of the following commands is used to query the RPM database to determine ifa package (such as tcpdump) is installed?
yum find tcpdump
rpm tcpdump
yum search tcpdump
rpm -qa | grep tcpdump
What would the permissions be after running the command "chmod 754 file"?
-r-xr-xr--
-rwxr-xr--
-rwxrwxrw-
-rwxr--r--
Which of the following commands is used to install software from an onlinerepository?
install
yum install
rpm install
installrpm
