Pomodoro timer using Linux shell

## Linux command line: Setting pomodoro timer

Pomodoro Technique is a time management method developed by Francesco Cirillo. Using this technique we break the time needed to complete a task into time intervals that are separated by short breaks. Traditionally the time time interval is set to 25 minutes while the break is something between 5-10 minutes. In Linux we can set pomodoro timer by running this simple command:
 \$ sleep 25m && vlc https://www.youtube.com/watch?v=VFW3Ld7JO0w &>/dev/null &
The sleep command simply delay the execution of "vlc https://www.youtube.com/watch?v=VFW3Ld7JO0w". The program execution indicates the end of the setting-time, 25 minutes in our case, and telling us to take a break. When returning from our break we can run the very same command.
Another way to achieve the same goal is to use schedule task software such as "at" or "crontab".

Disclaimer Privacy