Scripts and commands for bash?

I've been working on a list of useful commands and scripts for bash/zsh, does Sup Forums have any that they'd like to share?
My list is too long to post here, so I put it in my picture and there's a link here: pastebin.com/Vx2ExwmN

pls no bully I just want more commands to learn

USEFUL INFOGRAPHICS THREAD

...

...

...

And here I thought my thread would just die alone

Don't get your hopes up. I'm one of those cursed lurker anons. Whenever I touch a thread, it dies.

More infographics.

This one's easier to understand if you already know at least basic regex.

using
>[cmd] & disown
in bash to fork and separate a command from the current shell then use
>echo $! > /tmp/[cmd].pid
to create a pid file. finally using
>pkill -F /tmp/[cmd].pid
kills the process. this makes running scripts and things as daemons easier.

Do you have an example of when you'd use this?

most init scripts are written similar to this on bsd/sysv systems. i use it to run scripts that check for emails with getmail, check for updates, change the wallpaper periodically, etc. looking in /etc/init.d/ will provide some better examples probably.

A little bit of fish scripting.
function git --wraps=git
set argc (count $argv)
if [ $argc -eq 0 ]
command git $argv
end

if [ $argc -le 1 ]
set rest
else
set rest $argv[2..-1]
end

switch $argv[1]
case "su"
command git status $rest
case "rbi"
command git rebase -i $rest
case "co"
command git checkout $rest
case "rbc"
command git rebase --continue $rest
case "rba"
command git rebase --abort $rest
case "auc"
command git add -u ; and git commit --amend $rest
case "au"
command git add -u $rest
case "cs"
command git commit -s $rest
case "csm"
command git commit -sm $rest
case "gfx"
qgit (git branch | cut -c 3-)
case "brn"
command git branch -m (command git rev-parse --abbrev-ref HEAD) $rest
case "cma"
git commit --amend $rest
case "sed"
if [ ! (count $rest) -eq 1 ]
exit 1
end
set sedexpr $rest[1]
set srch (echo $sedexpr | cut -d(string sub -s 2 -l 1 $sedexpr) -f2)
for file in (git grep $srch | cut -d":" -f1 | sort | uniq)
sed -i $rest $file
end
case "diffc"
git diff --cached $rest
case "r2ups"
git reset --hard (git rev-parse --abbrev-ref --symbolic-full-name '@{u}')
case "vimsed"
if [ $argc -ne 2 ]
echo "Vimsed needs exactly argument string!" >&2
else
vim (git grep $rest | cut -f1 -d":" | sort | uniq) -c "/$rest"
end
case "ssh"
git stash $rest
case "sshp"
git stash pop $rest
case '*'
command git $argv
end
end

I'll give you a bamp in hopes to lift the curse, user.

>[\w.%+-]
>[\w.-]
Maybe I'm wrong but I think the dots in these character sets should be escaped.

...

STOP BASHISMS
AND ZSHISMS
THEYRE HARMFUL
FUCK YOU
REEEEEE

Anybody got those programming challenges?

...

...

Bash for life.

lsblk -O | leafpad #or some other text editor with workwrap off.

List by octal and symbolic permissions and name;
stat -c '%a %A %n' /*

build and install a .deb .rpm or slackware package so all installed files are tracked and removable with standard package management tools.
./configure
make
sudo checkinstall