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
yum search firefox
$ tar xzvf home.tar.gz /home
system-config-firewall tui
/dev
2. Repos for yum
/etc/yum.repos.d
#iptables -F
vsftpd
yum search firefox
3. Edit files with cat until the _EOF is found
vsftpd
# vi /etc/inittab change - id:3:initdefault:
/etc/hosts
cat >> some_file << _EOF
4. Copy a public ssh key to server6
rpm --import [public key location]
vncviewer -via student@server6 localhost:2
ssh-copy-id root@server6.example.com
rsync /home root@server6.example.com:/tmp
5. Connect with VNC viewer securely
vncviewer -via student@server6 localhost:2
rpm --import [public key location]
ln -s /pub /var/www/html/pub
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
6. Start vsftp service
rsync -a /home/test1.html root@server6.example.com:/var/pub
vsftpd restart
# grep -i
rpm -qp pkg.rpm
7. Extract /tmp/etc.tar.gz to /etc
#uname -r
#virsh destroy domain-id
tar xvzf /tmp/etc.tar.gz /etc
2>&1
8. Install a package named firefox4
yum install firefox4
/var/lib/rpm
/var/log/messages
#iptables -F
9. Process packets coming out of the system
IPtables output chain
#uname -r
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
man search :/repository
10. Grep with ignoring case
$ grep -v ^# /etc/nsswitch.conf
# grep -i
IPtables forward chain
rhn_register
11. Extract a star compressed file
#yum grouplist
# star -x -f=home.star
updating the kernel
$ grep -v ^# /etc/nsswitch.conf
12. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
#yum groupinstall "group name"
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
ip masqu
insert as opposed to append
13. Search for command in the doc directory
IPtables forward chain
vsftpd
ssh-keygen
# ls -l /usr/share/doc | grep httpd
14. Get more information on a package availale through yum
#yum info [package name]
ntpdate -b instructor
/etc/hosts
IPtables forward chain
15. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
tar fzj
/etc/sysconfig/iptables
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
16. Process packets coming into the system
ntpdate -b instructor
IPtables input chain
system-config-firewall tui
yum list
17. Install a pkg.rpm locally
rpm localinstall pkg.rpm --nogpgcheck
/etc/yum.repos.d
/etc/sysconfig/network
/etc/sysconfig/iptables
18. Install the VNC server package
chkconfig vsftpd on
yum install tigervnc-server
/etc/ssh/sshd_config
$ grep -v ^# /etc/nsswitch.conf
19. Shell config tool gropued like GUI firewall configurater.
yum install firefox4
system-config-firewall tui
tar czvf /tmp/etc.tar.gz /etc
rpm localinstall pkg.rpm --nogpgcheck
20. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
yum info firefox4
yum install tigervnc-server
logwatch
21. Start the GUI for date configuration
ln -s /pub /var/www/html/pub
#yum groupinstall "group name"
system-config-date
MailTo=student@server6.example.com
22. An example of searching through system logs with interpretation.
/etc/hosts
# cat /var/log/messages | grep [Ff]ailed | less
insert as opposed to append
/etc/yum.repos.d/
23. Start a VM
# vi /etc/inittab change - id:3:initdefault:
#iptables -L
# virsh create /etc/libvert/qemu/vm_file_name.xml
#rpm -uvh [package name]
24. System config firewall
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
vncviewer -via student@server6 localhost:2
GUI menu system/administratrion/firewall
#rpm -qi [package name]
25. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
insert as opposed to append
#ip addr show
vsftpd
#iptables -I INPUT -p tcp --dport 21 -j Accept
26. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
tar xvzf /tmp/etc.tar.gz /etc
man search :/repository
#iptables -F
27. Generate SSH Keys
rsync -a /home/test1.html root@server6.example.com:/var/pub
ssh-keygen
#yum install [package name]
# renice -10 proc-id
28. Rpm upgrade package u upgrade v verbose h hash
Fully Qualified Domain Name
tar czvf /tmp/etc.tar.gz /etc
#rpm -uvh [package name]
#ip addr show
29. handles dependencies while RPMs do not uses preconfigured repos
#yum
/usr/share/doc/initscripts-*/sysconfig.txt
# yum
yum provides
30. Local host file (contains hostname). Can contain local system DNS.
#yum groupinstall "group name"
/var/log/cron
#iptables -D INPUT -p tcp --dport 21 -j accpet
/etc/hosts
31. List VMs
updating the kernel
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
#rpm -qi [package name]
#virsh list
32. Searches for page within the #man yum
man search :/repository
/etc/services
/usr/share/doc/initscripts-*/sysconfig.txt
IPtables input chain
33. Send all debug level messages to /var/log/debug.log
/dev
*.debug /var/log/debug.log service rsyslog restart
#yum remove [package name]
/var/lib/rpm
34. Repo config file
chkconfig vsftpd on
/etc/sysconfig/iptables
#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
35. File holding services - ports - protocols assoicated
yum install firefox4
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
2>&1
/etc/services
36. Disk Utility Command
# virsh create /etc/libvert/qemu/vm_file_name.xml
# cat /var/log/messages | grep [Ff]ailed | less
palimpsest
#rpm -ivh [package name]
37. fqdn
Fully Qualified Domain Name
/var/www/html/
cat >> some_file << _EOF
tar czvf /tmp/etc.tar.gz /etc
38. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/rsyslog.conf
/etc/sysconfig/iptables
#ip addr show
ssh-keygen
39. Authentication related messages log
# cat /var/log/messages | grep [Ff]ailed | less
/var/log/secure
/usr/share/doc/initscripts-*/sysconfig.txt
ntpdate -b instructor
40. Get information about a package named firefox4
tar cxtv
rpm -qc httpd
IPtables output chain
yum info firefox4
41. Configuration file for system logs
/etc/rsyslog.conf
# star -x -f=home.star
/dev
yum provides
42. Grep for lines that do not match (-v)
ssh-keygen
$ grep -v ^# /etc/nsswitch.conf
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
IPtables input chain
43. List iptables
#yum info [package name]
/etc/sysconfig/network
#iptables -L
# yum
44. See files installed with a package named vsftpd
rpm -ql vsftpd
/var/lib/rpm
/etc/services
GUI menu system/administratrion/firewall
45. Where are HTML pages hosted?
/var/www/html/
# renice -10 proc-id
# cat /var/log/messages | grep [Ff]ailed | less
#virsh destroy domain-id
46. Messages related to cron log
/var/log/cron
Fully Qualified Domain Name
cp /home/test1.html /var/www/html/test1.html
rpm localinstall pkg.rpm --nogpgcheck
47. Restart vnc and persist on boot
/etc/sysconfig/vncservers rpm -ql tigervnc-server
#rpm -qa | grep [package name]
yum update
service vncserver restart chkconfig vncserver on
48. Create a tar ball with gzip compression of the home dir
rhn_register
yum search firefox
[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
$ tar czvf home.tar.gz /home
49. List scripts that can be run after installation of pkg.rpm
#iptables -F
# yum
/var/log/secure
rpm -q pkg.rpm --scripts
50. Gets kernel version and release number
/etc/yum.repos.d/
*.debug /var/log/debug.log service rsyslog restart
cp /home/test1.html /var/www/html/test1.html
#uname -r
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