Test your basic knowledge |

RHCSA Commands

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. Send all debug level messages to /var/log/debug.log






2. Contains RPM database






3. fqdn






4. Repos for yum






5. Grep with ignoring case






6. Email related messages log






7. Create a tar ball with gzip compression of the home dir






8. Create a symbolic link to /pub on the FTP and name it pub






9. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files






10. Get a list of package groups from yum






11. Location of repo's






12. System config firewall






13. Restart the ntpd service






14. Restart ssh services






15. Remove a package with yum






16. Install a package named firefox4






17. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names






18. List iptables






19. Extract /tmp/etc.tar.gz to /etc






20. Set a VNC password






21. Process packets coming into the system






22. Install the VNC server package






23. tar options for file name - gzip - and bzip2






24. Persist the web server on boot






25. Restart vnc and persist on boot






26. FTP package used in RHEL 6






27. Grep for lines that do not match (-v)






28. Set process priority with renice - -20 highest - 20 lowest - 0 is default






29. See the configuration files installed with a package named httpd






30. Kill a VM






31. Program to analyze standard log files and send a summary email to root






32. Disks available for partitions






33. Sync ntp time with the instructor






34. Use lftp to connect






35. Install the star compression tool create an archive with the star tool.






36. Configuration file for system logs






37. Uninstall a package group with yum






38. Rpm upgrade package u upgrade v verbose h hash






39. Create a gzip-compressed backup of /etc in /tmp






40. Primary configuration of ssh






41. Search for a package with firefox in the description






42. Query all documentation with RPM






43. Register on the RHN






44. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com






45. Generate SSH Keys






46. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata






47. List VMs






48. Backup a home directory on desktop6 to /tmp on server6






49. Local host file (contains hostname). Can contain local system DNS.






50. All messages sent at info priority or higher