是否有可能看到输出不认后stdout和注销? [英] Is it possible to see output to stdout after disown and logout?
本文介绍了是否有可能看到输出不认后stdout和注销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经这样做了该PROGRAME:
CTRL-Z
不认-h 1%
BG 1
I have done this to that programe: ctrl-z disown -h %1 bg 1
然后注销,
难道还要让我看看这是什么PROGRAME输出到标准输出,现在?
Is it still possible for me to see what that programe outputs to stdout now?
推荐答案
一般的 屏幕
使用:
user@machine:/home/user$ screen bash -l
user@machine:/home/user$ long_running_program
<user presses ctrl-a d to detach from the screen session>
user@machine:/home/user$ screen -ls
There is a screen on:
58356.ttys000.machine (Detached)
1 Socket in /tmp/uscreens/S-user.
user@machine:/home/user$ screen -r 58356
<user is connected to the original screen session>
这篇关于是否有可能看到输出不认后stdout和注销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文