Linux: Difference between revisions

Line 17: Line 17:
* <code>htop</code> - basic terminal system monitor, enhanced version of <code>top</code>
* <code>htop</code> - basic terminal system monitor, enhanced version of <code>top</code>
* <code>watch -n 0.5 <program></code> - repeatedly call <program> every 0.5 seconds
* <code>watch -n 0.5 <program></code> - repeatedly call <program> every 0.5 seconds
===Standard Streams===
* <code>|</code> will pipe stdout to the stdin of another process
* <code>></code> will redirect stdout to a file
* <code>2>&1</code> will redirect stderr (2) to stdout (1)
* [https://www.gnu.org/software/coreutils/manual/html_node/tee-invocation.html <code>tee<code>] will redirect stdout to multiple files and show it in the terminal


==Package Management==
==Package Management==