shell 脚本中永久重定向

2019-03-01  本文已影响4人  SkTj

!/bin/bash

exec 1>file1
exec 2>file2
exec 0<file3

上一篇 下一篇

猜你喜欢

热点阅读