开发者

How do I tee a linux print file

How would it tee a linux print file to print to a printer with jet direct but also send a secon开发者_运维知识库d text file to a windows folder using command line?


I don't know what do you mean by 'windows folder', but this would probably help you:

 $ command | tee file | lp

to save the output of command in file and send it to the default printer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜