watch -n 1 "ls -ltr /tmp/f*" # If you want to monitor some command execution in time like "tail -f" for files

If you want to monitor some command execution in time like "tail -f" for files, probably your linux box have nice solution for you:

[root@svn ~]# fg 1
watch -n 1 "ls -ltr /tmp/f*"

[1]+  Stopped                 watch -n 1 "ls -ltr /tmp/f*"


$ watch df -h
Every 2.0s: df -h                                                                            Thu Oct 13 07:34:56 2016


Comments

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all