Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何明确指向 bash 例如命令的优先级是什么
屏幕 -dm -S 测试 tar zxvf /tmp | 枪弹
我想该屏幕与所有命令有关
焦油zxvf /tmp | 枪弹
但 bash 不知道。Bash 将其分为
screen -dm -S 测试 tar zxvf /tmp
和
枪弹
如何使 Bash 在屏幕中运行整个命令。
谢谢!
已经screen运行了一个外壳,并让外壳运行您的管道。
screen
screen -dm -S test bash -c "tar zxvf /tmp | gunzip"