Apropos (Unix)

apropos
Operating systemUnix and Unix-like
TypeCommand

In computing, apropos is a command to search the man page files in Unix and Unix-like operating systems. Apropos takes its name from the French "à propos" (Latin "ad prōpositum") which means about. It is particularly useful when searching for commands without knowing their exact names.

Behavior

Often a wrapper for the man -k command, the apropos command is used to search the "name" sections of all manual pages for the specified string or strings (called keywords). The output is a list of all manual pages containing the search term (case insensitive) in their name or description. This is often useful if one knows the action that is desired, but does not remember the exact command or page name.

apropos usually searches in a precompiled database that is shared with whatis, a command for obtaining the brief description of a specific command whose exact name is already known.

Sample usage

The following example demonstrates the output of the apropos command:

$ apropos mount
free (1)             - Display amount of free and used memory in the system
mklost+found (8)     - create a lost+found directory on a mounted Linux second extended file system
mount (8)            - mount a file system
mountpoint (1)       - see if a directory is a mountpoint
ntfsmount (8)        - Read/Write userspace NTFS driver.
sleep (1)            - delay for a specified amount of time
switch_root (8)      - switch to another filesystem as the root of the mount tree.
umount (8)           - unmount file systems

In this example, apropos is used to search for the keyword "mount", and apropos returns the indicated man pages that include the term "mount".

The following example demonstrates the output of the apropos command with an regexp keyword (abc.n) and a regular keyword:

$ apropos abc.n xzless
XTestGrabControl (3) - XTest extension functions
xzless (1)           - view xz or lzma compressed (text) files

In this example, apropos is used to search for the keywords (with a regular expression) "abc.n" and xzless, and apropos returns the indicated man pages that include the keywords.

whatis is a command for obtaining the brief description of a specific command whose exact name is already known. It uses the same database as apropos does. On systems with mandoc, it is a wrapper for apropos -f (search by name only).[1]

$ whatis whatis
whatis(1)                - search the whatis database for complete words

makewhatis is a command for indexing all on-disk manuals into a database that apropos and whatis can read from. It first appeared in the 2BSD of 1979, but has since been rewritten multiple times in different implementations of man.[2] mandb is a command that performs the same function in man-db.[3]

The database is traditionally plain text, but man-db, the implementation found on many Linux distributions, use a Berkeley DB instead.[3][4] The mandoc implementation used on many BSD distributions likewise has its own innovations on the format.[5]

See also

References

  1. ^ whatis(1) – OpenBSD General Commands Manual
  2. ^ makewhatis(8) – OpenBSD System Manager's Manual
  3. ^ a b mandb(8) – Linux System Administration Manual
  4. ^ Watson C. "man-db, the on-line manual database". man-db.nongnu.org. Retrieved 8 May 2019. It uses a Berkeley DB database in place of the traditional flat-text whatis databases. man-db is used by several popular GNU/Linux distributions
  5. ^ mandoc.db(5) – OpenBSD File Formats Manual

Read other articles:

American actor For the soccer player, see Derek Luke (soccer). Derek LukeLuke at Orlando, Florida in 2013BornDerek Nathanial Luke (1974-04-24) April 24, 1974 (age 49)Jersey City, New Jersey, U.S.OccupationActorYears active1999–presentSpouse Sophia Adella Luke ​(m. 1998)​Children1 Derek Nathanial Luke (born April 24, 1974)[1] is an American actor. He won the Independent Spirit Award for his big-screen debut performance as the titular character i...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Januari 2023. Koordinat: 35°39′48.6″N 139°52′25.9″E / 35.663500°N 139.873861°E / 35.663500; 139.873861 Museum Metro Tokyo地下鉄博物館Pintu masuk museumDidirikan12 Juli 1986 (1986-07-12)LokasiEdogawa, TokyoKoordinat35°39

List of people that were killed or disappeared during the Brazilian military dictatorship Report of the National Truth Commission, volume III. This is a list of the killed and politically disappeared people during the Brazilian military dictatorship. It brings together the political dead and disappeared in the Brazilian military dictatorship of 1964. The murders and disappearances of opponents of the military regime in Brazil were investigated by the National Truth Commission (CNV), by state ...

У Вікіпедії є статті про інші значення цього терміна: Світязь (значення). Світязь Похилена ялина на березі СвітязяПохилена ялина на березі Світязя 53°26′ пн. ш. 25°55′ сх. д. / 53.433° пн. ш. 25.917° сх. д. / 53.433; 25.917Координати: 53°26′ пн. ш. 25°55′ ...

 AG8  SP8  Stasiun LRT Plaza RakyatStasiun Angkutan cepat Rute Sentul Timur-Ampang dan Rute Sentul Timur-Sri PetalingLantai peron stasiun Plaza Rakyat.Koordinat3°8′40″N 101°42′5″E / 3.14444°N 101.70139°E / 3.14444; 101.70139PemilikSyarikat Prasarana Negara (2002 – kini); diurus oleh RapidKL.JalurRute Sentul Timur-Ampang dan Rute Sentul Timur-Sri Petaling (1996 – kini)Jumlah peron2 peron sisiJumlah jalur2SejarahDibuka16 Desember 1996O...

 Nota: Para a visão judaica do texto, veja Bamidbar. Livros do Antigo Testamento Pentateuco Gênesis · Êxodo · Levítico · NúmerosDeuteronômio Livros históricos Josué · Juízes · Rute · I SamuelII Samuel · I Reis · II Reis · I CrônicasII Crônicas · Esdras · Neemias · TobiasJudite · Ester ·&#...

Kathedral-Basilika von San José de Mayo Die römisch-katholische Catedral Basílica de San José de Mayo ist Sitz des Bistums San José de Mayo in der Stadt San José de Mayo, Hauptstadt des uruguayischen Departamento San José. Inhaltsverzeichnis 1 Geschichte 2 Beschreibung 3 Weblinks 4 Nachweise Geschichte Die Kirche wurde zwischen 1858 und 1874 in architektonischen Baustilen des 19. Jahrhunderts errichtet. Architekt war der katalanische Baumeister Antonio Fongivell. Am 24. März 1875 wurd...

Dewan Perwakilan Rakyat Kabupaten Aceh Selatan DPRK Aceh Selatan2019-2024JenisJenisUnikameral Jangka waktu5 tahunSejarahSesi baru dimulai2 September 2019PimpinanKetuaAmiruddin (PNA) sejak 8 Januari 2021 Wakil Ketua ITeuku Bustami, S.E. (Demokrat) sejak 28 Oktober 2019 Wakil Ketua IIAdi Samridha, S.Pd.I. (PA) sejak 24 Agustus 2021 KomposisiAnggota30Partai & kursi  NasDem (3)   PKB (2)   Hanura (1)   Demokrat (4)   PKPI (2)  ...

Untuk kegunaan lain, lihat Gubernur Taiwan. Gubernur FormosaGouverneur van FormosaFlag of the Dutch East India CompanyKediamanFort ZeelandiaTayouan, FormosaDitunjuk olehGubernur Jenderal Hindia BelandaPejabat perdanaMarten SonkDibentuk1624 Fort Zeelandia, kediaman Gubernur Formosa, Taiwan. Gubernur Formosa (Belanda: Gouverneur van Formosa; Hanzi: 台灣長官) adalah kepala pemerintahan selama masa kolonial Belanda di Taiwan, yang berlangsung antara tahun 1624 hingga tahun 1662. Ditun...

Thịnh vượng chung Philippines Tên bản ngữ Commonwealth of the Philippines (tiếng Anh)Mancomunidad de Filipinas (tiếng Tây Ban Nha)Komonwelt ng Pilipinas (tiếng Filipino) 1935–19431945–1946 Quốc kỳ Hoa Kỳ (Trên)Quốc kỳ Philippines (Dưới) Quốc huy Quốc ca: The Philippine Hymn(từ ngày 5 tháng 9 năm 1938)[1] Vị trí Philippines tại Đông Nam Á.Tổng quanVị thếQuốc gia liên kết và bảo hộ c...

Esta página cita fontes, mas que não cobrem todo o conteúdo. Ajude a inserir referências. Conteúdo não verificável pode ser removido.—Encontre fontes: ABW  • CAPES  • Google (N • L • A) (Dezembro de 2021) Rádiotelevisión Española Radiotelevisión Española Tipo Empresa de capitais públicos Atividade Comunicação Social Fundação 1935 com o nome de Rádio Nacional da Espanha1957 com o nome de Televisión Española.197...

‹ The template below (Infobox sports team) is being considered for merging. See templates for discussion to help reach a consensus. › Real Sociedad de Tenis de La MagdalenaRSTMNicknamesEl TenisSportTennisGrass hockeyRoller hockeySwimmingBowlingCanoeingFounded1906Based inAvenida de La Magdalena 8 39005Santander SpainColors         OwnerMembersPresidentÁngela Escallada y de HayaHonorary PresidentFelipe VIWebsiterstenis.com The Real Sociedad de Tenis ...

Child often left at home with no supervision A child with keys to her home hanging from her neck A latchkey kid, or latchkey child, is a child who returns to an empty home after school (or other activities) or a child who is often left at home with no supervision because their parents are away at work. Such a child can be any age, alone or with siblings who are also under the age of majority for their community.[1] History of the term The term refers to the latchkey of a door to a hou...

Russian Metropolitan and artist This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Athanasius, Metropolitan of Moscow – news · newspapers · books · scholar · JSTOR (December 2009) (Learn how and when to remove this template message) Athanasius, Metropolitan of MoscowMetropolitan of Moscow and all RussiaChurchRussian Orthodox Chu...

Lower house of legislature in Maharashtra, India Maharashtra Legislative AssemblyMahārāṣhṭra Vidhāna Sabhā14th Maharashtra AssemblyTypeTypeLower house of the Maharashtra Legislature Term limits5 yearsLeadershipGovernor of MaharashtraRamesh Bais since 18 February 2023 Speaker of the HouseRahul Narwekar, BJP since 3 July 2022 Deputy Speaker of the HouseNarhari Sitaram Zirwal, NCP(AP) since 14 March 2020 Leader of The House(Chief Minister)Eknath Shinde, SHS since 02 July 2022...

دوري الدرجة الأولى الأرجنتيني 1948 تفاصيل الموسم دوري الدرجة الأولى الأرجنتيني  النسخة 18  البلد الأرجنتين  المنظم اتحاد الأرجنتين لكرة القدم  البطل إنديبندينتي  عدد المشاركين 16   دوري الدرجة الأولى الأرجنتيني 1947  دوري الدرجة الأولى الأرجنتيني 1949  تعديل ...

ChurchSt. Therese Retreat CenterAddress5277 East Broad Street Columbus, OH, 43213DenominationCatholicHistoryFormer name(s)St. Therese’s Shrine, House of Retreats Shrine Center for RenewalArchitectureArchitect(s)Robert KrauseArchitectural typeRomanesqueCompleted1931AdministrationDioceseColumbusClergyBishop(s)Earl K. Fernandes St. Therese Retreat Center is a retreat house and shrine of the Catholic Diocese of Columbus dedicated to Thérèse of Lisieux located on East Broad Street in Columbus,...

1998 studio album by The Suicide MachinesBattle HymnsStudio album by The Suicide MachinesReleasedApril 7, 1998StudioA&M Studios, Hollywood, CaliforniaGenreSka punkPunk rockHardcore punkMelodic hardcoreLength31:38LabelHollywoodProducerJulian Raymond, The Suicide MachinesThe Suicide Machines chronology Destruction by Definition(1996) Battle Hymns(1998) The Suicide Machines(2000) Professional ratingsReview scoresSourceRatingAllmusic [1] Battle Hymns is the second album by the...

Spanish cross-country skier and cyclist Martí Vigo del ArcoVigo del Arco in 2018Personal informationBorn (1997-12-22) 22 December 1997 (age 25)Sesué, SpainSportSportCross-country skiing, road bicycle racingCycling careerTeam informationCurrent teamGW Shimano–SidermecDisciplineRoadRoleRiderAmateur team2020Telco'm–On Clima–Oses Professional team2021–Androni Giocattoli–Sidermec In this Spanish name, the first or paternal surname is Vigo and the second or maternal fa...

Намибпорт. Namіbe, англ. Namіb Пустыня Намиб (вид из космоса) Характеристики Длина1900 км Ширина160 км Площадь100 000 км² Расположение 25° ю. ш. 15° в. д.HGЯO Страны Ангола Намибия ЮАР Намиб Объект всемирного наследия Namib Sand Sea Ссылка 1430 Критерии (vii)[d][1&#...