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. Query information files with RPM
#yum install [package name]
/etc/sysconfig/network
yum list
#rpm -qi [package name]
2. Process packets being forwarded through the system
#yum groupremove "group name"
2>&1
/var/log/messages
IPtables forward chain
3. Grep for lines that do not match (-v)
Fully Qualified Domain Name
#virsh destroy domain-id
[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
$ grep -v ^# /etc/nsswitch.conf
4. Kill a VM
#ip addr show
$ grep -v ^# /etc/nsswitch.conf
# yum
#virsh destroy domain-id
5. Package file named pkg.rpm
# vi /etc/inittab change - id:3:initdefault:
rpm localinstall pkg.rpm --nogpgcheck
rpm -qp pkg.rpm
/usr/share/doc/initscripts-*/sysconfig.txt
6. Install the VNC server package
yum remove firefox4
yum install tigervnc-server
# yum
vncviewer -via student@server6 localhost:2
7. Extract a star compressed file
MailTo=student@server6.example.com
/etc/ssh/sshd_config
man search :/repository
# star -x -f=home.star
8. Search for command in the doc directory
# ls -l /usr/share/doc | grep httpd
*.debug /var/log/debug.log service rsyslog restart
#iptables -L
/etc/sysconfig/resolv.conf
9. File holding services - ports - protocols assoicated
chkconfig httpd on
# star -xattr -H=exustar -c -f=home.star /home/
cp /home/test1.html /var/www/html/test1.html
/etc/services
10. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
rpm -qp pkg.rpm
MailTo=student@server6.example.com
/etc/sysconfig/network
#virsh destroy domain-id
11. RPM package naming
name-version-release.architecture.rpm
/etc/ssh/sshd_config
rsync /home/test1.html root@server6.example.com:/var/pub
IPtables forward chain
12. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
chkconfig httpd on
ip masqu
add/remove software GUI
updating the kernel
13. Local file copy of /home/test1.html to /var/www/html/test1.html
cp /home/test1.html /var/www/html/test1.html
#rpm -ivh [package name]
rpm -ql vsftpd
#ip addr show
14. fqdn
Fully Qualified Domain Name
yum update
#rpm -uvh [package name]
ntpdate -b instructor
15. System config firewall
/var/www/html/
#yum groupinstall "group name"
#yum
GUI menu system/administratrion/firewall
16. Searches for page within the #man yum
#virsh destroy domain-id
man search :/repository
#rpm -qa | grep [package name]
# cat /var/log/messages | grep [Ff]ailed | less
17. Process packets coming out of the system
tar xvzf /tmp/etc.tar.gz /etc
IPtables output chain
#iptables -F
#yum info [package name]
18. tar options for file name - gzip - and bzip2
# yum
/var/www/html/
rpm -q pkg.rpm --scripts
tar fzj
19. List installed and available packages
#rpm -qac [package name]
ssh-copy-id root@server6.example.com
yum list
# ls -l /usr/share/doc | grep httpd
20. Start vsftp service
/etc/yum.repos.d/
#yum remove [package name]
vsftpd restart
yum remove firefox4
21. Remove a package with yum
#yum remove [package name]
/var/lib/rpm
#yum info [package name]
rsync -a /home/test1.html root@server6.example.com:/var/pub
22. Configuration for VNC
cat >> some_file << _EOF
/etc/sysconfig/vncservers rpm -ql tigervnc-server
system-config-firewall tui
rpm -qc httpd
23. original DNS config file - still used
#yum install [package name]
/etc/sysconfig/resolv.conf
#iptables -I INPUT -p tcp --dport 21 -j Accept
/var/log/maillog
24. Restart vnc and persist on boot
rpm -q pkg.rpm --scripts
palimpsest
service vncserver restart chkconfig vncserver on
add/remove software GUI
25. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
MailTo=student@server6.example.com
add/remove software GUI
yum list
yum provides
26. Create a gzip-compressed backup of /etc in /tmp
tar czvf /tmp/etc.tar.gz /etc
/etc/hosts
/etc/sysconfig/iptables
#rpm -uvh [package name]
27. Repos for yum
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/var/log/maillog
/etc/sysconfig/iptables
/etc/yum.repos.d
28. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
yum info firefox4
# star -x -f=home.star
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#rpm -qac [package name]
29. GUI install / uninstall with yum
add/remove software GUI
/var/log/maillog
/var/log/cron
/var/log/secure
30. Local host file (contains hostname). Can contain local system DNS.
rpm -q pkg.rpm --scripts
/etc/hosts
# cat /var/log/messages | grep [Ff]ailed | less
# virsh create /etc/libvert/qemu/vm_file_name.xml
31. Start a VM
updating the kernel
/var/log/maillog
# virsh create /etc/libvert/qemu/vm_file_name.xml
man search :/repository
32. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
ip masqu
#iptables -I INPUT -p tcp --dport 21 -j Accept
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
/etc/services
33. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
/etc/hosts
#iptables -D INPUT -p tcp --dport 21 -j accpet
service sshd restart
34. handles dependencies while RPMs do not uses preconfigured repos
nautilus
Fully Qualified Domain Name
#yum
# yum
35. Email related messages log
/var/log/maillog
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
ip masqu
rpm -ql vsftpd
36. GUI File Manager
yum install tigervnc-server
/etc/ssh/sshd_config
nautilus
#iptables -I INPUT -p tcp --dport 21 -j Accept
37. Get information about a package named firefox4
ssh-copy-id root@server6.example.com
yum info firefox4
/etc/services
/usr/share/doc/initscripts-*/sysconfig.txt
38. Install star
ntpdate -b instructor
#yum groupinstall "group name"
$ tar czvf home.tar.gz /home
# yum
39. Delete a rule from iptables
#yum groupremove "group name"
#rpm -ivh [package name]
$ grep -v ^# /etc/nsswitch.conf
#iptables -D INPUT -p tcp --dport 21 -j accpet
40. Authentication related messages log
rpm -qp pkg.rpm
/var/log/secure
#yum install [package name]
chkconfig vsftpd on
41. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
insert as opposed to append
tar czvf /tmp/etc.tar.gz /etc
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#virsh destroy domain-id
42. List scripts that can be run after installation of pkg.rpm
/etc/services
rpm -q pkg.rpm --scripts
ip masqu
#rpm -qa | grep [package name]
43. See files installed with a package named vsftpd
# ls -l /usr/share/doc | grep httpd
# renice -10 proc-id
yum provides "*/sbin/sshd"
rpm -ql vsftpd
44. FTP package used in RHEL 6
GUI menu system/administratrion/firewall
nautilus
vsftpd
/etc/yum.repos.d
45. Messages related to cron log
/var/log/cron
tar fzj
yum provides
#ip addr show
46. Sync ntp time with the instructor
ntpdate -b instructor
/etc/ssh/sshd_config
$ tar xzvf home.tar.gz /home
tar czvf /tmp/etc.tar.gz /etc
47. Extract a gzipped tar ball in your home directory
IPtables input chain
man search :/repository
/var/lib/rpm
$ tar xzvf home.tar.gz /home
48. Install a package group with yum
#iptables -I INPUT -p tcp --dport 21 -j Accept
# renice -10 proc-id
#yum groupinstall "group name"
ln -s /pub /var/www/html/pub
49. Install the star compression tool create an archive with the star tool.
ip masqu
# star -xattr -H=exustar -c -f=home.star /home/
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
yum info firefox4
50. Start GUI for Firewall
palimpsest
updating the kernel
$ tar czvf home.tar.gz /home
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
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