Hot answers tagged


I had the same problem (no shell usleep on Solaris) so I wrote my own thus: #include "stdio.h" int main(int argc, char **argv) { usleep(atoi(argv[1])); return 0; } Doesn't check arguments - I'd recommend a properly written one if you wanted to keep it but that (gcc usleep.c -o usleep) will get you out of a hole.

Only top voted, non community-wiki answers of a minimum length are eligible