Simple PS1 – bash prompt in linux
SIMPLE PS1 ############ # Setting PS1 to this (these are the defaults for distros like Red Hat): [\u@\h \W]\$ # To set it: echo PS1='[\u@\h \W]\$' # Example: [user@hostname workingdir]# # SoRead More…
SIMPLE PS1 ############ # Setting PS1 to this (these are the defaults for distros like Red Hat): [\u@\h \W]\$ # To set it: echo PS1='[\u@\h \W]\$' # Example: [user@hostname workingdir]# # SoRead More…
DD NOTRUNC OPTION #################### When writing a file to another file, you have the option to write 2 ways with dd, with notrunc or without notrunc(default) Easiest thing to remember is noRead More…
ZFS – Dealing with Failed Drives, using spares and new drives – and autoreplace Links/Citations: *http://www.firstalt.co.uk/sample/s10up.pdf *http://www.bolsondigital.com/2013/06/01/replacing-an-hdd-in-a-zfs-pool-on-nas4free/ *http://www.packetmischief.ca/2013/06/10/how-i-replace-a-failedfailing-hdd-in-a-zfs-storage-pool/ *http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/ *http://docs.oracle.com/cd/E19120-01/open.solaris/817-2271/gbbxi/index.html *https://blogs.oracle.com/eschrock/entry/zfs_hot_spares REPLACING FAILED DRIVE WITH SPARE Spares usually auto fall a failedRead More…
PreReq: this “Previous Versions” Explorer integration works in firmware versions after 1.4.0. So make sure your on the latest version of the ReadyDATA firmware. The snapshots work at any firmware, thats oneRead More…
HOW TO CHANGE EVERYONES PASSWORD IN SQL WITH PHPMYADMIN (including roots) NOTE: if you only want to change roots password, log in as another user. If you logged in as another allRead More…
VIMs SUDO SAVE ################### Started writing a file and forgot to sudo, thus cant save it because missing permissions? Well here is the command to sudo the save: :w !sudo tee %Read More…
Latest .tmux.conf configs (1) default key binds config (prefix “b” with default keys) and hotkey mappings are below Here is the same config (prefix “b” w/ default keys) but works for olderRead More…
NOTE TO SELF: How To Keep Phone Organized ########################################## This is how I organize my files and contacts (against duplicate and invalid contacts) Files ##### The apps and how to use themRead More…
proxy server ############# ############# Read this quickly first (short reads): http://stackoverflow.com/questions/224664/difference-between-proxy-server-and-reverse-proxy-server http://www.f5.com/glossary/load-balancer/ http://www.f5.com/glossary/load-balancing/ http://www.f5.com/glossary/reverse-proxy/ My notes from above reading (and much more) Forward and reverse proxy are easy to understand,Read More…
SQUID PROXY SETUP FOR REMOTE COMPUTERS TO ACCESS ################################################## If you read my article/notes on Proxys: HERE. Realize that we are setting up a Forward Proxy here. Reverse Proxys are used forRead More…