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. Restart the ntpd service
#rpm -qac [package name]
#yum install [package name]
service ntpd restart
*.debug /var/log/debug.log service rsyslog restart
2. Repos for yum
/etc/yum.repos.d
#rpm -qac [package name]
yum install tigervnc-server
[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
3. Register on the RHN
# star -xattr -H=exustar -c -f=home.star /home/
yum provides "*/sbin/sshd"
#uname -r
rhn_register
4. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
rhn_register
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
nautilus
#uname -r
5. Configuration for VNC
IPtables input chain
/etc/ssh/sshd_config
/etc/services
/etc/sysconfig/vncservers rpm -ql tigervnc-server
6. Authentication related messages log
tar czvf /tmp/etc.tar.gz /etc
/var/log/secure
service vncserver restart chkconfig vncserver on
#rpm -ivh [package name]
7. Get information about a package named firefox4
#yum grouplist
insert as opposed to append
#virsh destroy domain-id
yum info firefox4
8. Search for a package with firefox in the description
/var/log/maillog
/etc/sysconfig/network
yum search firefox
# renice -10 proc-id
9. Local host file (contains hostname). Can contain local system DNS.
yum remove firefox4
rpm -q pkg.rpm --scripts
add/remove software GUI
/etc/hosts
10. Documentation about sysconfig network scripts
/etc/yum.repos.d
/usr/share/doc/initscripts-*/sysconfig.txt
rsync /home root@server6.example.com:/tmp
$ tar czvf home.tar.gz /home
11. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
insert as opposed to append
rpm --import [public key location]
cp /home/test1.html /var/www/html/test1.html
system-config-firewall tui
12. Sync ntp time with the instructor
ssh-copy-id root@server6.example.com
system-config-date
ntpdate -b instructor
/etc/yum.repos.d
13. Install star
# yum
#rpm -ivh [package name]
man search :/repository
IPtables forward chain
14. Query information files with RPM
$ tar czvf home.tar.gz /home
#rpm -qi [package name]
$ tar xzvf home.tar.gz /home
$ grep -v ^# /etc/nsswitch.conf
15. List iptables
nautilus
yum remove firefox4
#iptables -L
yum provides "*/sbin/sshd"
16. RPM package naming
cat >> some_file << _EOF
#virsh list
name-version-release.architecture.rpm
#rpm -qac [package name]
17. Show IP address with the IP command
/etc/sysconfig/vncservers rpm -ql tigervnc-server
#ip addr show
MailTo=student@server6.example.com
ln -s /pub /var/www/html/pub
18. Edit files with cat until the _EOF is found
IPtables forward chain
cat >> some_file << _EOF
#rpm -qad [package name]
#iptables -D INPUT -p tcp --dport 21 -j accpet
19. Install a package named firefox4
yum list
name-version-release.architecture.rpm
yum install firefox4
yum provides
20. Redirect errors to std out
name-version-release.architecture.rpm
2>&1
rsync -a /home/test1.html root@server6.example.com:/var/pub
rpm -q pkg.rpm --scripts
21. Uninstall a package group with yum
#iptables -F
#yum groupremove "group name"
*.debug /var/log/debug.log service rsyslog restart
MailTo=student@server6.example.com
22. Start vsftp service
vncviewer -via student@server6 localhost:2
vsftpd restart
tar fzj
yum list
23. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
chkconfig vsftpd on
ssh-copy-id root@server6.example.com
ip masqu
24. Remote file copy /home/test1.html to the /var/pub directory on server6
/var/log/messages
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/iptables
/var/log/maillog
25. Get more information on a package availale through yum
#yum info [package name]
#virsh destroy domain-id
/usr/share/doc/initscripts-*/sysconfig.txt
rpm -ql vsftpd
26. tar options for file name - gzip - and bzip2
#yum info [package name]
tar fzj
yum search firefox
/var/log/secure
27. Grep with ignoring case
vsftpd restart
updating the kernel
/etc/hosts
# grep -i
28. All messages sent at info priority or higher
/var/log/messages
ssh-copy-id root@server6.example.com
rhn_register
*.debug /var/log/debug.log service rsyslog restart
29. Restart vnc and persist on boot
/var/lib/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
service vncserver restart chkconfig vncserver on
service ntpd restart
30. See the configuration files installed with a package named httpd
rpm -qc httpd
# star -x -f=home.star
rsync -a /home/test1.html root@server6.example.com:/var/pub
add/remove software GUI
31. Messages related to cron log
ssh-copy-id root@server6.example.com
/var/log/cron
#ip addr show
vncpasswd
32. Contains RPM database
service sshd restart
#uname -r
GUI menu system/administratrion/firewall
/var/lib/rpm
33. Backup a home directory on desktop6 to /tmp on server6
#ip addr show
IPtables forward chain
rsync /home root@server6.example.com:/tmp
/etc/sysconfig/vncservers rpm -ql tigervnc-server
34. Adjust the persistent runlevel
#iptables -I INPUT -p tcp --dport 21 -j Accept
2>&1
#rpm -qac [package name]
# vi /etc/inittab change - id:3:initdefault:
35. Start the GUI for date configuration
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
IPtables output chain
system-config-date
/var/log/cron
36. GUI File Manager
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
/var/log/messages
nautilus
ln -s /pub /var/www/html/pub
37. Configuration file for system logs
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
$ tar xzvf home.tar.gz /home
yum install firefox4
/etc/rsyslog.conf
38. Stores IPtables rules (filter) chains - input forward output are persistant
tar fzj
IPtables output chain
/etc/sysconfig/iptables
chkconfig httpd on
39. Shell config tool gropued like GUI firewall configurater.
rpm -ql vsftpd
#rpm -qad [package name]
system-config-firewall tui
#rpm -uvh [package name]
40. System config firewall
GUI menu system/administratrion/firewall
rsync /home/test1.html root@server6.example.com:/var/pub
#rpm -qad [package name]
rpm --import [public key location]
41. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
#yum grouplist
MailTo=student@server6.example.com
updating the kernel
# grep -i
42. Connect with VNC viewer securely
/var/log/cron
vncviewer -via student@server6 localhost:2
rsync /home root@server6.example.com:/tmp
ln -s /pub /var/www/html/pub
43. Restart ssh services
2>&1
rsync /home/test1.html root@server6.example.com:/var/pub
/usr/share/doc/initscripts-*/sysconfig.txt
service sshd restart
44. Install with RPM
#rpm -ivh [package name]
#virsh destroy domain-id
$ tar czvf home.tar.gz /home
Fully Qualified Domain Name
45. Searches for page within the #man yum
man search :/repository
add/remove software GUI
#yum groupinstall "group name"
#uname -r
46. Install a package group with yum
#yum groupinstall "group name"
#yum install [package name]
ip masqu
IPtables forward chain
47. 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
/etc/yum.repos.d
nautilus
/etc/yum.repos.d/
48. Extract a star compressed file
# star -x -f=home.star
#ip addr show
IPtables forward chain
vncpasswd
49. Create a gzip-compressed backup of /etc in /tmp
vncviewer -via student@server6 localhost:2
yum info firefox4
ip masqu
tar czvf /tmp/etc.tar.gz /etc
50. Where are HTML pages hosted?
Fully Qualified Domain Name
/var/log/messages
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/var/www/html/
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