Many times there comes the situation when we want out terminal to remind us to take a break or to do something important. So in order to do that we have a command in Linux named leave. This command is used to set an alarm in the terminal which would remind you at the mentioned time.
Installing leave command
To install leave tool use the following commands as per your Linux distribution.
In case of Debian/Ubuntu
$sudo apt-get install leave
In case of CentOS/RedHat
$sudo yum install leave
In case of Fedora OS
$sudo dnf install leave
Working with leave command
1. To set a reminder in the terminal at the mentioned time.
This command will remind you to leave or to do something at sharp 22 hours 39 minutes.
2. To set a reminder in the terminal in the time with reference to the current time.
This command will remind you to leave or to do something at the time 2 minutes after the current time. We use “+” sign to do so.
3. To display the help section of the leave command.
This command will display the help/manual section of the leave command.