BASH SCRIPT ADD TIME STAMP TO FILE – TIMESTAMP
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…
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…
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…
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…
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."
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…
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…
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…
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…
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 ############################################### UPDATE 12/6/2013: Below main article – bonus at the end I show how to make hourly snapshots!!! UPDATE 12/9/2013: BelowRead More…