我用 :
exec >script.log 2>&1
在我的脚本中将所有输出重定向到一个文件。在脚本结束时,我想在屏幕上打印一条消息。如何停止重定向?
shell bash io-redirection
bash ×1
io-redirection ×1
shell ×1