Find Largest Files and directories ### CHEATSHEET ALL OF THESE OPERATE INTO CURRENT DIRECTORY: ### # One command, one liner per line. du -a . | sort -n -r | head -nRead More…
Linux “Sort” cant sort by human readable sizes – here is a fix – sorting with human readable sizes script
I got it from Nixcraft article here, so here is the source: http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/ I mention this method in finding largest files articles (also sourced from above link): Largest Files It looks like this: forRead More…
ping-targets – monitor pinging multiple targets one after the other
Monitor pinging multiple targets using the below script (sends 4 pings to each target, one after the other). read the comments for more details (how the output looks like etc.) Make theRead More…
useful du aliases – disk usage aliases – for linux
alias dud='du -chd 1' alias dud2='du -chd 2' alias dud3='du -chd 3' alias dud4='du -chd 4' alias duds='du -chd 1 | sort -h' alias duds2='du -chd 2 | sort -h' alias duds3='duRead More…
To monitor a log that gets truncated
To monitor a log that gets truncated ############################## This is how to monitor a log that keeps getting truncated (shrunk when it reaches a certain size). You can roll over its outputRead More…
RENAME – perlrex program – Renaming Movies – Example 1 – converting/fixing filenames article
Rename – perlrex program – Renaming Movies – example 1 ############################################### NOTE: these are not my movies. Just helping a friend out with renames, and thought it would be nice for an articleRead More…
dir diff – ddiff & ddiffq – see if directories same with md5
I got my resource completely through here: http://www.commandlinefu.com/commands/view/12626/diff-two-directories-by-finding-and-comparing-the-md5-checksums-of-their-contents. First you need md5deep and sort (which comes with every linux, just not the md5deep program): apt-get update; apt-get install md5deep; Which says toRead More…
Plex Plugins & Unsupported AppStore Plugin & Plex-Duplicates/Plexdoops
Random sections of plex info. Info on plugins Plex installs its plugins to a folder, plugins show up as channels within your Media Manager https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder- https://support.plex.tv/hc/en-us/articles/201187656-How-do-I-manually-install-a-channel- To ensure correct install of plugin:Read More…
ZFS variables list & info – zfs arc – and – sysctl zfs variables – and links to zfs source code
NOTE: Material below is copied from http://www.krausam.de/?p=70. Go to that site for most up to date info. Lots of useful ZFS information comes from this command: echo ::arc | mdb -k Also there are otherRead More…
JOBS & PROCESS CONTROL – MULTIPLE COMMANDS WITH IN A NOHUP
MULTIPLE COMMANDS WITH IN A NOHUP ################################### Nohup is useful to run things in the background tied away from the session shell (putty or teraterm or etc.). So that if you closeRead More…