Основываясь на уже сказанном, я смог обмениваться файлами с Ubuntu на Mac, просто щелкнув правой кнопкой мыши папку, которую хочу поделиться и разрешить совместное использование.
Из man man:
-K, --global-apropos
Search for text in all manual pages. This is a brute-force
search, and is likely to take some time; if you can, you should
specify a section to reduce the number of pages that need to be
searched. Search terms may be simple strings (the default), or
regular expressions if the --regex option is used.
-w, --where, --location
Don't actually display the manual pages, but do print the
location(s) of the source nroff files that would be formatted.
Комбинировано:
man -wK 'Richard M Stllman'
Хотя manpages обычно имеют только Richard Stallman, с переменным количеством пробелов между двумя словами, поэтому может быть целесообразно регулярное выражение:
--regex
Show all pages with any part of either their names or their
descriptions matching each page argument as a regular
expression, as with apropos(1). Since there is usually no
reasonable way to pick a "best" page when searching for a
regular expression, this option implies -a.
Итак:
man --regex -wK 'Richard *Stallman'
Этот метод не выполняет поиск по всем ключевым словам для ключевого слова, но только заголовок и краткое описание каждой страницы. В вашем случае этого будет недостаточно, но полезно быстро что-то найти. Если это не возвращает желаемые результаты, вы должны использовать ответ @ philsf.
Вы можете использовать команду apropos для быстрого поиска названия и описания всех установленных manpages для ключевого слова:
$ apropos chat
chat (8) - Automated conversational script with a modem
chattr (1) - change file attributes on a Linux file system
empathy (1) - GNOME multi-protocol chat and call client
Вы можете отобразить описание известной man-страницы, используя whatis:
$ whatis empathy
empathy (1) - GNOME multi-protocol chat and call client
Как я уже сказал, этот метод не будет искать весь файл man-страницы, поэтому apropos Stallman ничего не возвращает. .