One Liner Notification Dialog Box March 23, 2014 Here’s another one liner in bash that can be used to notify of an event. The dialog box will pop up on the task bar or on the right top corner depending your version of Linux. This example will display “hello world” every 60 minutes. while [ 1 ]; do sleep 60m; notify-send "hello world"; donewhile [ 1 ]; do sleep 60m; notify-send "hello world"; done Another option could be using Zenity while [ 1 ]; do sleep 45m; zenity --info --text="hello world"; donewhile [ 1 ]; do sleep 45m; zenity --info --text="hello world"; done Share This! Related posts: Two Recommended Bash Books for Linux Bash Beginners and Experts Apache CGI Configuration for Bash Script Calculating Execution Time for a Bash Script Writing Quick Scripts with Cat Command From The Bash Prompt Tags:bash, notification, one liner Related Posts Partimage: Creating and restoring windows image. Installing Linux-Headers and VirtualBox Addons in Kali Linux A Comprehensive Guide to TCP/IP Configuration in Linux. About The Author miatech One Comment chessguy sometimes I work in the computer and forget about the time. I use a notification widget in the taskbar, but this one works too.. March 25, 2014 Add a Comment Cancel reply Your email address will not be published.Comment Save my name, email, and website in this browser for the next time I comment.