[linux] how to kill the tty in unix