Explain a Command
A quick way to see what commands and their options do before running them.
Generate a random 16-char password
strings |
|
/dev/urandom | |
| | ⇓ |
grep |
|
-o |
|
'[[:alnum:]]' | |
| | ⇓ |
head |
|
-n 16 | |
| | ⇓ |
tr |
|
-d | |
'\n' |
Sample Commands
Delete files extracted from a tarball
tar
-tf file.tar.gz | xargs rm -r
Generate a random 16-char password
strings
/dev/urandom | grep -o '[[:alnum:]]' | head -n 16 | tr -d '\n'
Print the largest files or folders in the current dir
du
-s * | sort -n | tail
Read More
From our blog:
Want to build something like this? Have a look at ManKier's API.
For another take on explaining commands, check out explainshell.com.