RULE OF THUMB FOR AWK: awk runs once per line (unless BEGIN or END script in which it runs once in start or end of script, or if you use /grep-search-expression/ thenRead More…
MBR and GPT copy partition tables between drives
AKA: clone partition tables When to use: Sometimes a drive might lose its partition tables for unknown reasons. Sometimes you need to setup a partition table to be identical to a driveRead More…
Copy files with TAR, PV, NC & SSH
#################### TAR PV NC fileserver #################### Pre Requisites: At File Server Router: Portforwards port 50002 from router to 50002 on File Server At both locations: apt-get install netcat tar pv Read More…
LINUX – CLI Internet Connection Speed Tests
[last update 2014-11-14, before that 2013-7-29] speedtest-cli new install script as the git repo changed for it alittle, also a little cool script to test local server and a few other serversRead More…
LINUX – bytes to human readable command
Surprising to me this isnt a program yet… Anyhow the credit goes all to: http://www.linuxjournal.com/article/9293?page=0,1 – Simon Sweetwater is the author of this script – good job if your reading this 🙂 #!/bin/ksh bytestohr()Read More…
Debian Example btrfs volume and share with Samba (User permissions)
MAKING BTRFS SHARE ON DEBIAN BOX WITH USER PERMISSIONS NOTE THE WINDOWS BOX IS JOINED TO THE DOMAIN BUT NOT THE LINUX BOX, THIS MAKES NO DIFFERENCE BESIDES THAT I CANT LOGRead More…
SEEKWATCHER and BLKTRACE and BLKPARSE and example script
blktrace helps analyze io to a drive while you run any command/script. blkparse helps put that in human readable output. Seekwatcher helps visualize the IO in a movie or picture (look at 5th and 6th linksRead More…
Bitlbee and Weechat working with OCS Lync Office Communicator Gtalk and Facebook
Getting LYNC or OFFICE COMMUNICATOR chat to work on linux (using weechat irc client) #################################################################################### We are going to setup an IRC client (a trivial one, meaning you can do it withRead More…
Binwalk tutorial
Update 2022-09-15: This tool can be potentially used together with losetup + kpartx (see losetup). Which is a tool that makes loopback devices out of ISOs or volume files (luns, block deviceRead More…
Bonnie++ storage performance io test tool
RUNNING BONNIE++ ################## INTRO ========= * Benchmark program * Be root * Dont run commands with # in the front of them they are for explanation purposes * This article showsRead More…