NOTE: Material below is copied from http://www.krausam.de/?p=70. Go to that site for most up to date info. Lots of useful ZFS information comes from this command: echo ::arc | mdb -k Also there are otherRead More…
JOBS & PROCESS CONTROL – MULTIPLE COMMANDS WITH IN A NOHUP
MULTIPLE COMMANDS WITH IN A NOHUP ################################### Nohup is useful to run things in the background tied away from the session shell (putty or teraterm or etc.). So that if you closeRead More…
SSL CERTIFICATE CHECKS FAIL ALL THE TIME (git & wget & etc…)
SSL CERTIFICATE CHECKS FAIL ALL THE TIME (git & wget & etc…) ################################################### If your trying to download something from github with “git clone” or wget from an https site – andRead More…
spf13 – vim keys – my own cheatsheet
spf13 – vim keys – my own cheatsheet ##################################### NOTE: sections are seperated out with the yellow highlights and underlines Lots of these work without spf13 plugins. I assume basic knowledge ofRead More…
Installing SPF13 for VIM & fixing SSL certificate errors – linux/cygwin
Installing SPF13 for VIM, when getting SSL certificate errors What is spf13? Its the best vim plugins install available online in my opinion http://vim.spf13.com/ To checkout my spf13 vim cheatsheet: www.infotinks.com/spf13c IfRead More…
BTRFS – Recovery Mount – The ultimate mount command
If this doesn’t mount your volume, pray to justice you have a backup. (Wait you don’t have a backup of all your precious data? Terrible mistake… Make one now) mount /dev/sda1 /data -tRead More…
ddestroy – Write Zeros To Random Locations Across Drive
Read the source code and the comments to understand what this does. #!/bin/bash # — # this will write 0s across a drive at random locations (using dd) # you specify theRead More…
How to use Prolific RS232 USB to Serial Converter with Ubuntu
How to use Prolific RS232 USB to Serial Converter with Ubuntu ################################################### Using ubuntu 14.04 I didnt need to install any drives. Just plug and play. Also works with Ubuntu 11 (accordingRead More…
zcat/zgrep & lcat, rotated log read, Read thru the gzipped & ascii logs chronologically
Zcat and zgrep UPDATE 2016-04-26: thanks for article here http://unix.stackexchange.com/questions/77296/is-there-a-tool-that-combines-zcat-and-cat-transparently Forget my lcat function, just use the already provided zgrep and zcat commands. FORMAT: zcat -f — * # reads all files (normal andRead More…
RENAME: aka prename / rename.pl: Perl bulk file rename program
Bulk Terminal Rename for many files and folders. SIDENOTE: This is a common rename tool. Commonly I see it called as simply “rename”. In cygwin its called “prename” (other distros also call itRead More…