Now we will see a description of the logger command and the create_alarm script we just wrote:
- The logger command made an entry about your file in the syslog file, which was in the /var/log directory of your system. You can check that file. Navigate to the /var/log directory and run nano syslog and you will find the entry in that file.
- We created a script to create an alarm. We used the date command for the date and time. We also used the sleep command to block the alarm for that particular time.