Skip to content

Instantly share code, notes, and snippets.

@thexdev
Created December 17, 2019 12:26
Show Gist options
  • Save thexdev/907c4c397463db9d650a1870469f5e56 to your computer and use it in GitHub Desktop.
Save thexdev/907c4c397463db9d650a1870469f5e56 to your computer and use it in GitHub Desktop.
Insert the output of your bash command into a file (you can choose the specific file extention too)
# Here i'm trying to extract detailed information
# on the hardware configuration of my computer
# with html format then display it to the browser.
sudo lshw -html > index.html && firefox index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment