Created
March 18, 2017 08:50
-
-
Save gin1314/525e89401538a6bf24781ad874feb273 to your computer and use it in GitHub Desktop.
bash: simulate `watch` command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do; ls -la . | tr -d '\r\n'; echo -n "\r"; sleep 5; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment