mirror of
				https://github.com/onceupon/Bash-Oneliner.git
				synced 2025-11-03 22:51:07 +01:00 
			
		
		
		
	add other
Keep /repeatedly executing the same command (e.g Repeat 'wc -l filename' every 1 second),
This commit is contained in:
		@@ -1423,7 +1423,15 @@ exit by control + c
 | 
			
		||||
^C
 | 
			
		||||
``` 
 | 
			
		||||
 | 
			
		||||
##### Keep /repeatedly executing the same command (e.g Repeat 'wc -l filename' every 1 second)
 | 
			
		||||
```bash
 | 
			
		||||
watch -n 1 wc -l filename
 | 
			
		||||
``` 
 | 
			
		||||
 | 
			
		||||
##### Print commands and their arguments when execute (e.g. echo `expr 10 + 20 `)
 | 
			
		||||
```bash
 | 
			
		||||
set -x; echo `expr 10 + 20 `
 | 
			
		||||
``` 
 | 
			
		||||
 | 
			
		||||
## System
 | 
			
		||||
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user