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. Redirect errors to std out
2>&1
IPtables output chain
rsync /home root@server6.example.com:/tmp
/var/log/messages
2. Rpm upgrade package u upgrade v verbose h hash
add/remove software GUI
#rpm -uvh [package name]
2>&1
/var/log/secure
3. Search for a package within all packages
GUI menu system/administratrion/firewall
# yum
#yum info [package name]
#rpm -qa | grep [package name]
4. Start the GUI for date configuration
/etc/rsyslog.conf
system-config-date
#iptables -I INPUT -p tcp --dport 21 -j Accept
Fully Qualified Domain Name
5. Install a package named firefox4
2>&1
yum install firefox4
#virsh list
[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
6. Display packages that match the pathname
# vi /etc/inittab change - id:3:initdefault:
yum provides
/var/lib/rpm
ln -s /pub /var/www/html/pub
7. Documentation about sysconfig network scripts
palimpsest
/var/log/messages
/usr/share/doc/initscripts-*/sysconfig.txt
#iptables -I INPUT -p tcp --dport 21 -j Accept
8. FTP package used in RHEL 6
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
yum provides "*/sbin/sshd"
service sshd restart
vsftpd
9. Persist the web server on boot
# star -x -f=home.star
chkconfig httpd on
yum search firefox
rhn_register
10. Search for command in the doc directory
#virsh destroy domain-id
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
# ls -l /usr/share/doc | grep httpd
#yum remove [package name]
11. Connect with VNC viewer securely
IPtables forward chain
ln -s /pub /var/www/html/pub
/var/lib/rpm
vncviewer -via student@server6 localhost:2
12. Grep with ignoring case
updating the kernel
#rpm -qac [package name]
rpm -qc httpd
# grep -i
13. Import a public key
nautilus
rpm --import [public key location]
#virsh destroy domain-id
IPtables input chain
14. Show IP address with the IP command
#rpm -qi [package name]
#ip addr show
yum list
#iptables -D INPUT -p tcp --dport 21 -j accpet
15. Copy a public ssh key to server6
rpm -q pkg.rpm --scripts
ip masqu
ssh-copy-id root@server6.example.com
#yum info [package name]
16. tar options for file name - gzip - and bzip2
/etc/yum.repos.d/
tar fzj
rpm localinstall pkg.rpm --nogpgcheck
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
17. Create a symbolic link to /pub on the FTP and name it pub
ln -s /pub /var/www/html/pub
#ip addr show
2>&1
/var/log/cron
18. Uninstall a package group with yum
service ntpd restart
#yum groupremove "group name"
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
ssh-keygen
19. GUI File Manager
#yum groupremove "group name"
#yum
nautilus
# renice -10 proc-id
20. Grep for lines that do not match (-v)
logwatch
#virsh list
$ grep -v ^# /etc/nsswitch.conf
yum provides
21. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
#uname -r
#yum grouplist
updating the kernel
system-config-date
22. Get a list of package groups from yum
yum install firefox4
#yum grouplist
chkconfig httpd on
/etc/sysconfig/iptables
23. Use lftp to connect
/usr/share/doc/initscripts-*/sysconfig.txt
#yum groupinstall "group name"
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
system-config-date
24. Extract a gzipped tar ball in your home directory
rpm localinstall pkg.rpm --nogpgcheck
yum install tigervnc-server
# renice -10 proc-id
$ tar xzvf home.tar.gz /home
25. Repo config file
[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 xvzf /tmp/etc.tar.gz /etc
vsftpd restart
service vncserver restart chkconfig vncserver on
26. Get more information on a package availale through yum
#yum info [package name]
#rpm -ivh [package name]
ntpdate -b instructor
vncpasswd
27. Shell config tool gropued like GUI firewall configurater.
#iptables -F
system-config-firewall tui
$ grep -v ^# /etc/nsswitch.conf
rhn_register
28. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
yum info firefox4
*.debug /var/log/debug.log service rsyslog restart
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/network
29. Acting as a router with forwarding
#rpm -qac [package name]
rpm -qc httpd
# yum
ip masqu
30. Update a package
# star -x -f=home.star
yum update
#virsh list
yum provides "*/sbin/sshd"
31. See files installed with a package named vsftpd
# vi /etc/inittab change - id:3:initdefault:
tar fzj
/var/lib/rpm
rpm -ql vsftpd
32. handles dependencies while RPMs do not uses preconfigured repos
vsftpd
#virsh destroy domain-id
#yum
# star -xattr -H=exustar -c -f=home.star /home/
33. Authentication related messages log
yum update
#iptables -L
/var/log/secure
vncviewer -via student@server6 localhost:2
34. Install a package with yum
#yum install [package name]
#rpm -ivh [package name]
tar xvzf /tmp/etc.tar.gz /etc
# renice -10 proc-id
35. Configuration file for system logs
$ tar xzvf home.tar.gz /home
/etc/rsyslog.conf
#uname -r
#iptables -L
36. Restart the ntpd service
/etc/yum.repos.d
service ntpd restart
#yum groupremove "group name"
# grep -i
37. Program to analyze standard log files and send a summary email to root
logwatch
MailTo=student@server6.example.com
insert as opposed to append
/etc/yum.repos.d
38. An example of searching through system logs with interpretation.
#yum
vncpasswd
# cat /var/log/messages | grep [Ff]ailed | less
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
39. GUI install / uninstall with yum
yum provides
# cat /var/log/messages | grep [Ff]ailed | less
add/remove software GUI
service ntpd restart
40. Register on the RHN
yum provides
rhn_register
vncpasswd
/etc/services
41. See the configuration files installed with a package named httpd
# grep -i
vsftpd restart
rsync -a /home/test1.html root@server6.example.com:/var/pub
rpm -qc httpd
42. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
# yum
ntpdate -b instructor
$ grep -v ^# /etc/nsswitch.conf
43. Determine which package provides SSH
rpm -qp pkg.rpm
#iptables -D INPUT -p tcp --dport 21 -j accpet
yum provides "*/sbin/sshd"
#virsh destroy domain-id
44. System config firewall
GUI menu system/administratrion/firewall
/etc/sysconfig/vncservers rpm -ql tigervnc-server
chkconfig httpd on
IPtables forward chain
45. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
$ tar czvf home.tar.gz /home
yum install tigervnc-server
rsync -a /home/test1.html root@server6.example.com:/var/pub
yum update
46. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
yum info firefox4
Fully Qualified Domain Name
# cat /var/log/messages | grep [Ff]ailed | less
47. Local file copy of /home/test1.html to /var/www/html/test1.html
2>&1
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
ssh-keygen
cp /home/test1.html /var/www/html/test1.html
48. Flush the firewall of all rules
yum list
man search :/repository
#iptables -F
rsync /home/test1.html root@server6.example.com:/var/pub
49. Edit files with cat until the _EOF is found
#yum info [package name]
#yum grouplist
#virsh list
cat >> some_file << _EOF
50. Install the star compression tool create an archive with the star tool.
updating the kernel
ssh-copy-id root@server6.example.com
# star -xattr -H=exustar -c -f=home.star /home/
yum update
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