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…
LINUX – apt – See what files are involved with packages
Thanks to Raphink Citation: http://serverfault.com/questions/96964/list-of-files-installed-from-apt-package For this insite #################################################### All credit goes to the aforementioned – with some additions by me #################################################### Note: in the following commands, a command beginning with ‘root#’ means it needsRead More…
Script to make TIMELAPSE with mencoder ffmpeg avconv fswebcam etc.
This is a timelapse script, which pretty much explains it self. But what it does it, takes a webcam or a url (a http url that points to a jpeg webcam, whichRead More…