SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
RHCSA Commands
Start Test
Study First
Subjects
:
certifications
,
it-skills
,
rhcsa
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/sysconfig/iptables
rpm -qc httpd
#virsh destroy domain-id
vsftpd
2. Use lftp to connect
ssh-keygen
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/var/log/messages
/var/www/html/
3. Install a package named firefox4
insert as opposed to append
yum install firefox4
# star -xattr -H=exustar -c -f=home.star /home/
palimpsest
4. File holding services - ports - protocols assoicated
/etc/services
service sshd restart
vsftpd
updating the kernel
5. See the configuration files installed with a package named httpd
#rpm -qi [package name]
ip masqu
rpm -qc httpd
palimpsest
6. Get a list of package groups from yum
# vi /etc/inittab change - id:3:initdefault:
#yum grouplist
/dev
/etc/yum.repos.d/
7. Query information files with RPM
tar cxtv
service sshd restart
ln -s /pub /var/www/html/pub
#rpm -qi [package name]
8. Install a package with yum
#yum install [package name]
#yum groupinstall "group name"
# star -xattr -H=exustar -c -f=home.star /home/
/var/www/html/
9. original DNS config file - still used
#virsh destroy domain-id
/etc/yum.repos.d
yum info firefox4
/etc/sysconfig/resolv.conf
10. Backup a home directory on desktop6 to /tmp on server6
rpm -qc httpd
nautilus
system-config-date
rsync /home root@server6.example.com:/tmp
11. Program to analyze standard log files and send a summary email to root
/etc/services
/dev
#uname -r
logwatch
12. Edit files with cat until the _EOF is found
cp /home/test1.html /var/www/html/test1.html
#yum remove [package name]
vncviewer -via student@server6 localhost:2
cat >> some_file << _EOF
13. GUI File Manager
# grep -i
#iptables -F
nautilus
#yum groupremove "group name"
14. Get information about a package named firefox4
service sshd restart
/etc/yum.repos.d/
yum info firefox4
/etc/sysconfig/resolv.conf
15. Location of repo's
.spec
#iptables -F
IPtables input chain
/etc/yum.repos.d/
16. Query all documentation with RPM
/var/lib/rpm
insert as opposed to append
#rpm -qad [package name]
logwatch
17. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/etc/sysconfig/network
yum install tigervnc-server
tar xvzf /tmp/etc.tar.gz /etc
# star -xattr -H=exustar -c -f=home.star /home/
18. tar options for create - extract - test - and verbose
tar cxtv
rsync -a /home/test1.html root@server6.example.com:/var/pub
#yum install [package name]
yum remove firefox4
19. Restart ssh services
#iptables -D INPUT -p tcp --dport 21 -j accpet
ssh-keygen
service sshd restart
# renice -10 proc-id
20. Create a symbolic link to /pub on the FTP and name it pub
/etc/yum.repos.d/
ln -s /pub /var/www/html/pub
yum update
#yum groupinstall "group name"
21. Email related messages log
#yum
# renice -10 proc-id
/var/log/maillog
rpm --import [public key location]
22. Extract a gzipped tar ball in your home directory
# cat /var/log/messages | grep [Ff]ailed | less
*.debug /var/log/debug.log service rsyslog restart
$ tar xzvf home.tar.gz /home
#virsh destroy domain-id
23. List installed and available packages
#yum info [package name]
yum list
tar fzj
/etc/sysconfig/iptables
24. Gets kernel version and release number
rpm --import [public key location]
IPtables forward chain
#uname -r
/etc/services
25. Search for command in the doc directory
vncpasswd
add/remove software GUI
chkconfig vsftpd on
# ls -l /usr/share/doc | grep httpd
26. List scripts that can be run after installation of pkg.rpm
rpm -q pkg.rpm --scripts
name-version-release.architecture.rpm
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
/etc/yum.repos.d/
27. Kill a VM
#yum groupremove "group name"
IPtables input chain
rpm -q pkg.rpm --scripts
#virsh destroy domain-id
28. Update a package
yum update
rpm --import [public key location]
rpm -q pkg.rpm --scripts
# star -x -f=home.star
29. Configuration file for system logs
/etc/rsyslog.conf
/etc/yum.repos.d/
yum install firefox4
.spec
30. Start GUI for Firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
nautilus
yum list
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
31. Create a gzip-compressed backup of /etc in /tmp
tar czvf /tmp/etc.tar.gz /etc
/etc/hosts
GUI menu system/administratrion/firewall
/etc/yum.repos.d
32. Persist FTP on boot
# virsh create /etc/libvert/qemu/vm_file_name.xml
chkconfig vsftpd on
#yum
#rpm -qad [package name]
33. Restart the ntpd service
$ grep -v ^# /etc/nsswitch.conf
service ntpd restart
IPtables forward chain
rsync /home/test1.html root@server6.example.com:/var/pub
34. List iptables
#iptables -L
rhn_register
$ tar czvf home.tar.gz /home
.spec
35. Copy a public ssh key to server6
/usr/share/doc/initscripts-*/sysconfig.txt
ssh-copy-id root@server6.example.com
updating the kernel
#ip addr show
36. Query configuration files with RPM
#rpm -qac [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
yum provides
37. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
chkconfig httpd on
logwatch
IPtables output chain
38. Searches for page within the #man yum
man search :/repository
$ grep -v ^# /etc/nsswitch.conf
rsync -a /home/test1.html root@server6.example.com:/var/pub
cp /home/test1.html /var/www/html/test1.html
39. Contains RPM database
# star -x -f=home.star
#rpm -uvh [package name]
/var/lib/rpm
service sshd restart
40. Extract /tmp/etc.tar.gz to /etc
yum remove firefox4
tar xvzf /tmp/etc.tar.gz /etc
add/remove software GUI
# grep -i
41. Uninstall a package group with yum
ssh-keygen
#yum groupremove "group name"
# yum
service sshd restart
42. tar options for file name - gzip - and bzip2
/var/www/html/
tar fzj
#rpm -uvh [package name]
# star -xattr -H=exustar -c -f=home.star /home/
43. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
tar fzj
/etc/rsyslog.conf
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#virsh destroy domain-id
44. Repos for yum
/etc/yum.repos.d
vsftpd restart
/var/log/cron
ntpdate -b instructor
45. Restart vnc and persist on boot
#iptables -D INPUT -p tcp --dport 21 -j accpet
chkconfig httpd on
# star -x -f=home.star
service vncserver restart chkconfig vncserver on
46. Disk Utility Command
/var/www/html/
palimpsest
service sshd restart
/dev
47. All messages sent at info priority or higher
chkconfig httpd on
/usr/share/doc/initscripts-*/sysconfig.txt
/var/log/messages
GUI menu system/administratrion/firewall
48. Set a VNC password
vncpasswd
#virsh list
# cat /var/log/messages | grep [Ff]ailed | less
/usr/share/doc/initscripts-*/sysconfig.txt
49. Documentation about sysconfig network scripts
#yum info [package name]
#yum groupremove "group name"
$ grep -v ^# /etc/nsswitch.conf
/usr/share/doc/initscripts-*/sysconfig.txt
50. Shell config tool gropued like GUI firewall configurater.
insert as opposed to append
/var/log/maillog
rhn_register
system-config-firewall tui