"The Software Developer's Guide to Linux" affronta bene i fondamenti e le parti importanti del filesystem Linux, della riga di comando, della manipolazione dei file, dello scripting di shell e altro ancora.
Per soddisfare gli sviluppatori di software, il libro tratta anche Git e Docker.
If "#!/usr/bin/env foo" is the preferred #shebang (for portable scripts) in order to find "foo" independent of its path, why isn't the recommended shebang "#!env foo" which would not assume a path for "env" either? 🤔
Is there a script somewhere (Perl, preferably, or Python, or even a compiled program) that performs
blah |sort |uniq -c |sort -n
in an efficient manner using a dictionary?
Because sorting everything just to get a count with uniq -c seems very slow and wasteful.
SOLUTION, thanks to JdeBP@tty0.social:
awk '{x[$0]++;} END {for(k in x) {print x[k],k;}}'