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. Persist FTP on boot
IPtables output chain
yum provides "*/sbin/sshd"
#yum
chkconfig vsftpd on
2. GUI File Manager
nautilus
rpm --import [public key location]
system-config-date
yum update
3. Import a public key
rpm localinstall pkg.rpm --nogpgcheck
#yum groupinstall "group name"
.spec
rpm --import [public key location]
4. Restart the ntpd service
$ tar xzvf home.tar.gz /home
service ntpd restart
yum search firefox
ssh-keygen
5. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
$ tar czvf home.tar.gz /home
MailTo=student@server6.example.com
# cat /var/log/messages | grep [Ff]ailed | less
tar czvf /tmp/etc.tar.gz /etc
6. Disks available for partitions
/dev
/etc/sysconfig/resolv.conf
tar xvzf /tmp/etc.tar.gz /etc
updating the kernel
7. Register on the RHN
rhn_register
rsync /home/test1.html root@server6.example.com:/var/pub
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
*.debug /var/log/debug.log service rsyslog restart
8. Create a tar ball with gzip compression of the home dir
system-config-date
yum info firefox4
2>&1
$ tar czvf home.tar.gz /home
9. Display packages that match the pathname
#iptables -I INPUT -p tcp --dport 21 -j Accept
yum provides
rpm localinstall pkg.rpm --nogpgcheck
yum update
10. GUI install / uninstall with yum
add/remove software GUI
# ls -l /usr/share/doc | grep httpd
system-config-firewall tui
#rpm -qi [package name]
11. File holding services - ports - protocols assoicated
# yum
/etc/services
GUI menu system/administratrion/firewall
2>&1
12. Install a pkg.rpm locally
rhn_register
rpm --import [public key location]
rpm localinstall pkg.rpm --nogpgcheck
tar czvf /tmp/etc.tar.gz /etc
13. Email related messages log
/var/log/messages
rsync -a /home/test1.html root@server6.example.com:/var/pub
# grep -i
/var/log/maillog
14. List VMs
yum provides
#virsh list
logwatch
cp /home/test1.html /var/www/html/test1.html
15. original DNS config file - still used
/etc/sysconfig/resolv.conf
IPtables forward chain
/etc/sysconfig/network
rsync /home root@server6.example.com:/tmp
16. Process packets coming out of the system
IPtables output chain
rsync /home/test1.html root@server6.example.com:/var/pub
$ tar czvf home.tar.gz /home
add/remove software GUI
17. Get information about a package named firefox4
yum info firefox4
vncviewer -via student@server6 localhost:2
rpm -ql vsftpd
$ tar xzvf home.tar.gz /home
18. Contains RPM database
/var/lib/rpm
#uname -r
$ grep -v ^# /etc/nsswitch.conf
IPtables input chain
19. Install a package group with yum
#rpm -qad [package name]
yum search firefox
#yum groupinstall "group name"
#uname -r
20. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
rsync -a /home/test1.html root@server6.example.com:/var/pub
#yum groupinstall "group name"
#yum groupremove "group name"
yum remove firefox4
21. Update a package
rhn_register
/etc/hosts
yum update
#rpm -qa | grep [package name]
22. All messages sent at info priority or higher
/var/log/messages
IPtables input chain
# ls -l /usr/share/doc | grep httpd
#yum
23. Remote file copy /home/test1.html to the /var/pub directory on server6
service sshd restart
#uname -r
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/network
24. Redirect errors to std out
#rpm -qac [package name]
nautilus
updating the kernel
2>&1
25. Install with RPM
rpm -qc httpd
# renice -10 proc-id
#iptables -I INPUT -p tcp --dport 21 -j Accept
#rpm -ivh [package name]
26. Program to analyze standard log files and send a summary email to root
cat >> some_file << _EOF
# ls -l /usr/share/doc | grep httpd
logwatch
/var/lib/rpm
27. Query information files with RPM
rsync /home root@server6.example.com:/tmp
#virsh list
#rpm -qi [package name]
/etc/sysconfig/vncservers rpm -ql tigervnc-server
28. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
ssh-keygen
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
vncpasswd
yum info firefox4
29. Start the GUI for date configuration
system-config-date
*.debug /var/log/debug.log service rsyslog restart
rpm -qp pkg.rpm
vncviewer -via student@server6 localhost:2
30. Package file named pkg.rpm
#virsh destroy domain-id
/etc/rsyslog.conf
vsftpd restart
rpm -qp pkg.rpm
31. Location of repo's
#iptables -D INPUT -p tcp --dport 21 -j accpet
vsftpd
/etc/hosts
/etc/yum.repos.d/
32. Local file copy of /home/test1.html to /var/www/html/test1.html
rpm -q pkg.rpm --scripts
2>&1
vsftpd restart
cp /home/test1.html /var/www/html/test1.html
33. tar options for create - extract - test - and verbose
ssh-keygen
tar cxtv
/etc/sysconfig/resolv.conf
yum list
34. Start vsftp service
#rpm -qi [package name]
vsftpd restart
#rpm -ivh [package name]
ssh-copy-id root@server6.example.com
35. Delete a rule from iptables
#iptables -D INPUT -p tcp --dport 21 -j accpet
#virsh list
vsftpd
#yum groupremove "group name"
36. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/etc/sysconfig/network
cp /home/test1.html /var/www/html/test1.html
yum provides "*/sbin/sshd"
/etc/services
37. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
updating the kernel
tar xvzf /tmp/etc.tar.gz /etc
38. Extract a star compressed file
chkconfig httpd on
# star -x -f=home.star
#rpm -uvh [package name]
vncpasswd
39. Authentication related messages log
system-config-firewall tui
/etc/rsyslog.conf
rhn_register
/var/log/secure
40. Get a list of package groups from yum
#yum grouplist
cat >> some_file << _EOF
#yum
add/remove software GUI
41. Flush the firewall of all rules
$ tar czvf home.tar.gz /home
/var/log/secure
2>&1
#iptables -F
42. tar options for file name - gzip - and bzip2
cat >> some_file << _EOF
/var/log/messages
tar fzj
man search :/repository
43. Stores IPtables rules (filter) chains - input forward output are persistant
ntpdate -b instructor
$ tar xzvf home.tar.gz /home
yum install firefox4
/etc/sysconfig/iptables
44. fqdn
#yum remove [package name]
#rpm -qi [package name]
#yum groupremove "group name"
Fully Qualified Domain Name
45. Local host file (contains hostname). Can contain local system DNS.
/var/www/html/
#yum info [package name]
/etc/hosts
IPtables input chain
46. Create a symbolic link to /pub on the FTP and name it pub
tar fzj
/dev
yum update
ln -s /pub /var/www/html/pub
47. Configuration file for system logs
/etc/rsyslog.conf
/dev
logwatch
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
48. Query configuration files with RPM
#rpm -qac [package name]
#iptables -I INPUT -p tcp --dport 21 -j Accept
service sshd restart
/etc/sysconfig/resolv.conf
49. Use lftp to connect
#rpm -qac [package name]
nautilus
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
50. Show IP address with the IP command
/etc/sysconfig/vncservers rpm -ql tigervnc-server
#yum install [package name]
ln -s /pub /var/www/html/pub
#ip addr show
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests