stakanov composed on 2016-12-31 10:01 (UTC+0100):
I have to put the complete hwinfo from the cli to a txt outputfile. I recall I can do this somehow with grep, but all the web resources speak about long scripts. Notwithstanding, I recall, a very simple command can do this. If somebody is knowledgeable I would appreciate.
Grep would be for capturing some portion(s) of standard output. To capture the complete standard output of hwinfo to a file, use ordinary redirection: hwinfo > hwinfo-output-file.txt -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org