Command line tools

From Jan's Wiki
Revision as of 17:36, 9 February 2014 by Der Jan (talk | contribs)
Jump to navigation Jump to search
  • st - simple statistics from the command line interface [1]
  • pk - A field extraction utility [2]
  • z - jump around directories [3]
  • kpartx - setup partitions in full disk image via loop, so they can be mounted [4]
  • xmount - disk image conversion (VMware, RAW, virtualbox etc.) [5]
  • jacksum - use CRC64 to check if file contains only zeroes [6]
  find . -type f -not -size 0 -print0 | xargs -0 java -jar ~/Documents/src/jacksum-1.7.0/jacksum.jar -a crc64 | grep ^0000000000000000
  • rmate - execute textmate via SSH [7]
  • vimdiff - as git mergetool vimdiff

Shell Stuff

  • zsh - Z Shell
  • oh my zsh - A community-driven framework for managing your zsh configuration [8]

Configuration

  • etckeeper - keep track of your etc settings in a git [9]

Ubuntu Packaging

  • Debug build:
   export DEB_BUILD_OPTIONS=nostrip,noopt [10]
  • Build from git:
  git-buildpackage -uc -us [11]
  • Install build dependencies
  apt-get build-dep package-name

Postfix

  • checking the mail queue:
  mailq
  postcat -q <queueid>
  To Delete:  postsuper -d <queueid>