Linux watch command => http://compdeepssada.nnmcloud.ru/d?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2RsLyI7czozOiJrZXkiO3M6MTk6IkxpbnV4IHdhdGNoIGNvbW1hbmQiO30= Exaample-1 Free command output with watch. Thank you, I find this site very interesting but a little advanced for me. However, that will still clear the screen so you might be better off with a simple shell loop: while sleep 1; do wc -l my. In most of the cases this should work, but the shortest period which you can run cron command is every 1 minute. Watching a network interface come up In this example a wireless network connection is enabled and a connection is established. For that purpose, you can use the -n option, that specifies the interval with which the command will be executed. Content is licensed under a Creative Commons. This means that flags after command don't get interpreted by watch itself. Note: To make sure the interval gap is honored very precisely, use the -p command line option. The default interval is two seconds, but this can be manually set using the -n flag with a lower limit of one-tenth of a second. Non-printing characters are stripped from program output. So, you're effectively monitoring a progress of some process by watching relevant files. This I don't know about, it doesn't seem reasonable in that - what are you looking for? By default, the program is run every 2 seconds; use -n or --interval to specify a different interval. How to install watch in Linux Watch command is available in default repository and installed by default. This makes it easy to observe the changing output of a command over time. Marin Todorov I am a bachelor in computer science and a Linux Foundation Certified System Administrator. When combined with the and commands it can provide a snapshot of processes at a single point in time. watch(1) - Monitor Memory Usage in Linux As seen per the above output, you have a header, displaying information about from left to right update interval, command that is being executed and current time. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new linux watch command LinuxQuestions. Visit the following links: If you have any problems with the registration process or your account login, please. If you need to reset your password. Having a problem logging in. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will linux watch command you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. In the latter, you're grepping the ps output. So your example will do nothing. With quotes, you will see what you're looking for. Quote: Is there any command which I can see what a user is doing in real time. This I don't know about, it doesn't seem reasonable in that - what are you looking for?.