diff --git a/TipsShell.md b/TipsShell.md index 30375a8f..d677f08d 100644 --- a/TipsShell.md +++ b/TipsShell.md @@ -237,5 +237,5 @@ $ ps -e -o etimes=,pid,cmd | sort -rn | awk '{if ($1!=0 && $3!~/\[.*\]/) print - Watch : ~~~{.bash} -watch -d "ps -e -o etimes=,pid,cmd | sort -n | awk '{if (\$1==0 || \$3~/\[.*\]/) {} else print \$0 }'" +$ watch -d "ps -e -o etimes=,pid,cmd | sort -n | awk '{if (\$1==0 || \$3~/\[.*\]/) {} else print \$0 }'" ~~~ \ No newline at end of file