3 ms·
> If I don't remember the `df` command... what do I do apart from searching on the internet? You can do that locally on the command line too! https://en.wikip
by koolba 6y ago
> If I don't remember the `df` command... what do I do apart from searching on the internet?
You can do that locally on the command line too!
https://en.wikipedia.org/wiki/Apropos_(Unix) https://en.wikipedia.org/wiki/Apropos_(Unix)
- homarp 6y agoor man -k "disk space"
- aidenn0 6y agodisk space: nothing appropriate.
- Annatar 6y agoAs root run catman -w just once to (re)build the index. Results are guaranteed to be of high quality only on a real UNIX, preferrably one of open source Solaris (illumos) distributions, and likely FreeBSD.
- homarp 6y agoon Ubuntu 18.04 this is what I got $ apropos "disk space" df (1) - report file system disk space usage $ man -k "disk space" df (1) - report file system disk space usage and $ man -k "disk usage" docker-system-df (1) - Show docker disk usage
- stjohnswarts 6y agohmmm this one I didn't know :D
- lanna 6y agoBut what if one doesn't remember the `apropos` command?
- koolba 6y agoThen you fire him and hire someone else.
- deleted 6y ago[deleted]
- Annatar 6y agoThen that person is the wrong person for the job.
- weinzierl 6y agoapropos apropos if you forget that apropos apropos apropos Recursion solves every problem;-) More seriously: You can alias it to something you can remember, for example: alias help=apropos
- dredmorbius 6y ago'help' is already the shell's built-in help function in most cases. That'd be a poor choice of alias. There are a small number of seed keywords which are ueeful to know. 'help' (shell), 'apropos', 'man' (online manual), 'info' (GNU documentation), and dwww (local documentation presented through a Web interface, available on Debian-based Linux, see https://ostechnix.com/dwww-view-complete-debian-documentation-offline-via-web-browser/ https://ostechnix.com/dwww-view-complete-debian-documentatio...) are among them. Knowledge requires a certain baseline. If that's too much ... perhaps a GUI is in fact advisable.
- diffeomorphism 6y agoThe same thing if someone does not remember there is a right mouse button?
- lanna 6y agoIt's right there, in front of them, all the time