READ Free Dumps For RedHat- RH302
Question ID 17438 | Add a job on Cron schedule to display Hello World on every two Seconds in terminal 8. |
Option A | Answer : cat >schedule */2 * * * * /bin/echo Hello World >/dev/tty8 crontab schedule crontab l service crond restart MinuteHourDay of MonthMonth Day of WeekCommands 0-590-231-311-120-7 where 0 and 7 means Sunday. Note * means every. To execute the command on every two minutes */2. crontab filename crontab l crontab e crontab r |
Correct Answer | A |
Question ID 17439 | Make Secondary belongs the jeff and marion users on sysusers group. But harold |
Option A | Answer : 1.usermod -G sysusers jeff 2.usermod G sysuser marion 3.Verify by reading /etc/group file Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary. usermod -g groupname username To change the primary group of the user usermod -G groupname username To make user belongs to secondary group. |
Correct Answer | A |