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.
.zshrcに次のものがあります
setopt multios
Zshで上記のオプションを有効にして次のことを行おうとしています
ls -1 | tee file.txt | less
次のコマンドを実行できませんでした
ls -1 | file.txt | less
そして以下も
ls -1, file.txt, less
コマンドティーなしでZshで複数の出力を使用するにはどうすればよいですか?
その2つ目は間違った構文です、それは
ls -1 > file.txt | less