BTRFS – restore a corrupt filesystem – btrfs recovery mounts & btrfs restore
USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE ATRead More…
USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE ATRead More…
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…
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…
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…
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…
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…
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…
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…
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…
Quick Recap – exerpt from manpages of dos2unix & unix2dos * In DOS/Windows text files a line break, also known as newline, is a combination of two characters: a Carriage Return (CR) followedRead More…