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.
I just use usleep 🙂
Oddly, ubuntu (and I think other Debian based distributions) don’t have a usleep binary, though Redhat does.