Command Line Utilities

From Elvanör's Technical Wiki
Revision as of 13:18, 10 January 2008 by Elvanor (talk | contribs)
Jump to navigation Jump to search

This is a collection of random useful command line tools.

  • To obtain the space available on a HD: df -h

rsync

  • --no-p: this will disable permissions synchronization.
  • --no-o: this will disable owner synchronization.

Tricks and tips

  • Redirecting all outputs to a file:
foo &> bar

To redirect only stderr:

foo 2> bar