Print the size of everything in the system (Starting at /) in bytes: echo $(($(find / -print “+%s”))) Print the size of everything in the system (Starting at /) in Kbytes: echo $(($(find /Read More…
How to generate a Password using any letter or all letters in CLI – echo, /dev/random, /dev/urandom, head
The linux tr command can be used to substitute certain given letters, or delete them or do substitution and deletion on the given letters compliment. Meaning if I say delete all k’s,Read More…
GREP out quotes – web urls/ links/uris
LOOK FOR ANYTHING IN QUOTES: ############################# This goes well with my new article: amazing way to extract links from raw html cat text.html | grep -o ‘[‘”‘”‘”][^”‘”‘”‘]*[‘”‘”‘”]’ The grep expresion is reallyRead More…
WINDOWS to READYNAS/LINUX: Measuring Backup Speeds Across Network – iftop explanation – cbm/rsync
Backing up using RSYNC and CP across a network (maybe you have a mapped share somewhere) its hard to see the Transfer speed. So to get a feel for it jump onRead More…
WINDOWS 8 – Permission Issue Fix
With Windows 8s great set of features comes complexity and some unfortunate bugs. Here is how I fixed a reoccuring permissions issue: I have a drive called drive E: – Ill callRead More…
WINDOWS – Virtualbox getting serial port to work
Virtualbox getting serial port to work ############################### In here the notation “Port number” explains the port that will be used on the guest host, the notation is that of windows so you pick anythingRead More…
WINDOWS – Start Virtual Machine At Boot – VMware & VirtualBox at Startup
Make the following bat script (first make a text file then rename to .bat – make sure your Windows Explorer can see extentions) And put that in Start->Program Files->Startup ===START VIRTUAL BOXRead More…
WINDOWS – Start TrueCrypt At Boot – Also with Evernote
This is my Batch script (.bat file) to start TrueCrypt volume when I log in to my PC. Make a text file call StartTC.txt and rename it to StartTC.bat and put itRead More…
WINDOWS – Putty You Go Away – Kitty Takes its Place
All of us CLI, command line, people use Putty or TeraTerm (I dont like you people – just kidding) day to day. We also use WinSCP to connect to SSH to seeRead More…
WINDOWS – partition and formatting a disk usb quickly with diskpart
In linux we would use sfdisk, or sgdisk, or any of the partitioning tools followed by making a filesystem and mounting the filesystem In windows its all possible with the tool diskRead More…