*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

Best *nix (Desktop/Workstation)

My objective when I started experimenting with Desktop linux, was to mimic a WinX station. I would hazard a guess that this is the most likely scenario for anyone switching away from M$-windows. If they can’t keep doing their work “productively” – they are NOT going to be interested in whether the propellor heads think…