![]() $ sleep 10d –will make your terminal wait for 10 days $ sleep 10h –will make your terminal wait for 10 hours $ sleep 10s –will make your terminal wait for 10 seconds $ sleep 10m –will make your terminal wait for 10 minutes Okay so, here is another trick! You can easily use the sleep command to set an alarm to your system. You can use this time-lapse as a stopwatch in your Terminal. Once you terminate the command through the Ctrl+C shortcut, it will display the time duration between running and terminating the command as follows: ![]() The command will not print anything till you terminate it. This is a small hack that will turn your Terminal into a stopwatch. The following command will set the timer for 10 seconds: $. timer -hįor example, the following command will run the timer for 1 minute: $. Use the following command in order to get help on how you can use this utility: $. Set TimerĮnter the following commands in order to install the timer utility: $ curl -o ~/timer You can open the Terminal through the application launcher search. However, following are some tools and tricks that would help you achieve your purpose.
0 Comments
Leave a Reply. |