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 打印文件发送到使用 jet direct 打印到打印机,同时使用命令行将第二个文本文件发送到 windows 文件夹?
我不知道'windows文件夹'是什么意思,但这可能会对你有所帮助:
$ command | tee file | lp
将命令的输出保存在文件中并将其发送到默认打印机。