*nix shell/terminal in m$-win

If you’re currently a WinX user, and would like to run BASH/ZSH type commands, BUT, you are NOT keen to go the w10 route with its built in ubuntu-shell….. There are a few options available to you: msys2 gitbash this was initially my preferred choice, but I had some compatibility issues with SSH/GPG, so I…

minimalist *nix GUI

On the topic of minimalist… I like a small footprint…and I stumbled upon some numbers and according to the “internet”… Plain Openbox only: 58 MB XFCE: 89 MB (with default configuration of Debian) LXDE (gtk+ 2 version): 78 MB (add 20 MB to openbox) On my “fully loaded” desktop station, including/running LibreOffice and a bunch…

Some useful vi keystrokes/cheatsheet

A couple of useful keystrokes for vi command mode / search (down) n=next occurance (down) ? search (up) N=next occurance (up) dd delete line(s) 5dd delete 5 line(s) u undo delete . repeat command yy copy line(s) 5yy copy 5 line(s) p paste line(s) edit mode i INSERT (mode) :r FILENAME insert contents of FILENAME…

*nix script snippets that are useful/clever

For the record – these are lookups – NOT my creations. I will add more as I go #Backup & clear history DATE=`date +%Y%m%d-%H%M` mv ~/.zsh_history{,.$DATE} cat /dev/null > ~/.zsh_history #HDD space (without clutter) df -h | grep -v “tmp\|udev” #send contents into a file (you need to \escape any \$variables within the CONTENTS+COMMANDS) cat