Today I was trying to update openssl in my MacBook Pro with El Capitan 10.11.2.
I don't know where I made a mistake but it seems I have accidentally disabled man. In fact, if I launch man <something>
or man man
or simply man
it says --> -bash: man: command not found
. Is there a way to restore it?
Some commands:
which man
--> nothing
file /usr/bin/man
--> man is a directory
I am afraid there's not an executable anymore.
In fact, with ls -al /usr/bin/man
I got
total 0
drwxr-xr-x 6 root wheel 204 30 Dic 18:15 .
drwxr-xr-x 1063 root wheel 36142 30 Dic 20:51 ..
drwxr-xr-x 46 root wheel 1564 30 Dic 18:15 man1
drwxr-xr-x 1025 root wheel 34850 30 Dic 18:15 man3
drwxr-xr-x 4 root wheel 136 30 Dic 18:15 man5
drwxr-xr-x 3 root wheel 102 30 Dic 18:15 man7
which man
andfile /usr/bin/man
and update your question. :)ls -al /usr/bin/man
and update your question.