Watch - Run a command forever on the terminal
Sometimes is useful to run over and over again the same command until something happen, for example you could do a ls -lrt until a file has reached a certain dimension or is created, how to do it ?
Sure you can use bash history and use up arrow and return over and over again, or perhaps write some line of bash to get an infinite loop that run the same command, but there is a smarter approach to this : watch .
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.