.
The purpose of this posting is to update a previous similar offering
of bash utilites for Knoppix 7.2. There are several ideas I hope you
may find useful:
1. The use of .bashrc to organize useful small utilities & aliases;
2. Utilities to create & restore an update function, update*.tar.gz;
3. A utility to convert read/write persistence files to compact
read-only cloop equivalents; and
4. Utilities with which to assess the immediate wifi environment.

Code:
# Beginning of .bashrc utilities for Knoppix 7.4 LiveUSBs.      8/29/14
#
# Note 1:  Save this file as /home/knoppix/.bashrc with its ownership also
# chown knoppix:knoppix and make .bashrc executable with chmod +x .bashrc.
#
# Note 2:  Several utilities require re-establishment of /var/log/syslog.
# To re-establish syslog in Knoppix 7.4, move /etc/syslog-knoppix.conf; 
# to /etc/syslog-knoppix.conf.orig, and 
# do ln -s  /etc/sbin/rsyslogd /sbin/syslogd
#
# Note 3:  My wifi is at wlan0; YMMV. 
#
alias 'grep=grep -i --color'
alias 'df=df -kTh'
alias 'wifi.card=lspci -vnn -d 14e4:'     # Broadcom specific
alias 'Syslog=sudo less /var/log/syslog'  # requires syslog

at.Start(){ # echo time at Start (requires Syslog)
echo -e "at Start:   \c"; Syslog | grep 'acpid: start' | awk '{ print $3 }'
}

Disconnects() { # Wifi disconnects since boot (requires Syslog)
echo -e "Time now:   \c"; date | awk '{ print $4 }' 
at.Start; echo -e "Wifi disconnects:  \c"; Syslog | grep -c disconnecting
}

Channel() { # Assess strengths of those on wifi Channel $1
sudo iwlist wlan0 scan | grep -e Freq -A 3 |
grep "(Channel $1)" -A 3 | grep -v key | grep -v Freq
}

Channels() { # Assess strengths of those on wifi Channels 1 to 11
sudo iwlist wlan0 scan | grep -e Freq -A 3 | grep -v key > scanlist
for i in 1 2 3 4 5 6 7 8 9 10 11; do
echo ".......................Channel "$i"........................."
less scanlist | grep "(Channel $i)" -A 3 | grep -v Freq; done
}

MakeOverlay() { # Cloop-compress & save /KNOPPIX-DATA as /mnt-system/KNOPPIX$1
ISO=KNOPPIX$1; ISODIR=/mnt-system/; ISOSRC=KNOPPIX-DATA
echo -e "Creating "$ISO"; patience, this may take some time..."
cd /; sudo mkisofs -x *[Cc]ache -R -U \
$ISOSRC | create_compressed_fs -B 131072 -m - - > $ISODIR$ISO
echo ".done; "$ISO" additions from $ISOSRC saved to "$ISODIR"."
}

MakeUpdate() { # Save tar.gz-ed collections of own files at /mnt-system/
cd /; KEEP=/mnt-system/update$(date +"%y%m%d").tar.gz
echo -e "Creating "$KEEP"; patience..\c"; 
tar -cz --exclude=*[Cc]ache --exclude=*chro \
-f $KEEP home/knoppix/.mozilla  home/knoppix/.config  home/knoppix/.bashrc  \
etc/rc.local  etc/X11/Xsession.d/45*  mnt-system/boot/syslinux/syslinux.cfg \
echo ".done."
}

RestoreUpdate() { # Given KEEP's date as $1, in %y%m%d format, restore $KEEP to $2 
KEEP="/mnt-system/update$1.tar.gz"
dialog --defaultno --yesno "Restoring "$KEEP" to "$2"; is this correct?" 6 45
if [ $? -eq 0 ]
    then echo -e "Restoring "$KEEP" files to "$2"..\c"
         tar -xf $KEEP -C $2; echo ".done."
    else echo "Aborting."
fi
}

#
# Copyright 2014 by TJ Hoye, License GPL Version 2
#
# End of .bashrc utilities for Knoppix 7.4 LiveUSBs.