Command line tools: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
* kpartx - setup partitions in full disk image via loop, so they can be mounted [http://nfolamp.wordpress.com/2010/08/16/mounting-raw-image-files-and-kpartx/] | * kpartx - setup partitions in full disk image via loop, so they can be mounted [http://nfolamp.wordpress.com/2010/08/16/mounting-raw-image-files-and-kpartx/] | ||
* xmount - disk image conversion (VMware, RAW, virtualbox etc.) [https://www.pinguin.lu/index.php] | * xmount - disk image conversion (VMware, RAW, virtualbox etc.) [https://www.pinguin.lu/index.php] | ||
* qemu-img - qemu-img convert -O vmdk imagefile.dd vmdkname.vmdk [https://stackoverflow.com/questions/454899/how-to-convert-flat-raw-disk-image-to-vmdk-for-virtualbox-or-vmplayer] | |||
* jacksum - use CRC64 to check if file contains only zeroes [http://www.jonelo.de/java/jacksum/index_de.html] | * jacksum - use CRC64 to check if file contains only zeroes [http://www.jonelo.de/java/jacksum/index_de.html] | ||
Revision as of 09:48, 9 August 2014
- 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]
- qemu-img - qemu-img convert -O vmdk imagefile.dd vmdkname.vmdk [6]
- jacksum - use CRC64 to check if file contains only zeroes [7]
find . -type f -not -size 0 -print0 | xargs -0 java -jar ~/Documents/src/jacksum-1.7.0/jacksum.jar -a crc64 | grep ^0000000000000000
Shell Stuff
- zsh - Z Shell
- oh my zsh - A community-driven framework for managing your zsh configuration [9]
TMux
- copy from buffer
- go to buffer history with ctrl-b [
- begin selection with ctrl-space
- copy to clipboard ctrl-w
- paste from clipboard ctrl-b =
Configuration
- etckeeper - keep track of your etc settings in a git [10]
Ubuntu Packaging
- Debug build:
export DEB_BUILD_OPTIONS=nostrip,noopt [11]
- Build from git:
git-buildpackage -uc -us [12]
- Install build dependencies
apt-get build-dep package-name
Postfix
- checking the mail queue:
mailq postcat -q <queueid> To Delete: postsuper -d <queueid>