Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

 

Table of Contents

Table of Contents

 tail -f /directory/filename

This command is used to tail a file like a debug window and follow the output as it scrolls.

du -hc --max-depth=1

Using this command will give you the total Disk Usage for the folder you designate. Useful when trying to track down where precious is being utilized, and tearing down the tree to locate the culprit(s).

echo '' > /directory/filename

This command is used to clear all the text within a file. Useful when you are debugging a log file while starting and stopping an application.

netstat -tulpn

Common netstat command. L = listening, P = Programs,