Difference between revisions of "Linux Commands"

From John Freier
Jump to: navigation, search
Line 2: Line 2:
  
 
  {command}|tee log.log - Sends all log output to a file and also outputs it to the console.
 
  {command}|tee log.log - Sends all log output to a file and also outputs it to the console.
 +
 +
== Shutdown Command ==
 +
To shutdown immediately begin the system halt.
 +
  sudo shutdown –h

Revision as of 15:06, 31 March 2016

NetCat - Port redirecting and different network tools. Known as the Swiss Army Knife of networking.

{command}|tee log.log - Sends all log output to a file and also outputs it to the console.

Shutdown Command

To shutdown immediately begin the system halt.

 sudo shutdown –h