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. Remove a package named firefox4
yum search firefox
yum provides
/etc/sysconfig/network
yum remove firefox4
2. tar options for file name - gzip - and bzip2
#yum install [package name]
#uname -r
tar fzj
/etc/sysconfig/iptables
3. List VMs
/etc/services
#virsh list
2>&1
Fully Qualified Domain Name
4. Stores filewall rules for the system.
#rpm -ivh [package name]
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
rpm -ql vsftpd
/etc/sysconfig/iptables
5. tar options for create - extract - test - and verbose
#uname -r
yum provides
tar cxtv
/etc/yum.repos.d/
6. Query all documentation with RPM
rsync /home root@server6.example.com:/tmp
#rpm -qad [package name]
/etc/sysconfig/network
#yum install [package name]
7. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
/usr/share/doc/initscripts-*/sysconfig.txt
updating the kernel
tar xvzf /tmp/etc.tar.gz /etc
#rpm -qad [package name]
8. Install a package with yum
#iptables -L
#yum install [package name]
# star -x -f=home.star
palimpsest
9. Shell config tool gropued like GUI firewall configurater.
2>&1
palimpsest
chkconfig vsftpd on
system-config-firewall tui
10. Restart ssh services
service sshd restart
ntpdate -b instructor
# yum
rhn_register
11. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
# renice -10 proc-id
insert as opposed to append
/etc/services
$ tar czvf home.tar.gz /home
12. Get more information on a package availale through yum
#rpm -qad [package name]
$ tar xzvf home.tar.gz /home
#yum info [package name]
palimpsest
13. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
#rpm -qa | grep [package name]
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
ln -s /pub /var/www/html/pub
#rpm -uvh [package name]
14. Extract a star compressed file
# grep -i
palimpsest
# star -x -f=home.star
man search :/repository
15. original DNS config file - still used
/dev
/etc/sysconfig/resolv.conf
/var/www/html/
system-config-date
16. Generate SSH Keys
service ntpd restart
rpm -qc httpd
ssh-keygen
/var/log/maillog
17. Repo config file
/var/log/messages
[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
yum install tigervnc-server
vsftpd
18. Configuration file for system logs
ln -s /pub /var/www/html/pub
ssh-copy-id root@server6.example.com
#virsh destroy domain-id
/etc/rsyslog.conf
19. Start the GUI for date configuration
/etc/rsyslog.conf
system-config-date
# renice -10 proc-id
/etc/sysconfig/vncservers rpm -ql tigervnc-server
20. Start GUI for Firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
rsync /home root@server6.example.com:/tmp
rhn_register
#rpm -qa | grep [package name]
21. Connect with VNC viewer securely
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
vncviewer -via student@server6 localhost:2
/var/lib/rpm
yum install firefox4
22. Determine which package provides SSH
#rpm -qac [package name]
yum provides "*/sbin/sshd"
# star -xattr -H=exustar -c -f=home.star /home/
/var/log/secure
23. See the configuration files installed with a package named httpd
/var/log/cron
cat >> some_file << _EOF
rpm -qc httpd
ssh-copy-id root@server6.example.com
24. GUI File Manager
#uname -r
# ls -l /usr/share/doc | grep httpd
nautilus
# yum
25. Sync ntp time with the instructor
#iptables -L
#rpm -qi [package name]
ntpdate -b instructor
#ip addr show
26. Install a pkg.rpm locally
.spec
yum info firefox4
/dev
rpm localinstall pkg.rpm --nogpgcheck
27. Grep with ignoring case
# grep -i
service ntpd restart
rsync -a /home/test1.html root@server6.example.com:/var/pub
IPtables output chain
28. Persist FTP on boot
rpm --import [public key location]
chkconfig vsftpd on
logwatch
yum provides
29. Search for command in the doc directory
ssh-keygen
#rpm -qi [package name]
service sshd restart
# ls -l /usr/share/doc | grep httpd
30. Package file named pkg.rpm
rpm -qp pkg.rpm
#rpm -uvh [package name]
yum provides
#yum remove [package name]
31. Install with RPM
#iptables -F
/var/www/html/
IPtables forward chain
#rpm -ivh [package name]
32. Flush the firewall of all rules
[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
#iptables -F
yum list
/etc/services
33. Grep for lines that do not match (-v)
/var/log/cron
logwatch
$ grep -v ^# /etc/nsswitch.conf
/etc/yum.repos.d
34. Email related messages log
/var/log/maillog
rpm --import [public key location]
.spec
#rpm -qad [package name]
35. Process packets coming into the system
rpm --import [public key location]
$ tar xzvf home.tar.gz /home
/etc/sysconfig/network
IPtables input chain
36. Local file copy of /home/test1.html to /var/www/html/test1.html
#iptables -D INPUT -p tcp --dport 21 -j accpet
#yum grouplist
cp /home/test1.html /var/www/html/test1.html
#iptables -I INPUT -p tcp --dport 21 -j Accept
37. Redirect errors to std out
rpm -q pkg.rpm --scripts
updating the kernel
yum remove firefox4
2>&1
38. Where are HTML pages hosted?
/etc/sysconfig/network
rpm -ql vsftpd
/var/www/html/
yum remove firefox4
39. Install star
# yum
name-version-release.architecture.rpm
#ip addr show
/usr/share/doc/initscripts-*/sysconfig.txt
40. Copy a public ssh key to server6
ssh-copy-id root@server6.example.com
rpm --import [public key location]
# vi /etc/inittab change - id:3:initdefault:
/etc/rsyslog.conf
41. List installed and available packages
yum list
#yum install [package name]
#rpm -qi [package name]
IPtables forward chain
42. Install a package named firefox4
ssh-keygen
yum install firefox4
/var/www/html/
/var/lib/rpm
43. Kill a VM
#yum grouplist
rhn_register
#virsh destroy domain-id
rsync -a /home/test1.html root@server6.example.com:/var/pub
44. Show IP address with the IP command
#rpm -uvh [package name]
#ip addr show
#yum groupremove "group name"
/etc/services
45. Send all debug level messages to /var/log/debug.log
/var/lib/rpm
*.debug /var/log/debug.log service rsyslog restart
/etc/ssh/sshd_config
#virsh list
46. Program to analyze standard log files and send a summary email to root
yum provides
#iptables -D INPUT -p tcp --dport 21 -j accpet
logwatch
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
47. Import a public key
#yum
service vncserver restart chkconfig vncserver on
/dev
rpm --import [public key location]
48. Location of repo's
/etc/yum.repos.d/
*.debug /var/log/debug.log service rsyslog restart
rpm --import [public key location]
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
49. Start a VM
IPtables input chain
rpm -qp pkg.rpm
# virsh create /etc/libvert/qemu/vm_file_name.xml
/etc/services
50. List iptables
/etc/hosts
#yum groupremove "group name"
vncpasswd
#iptables -L
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