| I really don't mind the brevity, but the quality and correctness from that guide seems rather lacking, a few examples: `apt update` refreshes the package index, but does no upgrade; so `apt update <package>` just fails with a usage error. Use `apt upgrade` for upgrading, or to allow dependency resolution to remove installed packages, which is relevant for upgrades between major releases, use `apt full-upgrade`. `apt list` lists all pacakages known to apt, not only local ones; if you want locally installed ones use `apt list --installed`, e.g.: $ apt list | wc -l
59316
$ apt list --installed | wc
426
`ip show link` just isn't a thing and will only get you `Object "show" is unknown, try "ip help".`.Rather I'd recommend adding `alias ip="ip -c"` to your `.bashrc` or `.zshrc` to always get color output, that makes things much easier to read and then either use `ip a` or for a brief output that's very easy to read quickly `ip -br a`. If you want all details and statistics about bytes send/received and packets accepted/dropped use `ip -s -s a`
(`a` is short for `addr` or `address`). Mixes rsyslog and journald. The "Shell Tips and Tricks" section could really do with a short sentence or a few keywords besides the tools. It seems to be an open book, so maybe I can contribute some fixes; but with that many errors in such a short text I'd not share that guide currently to anyone. |