Linux command to sleep for milliseconds

I keep finding myself wanting to make a command sleep for slightly more than 1 second, so I’ve finally written a quick C program which sleeps for a passed number of milliseconds – exactly the same as the normal Linux “sleep” command, but called “sleepms”.

If you think it might be useful to you, the code (and a 32-bit Linux executable) are on github as SleepMS.

2 thoughts on “Linux command to sleep for milliseconds

Comments are closed.