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. Repos for yum
/etc/yum.repos.d
/etc/hosts
#iptables -D INPUT -p tcp --dport 21 -j accpet
system-config-date
2. See files installed with a package named vsftpd
rpm -ql vsftpd
yum install tigervnc-server
tar cxtv
vncpasswd
3. List scripts that can be run after installation of pkg.rpm
chkconfig vsftpd on
rpm -q pkg.rpm --scripts
yum list
/etc/hosts
4. Authentication related messages log
/var/log/secure
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
rsync -a /home/test1.html root@server6.example.com:/var/pub
cp /home/test1.html /var/www/html/test1.html
5. Register on the RHN
yum search firefox
chkconfig httpd on
rhn_register
yum update
6. Update a package
service sshd restart
# renice -10 proc-id
yum update
# star -x -f=home.star
7. Remote file copy /home/test1.html to the /var/pub directory on server6
rsync /home/test1.html root@server6.example.com:/var/pub
yum update
# star -xattr -H=exustar -c -f=home.star /home/
tar fzj
8. Create a tar ball with gzip compression of the home dir
$ tar czvf home.tar.gz /home
vncviewer -via student@server6 localhost:2
/etc/sysconfig/network
vncpasswd
9. Install a package group with yum
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
#yum groupinstall "group name"
name-version-release.architecture.rpm
#rpm -qi [package name]
10. Extract a star compressed file
#iptables -F
ip masqu
# star -x -f=home.star
#yum groupremove "group name"
11. Process packets coming into the system
rsync -a /home/test1.html root@server6.example.com:/var/pub
IPtables input chain
IPtables output chain
# renice -10 proc-id
12. List installed and available packages
$ tar czvf home.tar.gz /home
yum list
/etc/sysconfig/resolv.conf
# star -xattr -H=exustar -c -f=home.star /home/
13. handles dependencies while RPMs do not uses preconfigured repos
insert as opposed to append
/etc/yum.repos.d/
#yum
chkconfig httpd on
14. Edit files with cat until the _EOF is found
/etc/sysconfig/iptables
service vncserver restart chkconfig vncserver on
cat >> some_file << _EOF
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
15. Local host file (contains hostname). Can contain local system DNS.
/etc/yum.repos.d/
*.debug /var/log/debug.log service rsyslog restart
/etc/hosts
# grep -i
16. Get information about a package named firefox4
cat >> some_file << _EOF
yum remove firefox4
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
yum info firefox4
17. Generate SSH Keys
rpm -ql vsftpd
/var/log/secure
ssh-keygen
man search :/repository
18. Stores IPtables rules (filter) chains - input forward output are persistant
vncpasswd
/etc/sysconfig/iptables
#yum grouplist
/etc/yum.repos.d/
19. Local file copy of /home/test1.html to /var/www/html/test1.html
#iptables -I INPUT -p tcp --dport 21 -j Accept
rpm -qp pkg.rpm
yum install firefox4
cp /home/test1.html /var/www/html/test1.html
20. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
$ tar czvf home.tar.gz /home
cp /home/test1.html /var/www/html/test1.html
.spec
nautilus
21. Show IP address with the IP command
#ip addr show
#yum remove [package name]
#yum groupremove "group name"
vncpasswd
22. 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 grouplist
system-config-date
updating the kernel
23. Grep with ignoring case
# grep -i
#rpm -qi [package name]
cp /home/test1.html /var/www/html/test1.html
#virsh list
24. Restart the ntpd service
service ntpd restart
tar fzj
/etc/sysconfig/resolv.conf
nautilus
25. Copy a public ssh key to server6
#virsh list
man search :/repository
ssh-copy-id root@server6.example.com
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
26. Repo config file
#yum
/var/lib/rpm
[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 remove [package name]
27. Shell config tool gropued like GUI firewall configurater.
system-config-firewall tui
MailTo=student@server6.example.com
#rpm -qad [package name]
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
28. Location of repo's
rpm -qp pkg.rpm
#iptables -L
/etc/yum.repos.d/
.spec
29. Restart ssh services
/etc/sysconfig/resolv.conf
/etc/hosts
# yum
service sshd restart
30. Start a VM
/var/log/maillog
ln -s /pub /var/www/html/pub
vsftpd restart
# virsh create /etc/libvert/qemu/vm_file_name.xml
31. tar options for file name - gzip - and bzip2
$ grep -v ^# /etc/nsswitch.conf
tar fzj
ln -s /pub /var/www/html/pub
rpm -q pkg.rpm --scripts
32. Kill a VM
yum remove firefox4
yum provides
#virsh destroy domain-id
# yum
33. Query information files with RPM
/var/www/html/
#yum grouplist
vsftpd restart
#rpm -qi [package name]
34. Disks available for partitions
IPtables output chain
yum update
ntpdate -b instructor
/dev
35. Persist FTP on boot
nautilus
# vi /etc/inittab change - id:3:initdefault:
yum provides "*/sbin/sshd"
chkconfig vsftpd on
36. Search for a package with firefox in the description
yum search firefox
ssh-keygen
# renice -10 proc-id
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
37. Extract /tmp/etc.tar.gz to /etc
/etc/hosts
2>&1
tar xvzf /tmp/etc.tar.gz /etc
.spec
38. Uninstall a package group with yum
/var/log/secure
#rpm -uvh [package name]
/etc/sysconfig/iptables
#yum groupremove "group name"
39. Search for a package within all packages
vsftpd restart
#rpm -qa | grep [package name]
/etc/sysconfig/resolv.conf
# star -xattr -H=exustar -c -f=home.star /home/
40. Set process priority with renice - -20 highest - 20 lowest - 0 is default
#rpm -qa | grep [package name]
# cat /var/log/messages | grep [Ff]ailed | less
# renice -10 proc-id
yum info firefox4
41. Messages related to cron log
/var/log/cron
ip masqu
rpm -qp pkg.rpm
vsftpd
42. fqdn
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
Fully Qualified Domain Name
chkconfig httpd on
/etc/ssh/sshd_config
43. Send all debug level messages to /var/log/debug.log
IPtables input chain
*.debug /var/log/debug.log service rsyslog restart
IPtables output chain
# ls -l /usr/share/doc | grep httpd
44. List VMs
#virsh list
service sshd restart
/etc/sysconfig/resolv.conf
# star -x -f=home.star
45. List iptables
/var/log/messages
#yum grouplist
#iptables -L
add/remove software GUI
46. Import a public key
service ntpd restart
yum list
rpm --import [public key location]
#rpm -qad [package name]
47. Stores filewall rules for the system.
#virsh destroy domain-id
/etc/sysconfig/iptables
/var/www/html/
yum remove firefox4
48. Program to analyze standard log files and send a summary email to root
# ls -l /usr/share/doc | grep httpd
logwatch
.spec
service sshd restart
49. Start vsftp service
#rpm -qad [package name]
/etc/sysconfig/network
/var/lib/rpm
vsftpd restart
50. Backup a home directory on desktop6 to /tmp on server6
system-config-date
#yum remove [package name]
rsync /home root@server6.example.com:/tmp
vncviewer -via student@server6 localhost:2
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