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. Install a pkg.rpm locally






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






3. Redirect errors to std out






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






5. Install star






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






7. handles dependencies while RPMs do not uses preconfigured repos






8. Use lftp to connect






9. Disk Utility Command






10. Copy a public ssh key to server6






11. All messages sent at info priority or higher






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






13. Restart ssh services






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






15. Repo config file






16. List VMs






17. Start vsftp service






18. Install a package named firefox4






19. Persist the web server on boot






20. Update a package






21. Start GUI for Firewall






22. Set a VNC password






23. Register on the RHN






24. Install with RPM






25. Display packages that match the pathname






26. Install a package group with yum






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






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






29. Edit files with cat until the _EOF is found






30. Grep with ignoring case






31. File holding services - ports - protocols assoicated






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






33. Local file copy of /home/test1.html to /var/www/html/test1.html






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






35. Stores IPtables rules (filter) chains - input forward output are persistant






36. Adjust the persistent runlevel






37. Process packets coming into the system






38. System config firewall






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






40. Query all documentation with RPM






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






42. Query configuration files with RPM






43. List iptables






44. Search for a package within all packages






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






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






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






48. Get a list of package groups from yum






49. Determine which package provides SSH






50. Contains RPM database