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. Grep for lines that do not match (-v)






2. fqdn






3. Restart ssh services






4. Extract a star compressed file






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






6. Remove a package with yum






7. Repo config file






8. RPM package naming






9. System config firewall






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






11. Install the VNC server package






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






13. List VMs






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






15. Sync ntp time with the instructor






16. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save






17. Start a VM






18. Restart vnc and persist on boot






19. Restart the ntpd service






20. Edit files with cat until the _EOF is found






21. Kill a VM






22. Update a package






23. List scripts that can be run after installation of pkg.rpm






24. Extract a gzipped tar ball in your home directory






25. Install a pkg.rpm locally






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






27. Display packages that match the pathname






28. Process packets coming out of the system






29. Delete a rule from iptables






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






31. Query configuration files with RPM






32. Start vsftp service






33. Use lftp to connect






34. Stores filewall rules for the system.






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






36. All messages sent at info priority or higher






37. Import a public key






38. File holding services - ports - protocols assoicated






39. Persist the web server on boot






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






41. Disks available for partitions






42. Gets kernel version and release number






43. Messages related to cron log






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






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






46. Contains RPM database






47. Get more information on a package availale through yum






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






49. Install a package named firefox4






50. Install a package with yum