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. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com






2. Send all debug level messages to /var/log/debug.log






3. Show IP address with the IP command






4. List installed and available packages






5. original DNS config file - still used






6. See files installed with a package named vsftpd






7. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1






8. Documentation about sysconfig network scripts






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






10. Generate SSH Keys






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






12. Install a package named firefox4






13. Disks available for partitions






14. List VMs






15. All messages sent at info priority or higher






16. Remove a package with yum






17. List iptables






18. Flush the firewall of all rules






19. Process packets coming into the system






20. System config firewall






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






22. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server






23. Repo config file






24. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"






25. Grep with ignoring case






26. GUI install / uninstall with yum






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






28. Get more information on a package availale through yum






29. Query configuration files with RPM






30. tar options for create - extract - test - and verbose






31. Searches for page within the #man yum






32. Delete a rule from iptables






33. RPM package naming






34. Search for command in the doc directory






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






36. Package file named pkg.rpm






37. Query all documentation with RPM






38. Copy a public ssh key to server6






39. Install star






40. Install a package group with yum






41. Persist FTP on boot






42. Install the VNC server package






43. Configuration for VNC






44. Install a package with yum






45. Remote file copy /home/test1.html to the /var/pub directory on server6






46. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.






47. Restart vnc and persist on boot






48. GUI File Manager






49. Query information files with RPM






50. Uninstall a package group with yum