Please am still new to unix. Am learning at the moment. Am using Ubuntu 16.04LTS on a virtual machine(oracle). I want to try the command 'whatis', but the book am reading says this:-
Before running whatis the first time on your system — particularly if you’re running a standalone machine using FreeBSD, Linux, or Darwin — you’ll want to run the makewhatis at /usr/ libexec/ makewhatis, which creates the whatis database by scanning the command names from the existing manpages.
I tried running /usr/libexec/makewhatis
, I got this
bash: /usr/libexec/makewhatis: no such file or directory
I tried doing sudo apt install makewhatis
, I got this, after reading package lists, building dependency tree, reading state information
E: Unable to locate package makewhatis
When I did whatis cat
though, I got the result I was expecting. Please I just want to know if I don't need to run /usr/libexec/makewhatis
, on my system, to use whatis the first time, and everything is fine.