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. Extract a gzipped tar ball in your home directory
$ tar xzvf home.tar.gz /home
.spec
nautilus
/etc/hosts
2. Configuration for VNC
#yum groupinstall "group name"
#rpm -qad [package name]
# cat /var/log/messages | grep [Ff]ailed | less
/etc/sysconfig/vncservers rpm -ql tigervnc-server
3. Gets kernel version and release number
IPtables forward chain
#uname -r
#iptables -F
#rpm -qa | grep [package name]
4. Get information about a package named firefox4
/etc/hosts
/var/lib/rpm
yum info firefox4
#rpm -qad [package name]
5. Edit files with cat until the _EOF is found
*.debug /var/log/debug.log service rsyslog restart
cat >> some_file << _EOF
#virsh list
#yum grouplist
6. Restart ssh services
service sshd restart
#yum
updating the kernel
#ip addr show
7. Process packets being forwarded through the system
ssh-copy-id root@server6.example.com
/etc/rsyslog.conf
rhn_register
IPtables forward chain
8. Install a package with yum
add/remove software GUI
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
insert as opposed to append
#yum install [package name]
9. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
# yum
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
2>&1
yum provides "*/sbin/sshd"
10. See the configuration files installed with a package named httpd
$ grep -v ^# /etc/nsswitch.conf
#rpm -qac [package name]
MailTo=student@server6.example.com
rpm -qc httpd
11. Create a symbolic link to /pub on the FTP and name it pub
#yum remove [package name]
rpm --import [public key location]
ln -s /pub /var/www/html/pub
#yum grouplist
12. All messages sent at info priority or higher
chkconfig httpd on
MailTo=student@server6.example.com
/var/log/messages
rsync -a /home/test1.html root@server6.example.com:/var/pub
13. Repos for yum
/etc/yum.repos.d
vncpasswd
ssh-copy-id root@server6.example.com
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
14. Install star
vsftpd restart
# yum
chkconfig vsftpd on
rpm --import [public key location]
15. Install with RPM
#iptables -L
#rpm -ivh [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
ip masqu
16. List scripts that can be run after installation of pkg.rpm
yum info firefox4
rpm -q pkg.rpm --scripts
#yum groupremove "group name"
#virsh list
17. Uninstall a package group with yum
rpm -qc httpd
/etc/rsyslog.conf
#yum groupremove "group name"
tar xvzf /tmp/etc.tar.gz /etc
18. Local host file (contains hostname). Can contain local system DNS.
#iptables -L
/etc/hosts
rpm localinstall pkg.rpm --nogpgcheck
#iptables -F
19. GUI File Manager
vncviewer -via student@server6 localhost:2
nautilus
# yum
rpm -ql vsftpd
20. Set process priority with renice - -20 highest - 20 lowest - 0 is default
#iptables -F
/etc/sysconfig/network
# renice -10 proc-id
rpm -ql vsftpd
21. Send all debug level messages to /var/log/debug.log
#yum remove [package name]
*.debug /var/log/debug.log service rsyslog restart
yum info firefox4
#yum groupremove "group name"
22. Email related messages log
2>&1
#yum info [package name]
/var/log/maillog
yum search firefox
23. Repo config file
/etc/sysconfig/resolv.conf
palimpsest
[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
ssh-keygen
24. Stores filewall rules for the system.
/etc/sysconfig/iptables
/etc/ssh/sshd_config
MailTo=student@server6.example.com
service vncserver restart chkconfig vncserver on
25. Grep for lines that do not match (-v)
tar fzj
$ grep -v ^# /etc/nsswitch.conf
rpm -qp pkg.rpm
man search :/repository
26. Local file copy of /home/test1.html to /var/www/html/test1.html
/etc/sysconfig/vncservers rpm -ql tigervnc-server
cp /home/test1.html /var/www/html/test1.html
palimpsest
tar xvzf /tmp/etc.tar.gz /etc
27. Persist the web server on boot
chkconfig httpd on
#rpm -qa | grep [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
# grep -i
28. Primary configuration of ssh
# yum
/etc/ssh/sshd_config
/etc/sysconfig/iptables
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
29. Register on the RHN
rhn_register
#virsh list
#yum install [package name]
service ntpd restart
30. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/etc/sysconfig/network
rpm -qc httpd
$ grep -v ^# /etc/nsswitch.conf
man search :/repository
31. Extract a star compressed file
# star -x -f=home.star
/etc/services
#yum grouplist
yum search firefox
32. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
rhn_register
# cat /var/log/messages | grep [Ff]ailed | less
service ntpd restart
33. Query configuration files with RPM
#rpm -qac [package name]
$ grep -v ^# /etc/nsswitch.conf
# star -x -f=home.star
chkconfig httpd on
34. Restart the ntpd service
service ntpd restart
ntpdate -b instructor
tar cxtv
yum provides "*/sbin/sshd"
35. Acting as a router with forwarding
#rpm -ivh [package name]
IPtables input chain
ip masqu
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
36. Install the VNC server package
rsync /home/test1.html root@server6.example.com:/var/pub
# cat /var/log/messages | grep [Ff]ailed | less
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
37. Start the GUI for date configuration
IPtables input chain
/etc/sysconfig/iptables
# ls -l /usr/share/doc | grep httpd
system-config-date
38. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
#rpm -qi [package name]
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
IPtables forward chain
GUI menu system/administratrion/firewall
39. Import a public key
rpm --import [public key location]
/etc/hosts
rsync /home root@server6.example.com:/tmp
#yum remove [package name]
40. Search for a package with firefox in the description
#yum info [package name]
rpm -qc httpd
yum info firefox4
yum search firefox
41. FTP package used in RHEL 6
/etc/rsyslog.conf
#yum info [package name]
tar xvzf /tmp/etc.tar.gz /etc
vsftpd
42. Shell config tool gropued like GUI firewall configurater.
/etc/yum.repos.d/
/etc/rsyslog.conf
system-config-firewall tui
tar fzj
43. Create a tar ball with gzip compression of the home dir
rpm -qc httpd
$ tar czvf home.tar.gz /home
rpm -qp pkg.rpm
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
44. Install a package named firefox4
yum install firefox4
# star -xattr -H=exustar -c -f=home.star /home/
logwatch
#rpm -qa | grep [package name]
45. Program to analyze standard log files and send a summary email to root
.spec
rpm -qc httpd
logwatch
vsftpd restart
46. Configuration file for system logs
rpm -ql vsftpd
vncpasswd
/etc/rsyslog.conf
#iptables -L
47. Set a VNC password
# vi /etc/inittab change - id:3:initdefault:
system-config-date
vncpasswd
IPtables input chain
48. Sync ntp time with the instructor
ntpdate -b instructor
# vi /etc/inittab change - id:3:initdefault:
rpm -q pkg.rpm --scripts
ssh-copy-id root@server6.example.com
49. original DNS config file - still used
#yum grouplist
/etc/sysconfig/resolv.conf
#iptables -F
yum provides
50. Update a package
yum update
rpm -q pkg.rpm --scripts
insert as opposed to append
#yum groupremove "group name"
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