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. Set process priority with renice - -20 highest - 20 lowest - 0 is default
ntpdate -b instructor
# renice -10 proc-id
rsync -a /home/test1.html root@server6.example.com:/var/pub
$ tar czvf home.tar.gz /home
2. Install a pkg.rpm locally
rpm localinstall pkg.rpm --nogpgcheck
add/remove software GUI
service vncserver restart chkconfig vncserver on
#yum
3. Copy a public ssh key to server6
#yum remove [package name]
ssh-copy-id root@server6.example.com
cp /home/test1.html /var/www/html/test1.html
palimpsest
4. Install a package group with yum
#yum remove [package name]
ssh-copy-id root@server6.example.com
#yum groupinstall "group name"
#yum install [package name]
5. Uninstall a package group with yum
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/network
ln -s /pub /var/www/html/pub
#yum groupremove "group name"
6. Grep for lines that do not match (-v)
$ grep -v ^# /etc/nsswitch.conf
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
Fully Qualified Domain Name
rpm localinstall pkg.rpm --nogpgcheck
7. FTP package used in RHEL 6
MailTo=student@server6.example.com
vsftpd
/dev
/var/log/cron
8. Create a symbolic link to /pub on the FTP and name it pub
#rpm -uvh [package name]
ln -s /pub /var/www/html/pub
/etc/rsyslog.conf
/var/www/html/
9. Flush the firewall of all rules
/var/log/cron
#iptables -F
#yum info [package name]
nautilus
10. Get more information on a package availale through yum
#yum info [package name]
cp /home/test1.html /var/www/html/test1.html
# grep -i
# yum
11. Authentication related messages log
/etc/sysconfig/iptables
#virsh destroy domain-id
/var/log/secure
ln -s /pub /var/www/html/pub
12. An example of searching through system logs with interpretation.
$ tar czvf home.tar.gz /home
#iptables -L
# cat /var/log/messages | grep [Ff]ailed | less
/var/log/secure
13. Local host file (contains hostname). Can contain local system DNS.
/etc/sysconfig/resolv.conf
/etc/hosts
tar xvzf /tmp/etc.tar.gz /etc
chkconfig httpd on
14. GUI install / uninstall with yum
# renice -10 proc-id
#rpm -ivh [package name]
yum remove firefox4
add/remove software GUI
15. Search for a package with firefox in the description
#iptables -F
yum search firefox
/var/log/secure
#rpm -ivh [package name]
16. Remote file copy /home/test1.html to the /var/pub directory on server6
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/network
/etc/sysconfig/iptables
/var/www/html/
17. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
updating the kernel
insert as opposed to append
$ grep -v ^# /etc/nsswitch.conf
yum search firefox
18. Set a VNC password
/etc/rsyslog.conf
yum provides
vncpasswd
tar xvzf /tmp/etc.tar.gz /etc
19. Search for a package within all packages
#rpm -qa | grep [package name]
cat >> some_file << _EOF
.spec
/etc/hosts
20. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
yum install tigervnc-server
#yum grouplist
#yum groupremove "group name"
.spec
21. Register on the RHN
logwatch
/etc/services
rhn_register
yum install firefox4
22. Install the VNC server package
#yum info [package name]
chkconfig vsftpd on
yum install tigervnc-server
#yum groupinstall "group name"
23. Grep with ignoring case
# renice -10 proc-id
# grep -i
rpm -qc httpd
/etc/sysconfig/resolv.conf
24. Repo config file
MailTo=student@server6.example.com
#rpm -qad [package name]
# virsh create /etc/libvert/qemu/vm_file_name.xml
[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
25. Sync ntp time with the instructor
ntpdate -b instructor
man search :/repository
MailTo=student@server6.example.com
yum provides "*/sbin/sshd"
26. Remove a package named firefox4
tar czvf /tmp/etc.tar.gz /etc
ip masqu
yum remove firefox4
*.debug /var/log/debug.log service rsyslog restart
27. Install a package named firefox4
rpm -q pkg.rpm --scripts
yum install firefox4
#iptables -I INPUT -p tcp --dport 21 -j Accept
/var/log/cron
28. Extract /tmp/etc.tar.gz to /etc
# yum
tar xvzf /tmp/etc.tar.gz /etc
rpm -q pkg.rpm --scripts
vncviewer -via student@server6 localhost:2
29. Delete a rule from iptables
ip masqu
yum install firefox4
#iptables -D INPUT -p tcp --dport 21 -j accpet
/etc/rsyslog.conf
30. Messages related to cron log
/var/log/cron
tar xvzf /tmp/etc.tar.gz /etc
# virsh create /etc/libvert/qemu/vm_file_name.xml
/etc/sysconfig/resolv.conf
31. Create a gzip-compressed backup of /etc in /tmp
*.debug /var/log/debug.log service rsyslog restart
updating the kernel
tar czvf /tmp/etc.tar.gz /etc
.spec
32. Query all documentation with RPM
ssh-copy-id root@server6.example.com
#rpm -qad [package name]
/etc/ssh/sshd_config
IPtables output chain
33. Process packets coming out of the system
/etc/sysconfig/network
IPtables output chain
yum list
yum search firefox
34. Documentation about sysconfig network scripts
/usr/share/doc/initscripts-*/sysconfig.txt
/var/log/secure
system-config-date
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
35. Restart the ntpd service
system-config-firewall tui
yum install firefox4
service ntpd restart
#rpm -qa | grep [package name]
36. Contains RPM database
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
IPtables input chain
/var/lib/rpm
#virsh list
37. Query configuration files with RPM
# virsh create /etc/libvert/qemu/vm_file_name.xml
#rpm -qac [package name]
/var/log/cron
insert as opposed to append
38. Install with RPM
#rpm -ivh [package name]
yum install tigervnc-server
yum update
/var/www/html/
39. Edit files with cat until the _EOF is found
/dev
ntpdate -b instructor
*.debug /var/log/debug.log service rsyslog restart
cat >> some_file << _EOF
40. Disk Utility Command
yum install tigervnc-server
/etc/yum.repos.d/
palimpsest
rhn_register
41. Location of repo's
/etc/yum.repos.d/
/usr/share/doc/initscripts-*/sysconfig.txt
# yum
/var/lib/rpm
42. Use lftp to connect
/etc/sysconfig/iptables
/etc/ssh/sshd_config
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/var/log/cron
43. All messages sent at info priority or higher
/var/log/cron
vsftpd
#yum groupinstall "group name"
/var/log/messages
44. handles dependencies while RPMs do not uses preconfigured repos
#yum
yum search firefox
yum info firefox4
/var/log/maillog
45. Gets kernel version and release number
ip masqu
#uname -r
IPtables forward chain
service sshd restart
46. Local file copy of /home/test1.html to /var/www/html/test1.html
/etc/yum.repos.d
/var/log/maillog
2>&1
cp /home/test1.html /var/www/html/test1.html
47. Configuration for VNC
vncviewer -via student@server6 localhost:2
tar xvzf /tmp/etc.tar.gz /etc
# ls -l /usr/share/doc | grep httpd
/etc/sysconfig/vncservers rpm -ql tigervnc-server
48. Extract a gzipped tar ball in your home directory
system-config-date
$ tar xzvf home.tar.gz /home
insert as opposed to append
tar cxtv
49. Start the GUI for date configuration
system-config-date
#iptables -I INPUT -p tcp --dport 21 -j Accept
/etc/rsyslog.conf
cat >> some_file << _EOF
50. Display packages that match the pathname
# star -x -f=home.star
$ grep -v ^# /etc/nsswitch.conf
yum install tigervnc-server
yum provides
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