HOW TO COPY PUBLIC KEY TO SSH SERVER THATS NOT LISTENING ON PORT 22 – ssh-copy-id only works on port 22 ######################################################################################################## This is needed for passwordless authentication with ssh. Instead ofRead More…
FROM 404 PAGES TO SEARCH PAGES – MAKING A 404 SEARCH PAGE INSTEAD OF A PAGE NOT FOUND
How to repurpose 404 pages from displaying “page not found” to instead searching for page. So that instead it will do a search through your website’s php URI search feature. Thank you to MarkRead More…
Calculate size of everything with echo and find – command substitution, bash integer math
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…