Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save leonaugusto16/c4df6ce5e26e28498200a1cfc5388415 to your computer and use it in GitHub Desktop.
Save leonaugusto16/c4df6ce5e26e28498200a1cfc5388415 to your computer and use it in GitHub Desktop.
strace -e trace=write -s1000 -fp <PID> 2>&1 | grep --line-buffered -o '".\+[^"]"' | grep --line-buffered -o '[^"]\+[^"]' | while read -r line; do printf "%b" $line; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment