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 with yum
#yum remove [package name]
man search :/repository
system-config-date
*.debug /var/log/debug.log service rsyslog restart
2. Install a package group with yum
updating the kernel
#yum groupinstall "group name"
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
rpm -ql vsftpd
3. Create a symbolic link to /pub on the FTP and name it pub
yum info firefox4
ln -s /pub /var/www/html/pub
# grep -i
IPtables forward chain
4. Stores IPtables rules (filter) chains - input forward output are persistant
# star -x -f=home.star
/etc/sysconfig/iptables
/var/www/html/
tar cxtv
5. Update a package
IPtables forward chain
rsync -a /home/test1.html root@server6.example.com:/var/pub
service ntpd restart
yum update
6. Documentation about sysconfig network scripts
yum provides
$ grep -v ^# /etc/nsswitch.conf
ln -s /pub /var/www/html/pub
/usr/share/doc/initscripts-*/sysconfig.txt
7. Query all documentation with RPM
#rpm -qad [package name]
# yum
/etc/yum.repos.d
ntpdate -b instructor
8. Search for a package with firefox in the description
yum search firefox
/var/log/cron
/var/log/maillog
yum install tigervnc-server
9. Extract a star compressed file
# star -x -f=home.star
nautilus
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
/etc/services
10. Show IP address with the IP command
yum info firefox4
#rpm -qa | grep [package name]
add/remove software GUI
#ip addr show
11. Where are HTML pages hosted?
#yum info [package name]
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/var/www/html/
#rpm -qa | grep [package name]
12. Install star
# yum
$ tar czvf home.tar.gz /home
IPtables forward chain
yum install tigervnc-server
13. Process packets coming into the system
IPtables input chain
# vi /etc/inittab change - id:3:initdefault:
#iptables -F
/etc/services
14. Get a list of package groups from yum
#uname -r
MailTo=student@server6.example.com
#yum
#yum grouplist
15. Uninstall a package group with yum
vncpasswd
tar czvf /tmp/etc.tar.gz /etc
rpm -ql vsftpd
#yum groupremove "group name"
16. Gets kernel version and release number
service sshd restart
$ tar czvf home.tar.gz /home
#uname -r
rpm -qp pkg.rpm
17. Determine which package provides SSH
yum provides "*/sbin/sshd"
#virsh destroy domain-id
logwatch
# ls -l /usr/share/doc | grep httpd
18. Grep for lines that do not match (-v)
$ grep -v ^# /etc/nsswitch.conf
insert as opposed to append
palimpsest
#rpm -uvh [package name]
19. Create a gzip-compressed backup of /etc in /tmp
/etc/sysconfig/network
#rpm -qad [package name]
tar czvf /tmp/etc.tar.gz /etc
ssh-copy-id root@server6.example.com
20. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
updating the kernel
tar czvf /tmp/etc.tar.gz /etc
$ tar czvf home.tar.gz /home
#rpm -uvh [package name]
21. Use lftp to connect
rpm -q pkg.rpm --scripts
ssh-copy-id root@server6.example.com
IPtables input chain
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
22. Query information files with RPM
chkconfig vsftpd on
ssh-copy-id root@server6.example.com
#rpm -qi [package name]
rsync -a /home/test1.html root@server6.example.com:/var/pub
23. File holding services - ports - protocols assoicated
rpm -ql vsftpd
service sshd restart
#virsh list
/etc/services
24. Edit files with cat until the _EOF is found
#iptables -D INPUT -p tcp --dport 21 -j accpet
rsync /home root@server6.example.com:/tmp
ntpdate -b instructor
cat >> some_file << _EOF
25. Create a tar ball with gzip compression of the home dir
rpm -ql vsftpd
name-version-release.architecture.rpm
$ tar czvf home.tar.gz /home
.spec
26. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
cat >> some_file << _EOF
#iptables -I INPUT -p tcp --dport 21 -j Accept
vncviewer -via student@server6 localhost:2
/etc/hosts
27. tar options for create - extract - test - and verbose
# star -xattr -H=exustar -c -f=home.star /home/
tar cxtv
nautilus
#rpm -qad [package name]
28. original DNS config file - still used
rpm -qp pkg.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
/etc/sysconfig/resolv.conf
/etc/yum.repos.d/
29. Restart ssh services
service sshd restart
/etc/yum.repos.d
rsync /home root@server6.example.com:/tmp
tar xvzf /tmp/etc.tar.gz /etc
30. Local host file (contains hostname). Can contain local system DNS.
/etc/hosts
name-version-release.architecture.rpm
# cat /var/log/messages | grep [Ff]ailed | less
/usr/share/doc/initscripts-*/sysconfig.txt
31. Email related messages log
yum remove firefox4
/etc/yum.repos.d/
IPtables forward chain
/var/log/maillog
32. Install the VNC server package
yum install tigervnc-server
chkconfig httpd on
2>&1
man search :/repository
33. Package file named pkg.rpm
#iptables -L
system-config-date
rsync /home root@server6.example.com:/tmp
rpm -qp pkg.rpm
34. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
vsftpd
/etc/sysconfig/iptables
/etc/sysconfig/network
#rpm -ivh [package name]
35. Start the GUI for date configuration
yum install tigervnc-server
#ip addr show
system-config-date
# cat /var/log/messages | grep [Ff]ailed | less
36. Import a public key
# renice -10 proc-id
yum update
#rpm -qi [package name]
rpm --import [public key location]
37. Primary configuration of ssh
chkconfig vsftpd on
ssh-keygen
*.debug /var/log/debug.log service rsyslog restart
/etc/ssh/sshd_config
38. GUI File Manager
#rpm -uvh [package name]
system-config-date
/etc/sysconfig/vncservers rpm -ql tigervnc-server
nautilus
39. Local file copy of /home/test1.html to /var/www/html/test1.html
service sshd restart
cp /home/test1.html /var/www/html/test1.html
vncviewer -via student@server6 localhost:2
#rpm -qa | grep [package name]
40. RPM package naming
system-config-date
name-version-release.architecture.rpm
man search :/repository
IPtables forward chain
41. Shell config tool gropued like GUI firewall configurater.
# virsh create /etc/libvert/qemu/vm_file_name.xml
system-config-firewall tui
#yum groupremove "group name"
.spec
42. Send all debug level messages to /var/log/debug.log
/var/log/maillog
yum provides "*/sbin/sshd"
*.debug /var/log/debug.log service rsyslog restart
/etc/services
43. tar options for file name - gzip - and bzip2
rpm -qc httpd
system-config-firewall tui
name-version-release.architecture.rpm
tar fzj
44. Register on the RHN
vncviewer -via student@server6 localhost:2
rsync /home/test1.html root@server6.example.com:/var/pub
# star -x -f=home.star
rhn_register
45. Configuration file for system logs
/var/lib/rpm
GUI menu system/administratrion/firewall
#iptables -F
/etc/rsyslog.conf
46. Restart the ntpd service
#yum
nautilus
service ntpd restart
#rpm -qac [package name]
47. Contains RPM database
GUI menu system/administratrion/firewall
/var/lib/rpm
#iptables -F
#ip addr show
48. Disks available for partitions
/dev
# yum
rpm -ql vsftpd
man search :/repository
49. Stores filewall rules for the system.
#yum install [package name]
rsync /home root@server6.example.com:/tmp
tar xvzf /tmp/etc.tar.gz /etc
/etc/sysconfig/iptables
50. Kill a VM
/var/log/cron
#virsh destroy domain-id
/etc/yum.repos.d
ssh-keygen
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