Table of Contents

Pts

Process Status

ps aux | grep process
ls -all /proc/6212/fd

Confirm Current TTY

tty

Attach STDOUT

sudo gdb -p 6212
p close(1)
p open("/dev/pts/3", 1)
p close(2)
p open("/dev/pts/3", 1)
detach
quit