Bash-fo

find . -name "*FILENAME*" 2>/dev/null

grep "STRING" -r . 2>/dev/null
Find case insensitive strings, treating binary files as text (i.e also find strings in elf files).
grep -a -i "STRING" -r . 2>/dev/null
2>/dev/null results in permission errors not printing to stdout

Example data:
PINK
BLUE
RED
RED
PINK
PINK
RED
....
Get the amount of unique items with > 2 repetitions:
<data> | sort | uniq -c | sort -n | awk '$1>2'

Recursively grab the keys of a json file
jq -r '[paths | join(".")]'

Python pwn tools can be inconsistent when sending a buffer-overflow related payload. Consider sending the contents of the file through netcat:
(cat payload; echo) | nc (ip) (port)

Exporting all docker images into a single tar file from when operating in ZSH
docker save $(docker images | grep -v \ | sed '1d' | awk '{print $1 ":" $2 }') -o allinone.tar
​
Easily get (public) text between devices (terminal pastebin)
cat <file> | nc termbin.com 9999
curl <returned url>
Copy link
On this page
Find Files and Strings
Find files by name with wildcards
Find files by string content
Sort and Count
jq
Payloads and Netcat
Other