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 .
Read More In: News, Rumors and Gossip
The world is talking about GNU, Linux, and the world of open and free software. Brought to you by LXer.com, stay up to date on the freshest news on your favorite code, firmware, or distro.
Featured Article
How to Configure Windows Network Browsing in Tomato on NETGEAR WNR3500L
With Windows, browsing computers in the network can take a long time with serious delays before getting the computer lists. This especially happens in environments where there is not a server available which most of us have in our home scenarios. If not aware of it the TomatoUSB firmware can... More »

RSS

