QUICK NOTE (year first, then month, then day – good for sorting): date +ymd%Y-%m-%d-t%T | tr : – timestamp=`date +ymd%Y-%m-%d-t%T | tr : -` Try this Command – 2 ways – sometimesRead More…
LINUX – Bechmark Storage with IOZONE
Download the article below “iozone-infotinks.txt” for easy view with the NOTEPAD++, where you can zoom out and zoom in with the CONTROL+MOUSE WHEEL, or turn ON and OFF text wrapping with ViewRead More…
Bashish – bash and prompt beautifier – how to install and use on debian
NOTE: none debian versions of bashish exist NOTE: im currently running DEBIAN 7.3 This will color your shell & your prompt You cant apt-get it Go to their site: http://bashish.sourceforge.net/ And getRead More…
Bash Time Difference Script (stopwatch/timing things) – useful in scripts
LINUX – bash time diff script date11=$(date +"%s") # do stuff here that your timing date22=$(date +"%s") diff11=$(($date22-$date11)) echo "$(($diff11 / 60)) minutes and $(($diff11 % 60)) seconds elapsed."
Bash History Clearing Cleaning
ABOUT BASH HISTORY ################## About how it works: * Every Command Saved to RAM * Then on exit from shell stores to $HISTFILE (ram is flushed to histfile) The mechanics:Read More…
BASH history articles – Best Bash History Settings (at top)
My info on bash history and also Interesting articles I found on the web on history (excerpts of them – links included) MAKE HISTORY RECORDING MORE RELIABLE WITH DATE AND TIME +Read More…
BASH colors – see all available colors
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html https://bbs.archlinux.org/viewtopic.php?id=51818 SCRIPT IS NOT MADE BY ME, JUST COPY IT TO A FILE AND RUN IT, OR COPY PASTE THE ENTIRETY OF IT TO BASH TO SEE RESULTS, BELOW RESULTS ARERead More…
AWK – add up numbers in a column of data (any data)
AKA: HOW TO USE AWK TO BETTER YOUR LIFE NOTE: this may seem like an intimidating read because of the length, however most of it is long simply because IRead More…
SCRIPT TO FIND TEXT AND MAKE THAT LINE STANDOUT
NOTE: an alternative to this script is: command | grep –color ‘searchwords’ But lets say you dont want colors, or dont have a color terminal (because your stuck in the 80s 90s)Read More…
Arch Installation with BTRFS root and EFI Grub boot – Snapshots as well
Arch Installation with BTRFS root and EFI Grub boot ############################################### UPDATE 12/6/2013: Below main article – bonus at the end I show how to make hourly snapshots!!! UPDATE 12/9/2013: BelowRead More…