Sometimes I need to run build and test commands that can take a while, and I'll switch to the web browser and start reading while I'm waiting... Which often results in coming back 15 minutes later because I lost track of time.
One trick I've found that helps is to make a script that uses the system text-to-speech utility to speak out loud and tell me when the command fails or succeeds, so I don't have to keep checking the console. I call it "runsay".
You can also use notify-send to pop up a notification box but that's not as fun.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sometimes I need to run build and test commands that can take a while, and I'll switch to the web browser and start reading while I'm waiting... Which often results in coming back 15 minutes later because I lost track of time.
One trick I've found that helps is to make a script that uses the system text-to-speech utility to speak out loud and tell me when the command fails or succeeds, so I don't have to keep checking the console. I call it "runsay".
You can also use notify-send to pop up a notification box but that's not as fun.