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にポイントする方法
screen -dm -S test tar zxvf / tmp | gunzip
画面はすべてのコマンドに関連していると思います
tar zxvf / tmp | gunzip
しかし、bashはそれを知りません。Bashはそれをに分割します
screen -dm -S test tar zxvf / tmp
と
gunzip
Bashにコマンド全体を画面で実行させる方法。
ありがとう!
シェルをscreen実行し、シェルにパイプラインを実行させます。
screen
screen -dm -S test bash -c "tar zxvf /tmp | gunzip"