This easy. Just type logger on the command line and your message will be added to the end of the /var/log/syslog file. $ logger comment to be added to log $ tail -1 /vvar/log/syslog May 21 18:02:16 ...
If you've written any amount of bash code, you've likely come across the trap command. Trap allows you to catch signals and execute code when they occur. Signals are asynchronous notifications that ...
Have you been thinking about biting the bullet and learning Bash scripting? Or perhaps you're like me, and you're always looking for ways to improve. I have three tips that will improve every Bash ...