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.
Linux 印刷ファイルをジェット ダイレクトでプリンターに印刷するだけでなく、コマンド ラインを使用して Windows フォルダーに 2 番目のテキスト ファイルを送信する方法を教えてください。
「windows フォルダー」が何を意味するのかわかりませんが、これはおそらく役に立ちます。
$ command | tee file | lp
コマンドの出力をファイルに保存し、デフォルトのプリンターに送信します。