{"id":2159,"date":"2021-02-25T09:05:39","date_gmt":"2021-02-25T09:05:39","guid":{"rendered":"https:\/\/swiv.com.br\/linux-man-info-commands\/"},"modified":"2026-05-27T20:02:52","modified_gmt":"2026-05-27T19:02:52","slug":"linux-man-info-commands","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/02\/25\/linux-man-info-commands\/","title":{"rendered":"Linux MAN\/INFO commands"},"content":{"rendered":"\n<p>Esses comandos existem como refer\u00eancia para que possamos ver mais detalhes de algo que queremos executar no Linux. O MAN, especificamente, serve como manual, conforme exemplo abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# man ls\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-343.png\" alt=\"\" class=\"wp-image-8146\"\/><\/figure>\n\n\n\n<p>O &#8220;man -k&#8221; nos permite filtrar os comandos existentes usando como refer\u00eancia uma string, como no exemplo abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# man -k &quot;system information&quot;\ndumpe2fs (8)         - dump ext2\/ext3\/ext4 filesystem information\nfstatvfs (3p)        - get file system information\nrhn-profile-sync (8) - Update system information on Red Hat Satellite server.\nstap-report (1)      - collect system information that is useful for debugging system...\nstatvfs (3p)         - get file system information\nstatvfs.h (0p)       - VFS File System information structure\nsys_statvfs.h (0p)   - VFS File System information structure\nuname (1)            - print system information\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Outra alternativa para a mesma funcionalidade seria usar o &#8220;apropos&#8221;:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# apropos &quot;system information&quot;\ndumpe2fs (8)         - dump ext2\/ext3\/ext4 filesystem information\nfstatvfs (3p)        - get file system information\nrhn-profile-sync (8) - Update system information on Red Hat Satellite server.\nstap-report (1)      - collect system information that is useful for debugging system...\nstatvfs (3p)         - get file system information\nstatvfs.h (0p)       - VFS File System information structure\nsys_statvfs.h (0p)   - VFS File System information structure\nuname (1)            - print system information\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Caso queira fazer a busca inversa, podemos utilizar o comando &#8220;whatis&#8221;:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# whatis uname\nuname (1)            - print system information\nuname (1p)           - return system name\nuname (2)            - get name and information about current kernel\nuname (3p)           - get the name of the current system\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>J\u00e1 o comando INFO exibe dados sobre informa\u00e7\u00e3o de em comando (seria um man reduzido):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# info ls\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-344.png\" alt=\"\" class=\"wp-image-8148\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Esses comandos existem como refer\u00eancia para que possamos ver mais detalhes de algo que queremos executar no Linux. O MAN, especificamente, serve como manual, conforme exemplo abaixo: O &#8220;man -k&#8221; nos permite filtrar os comandos existentes usando como refer\u00eancia uma string, como no exemplo abaixo: Outra alternativa para a mesma funcionalidade seria usar o &#8220;apropos&#8221;: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2159","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2159\/revisions"}],"predecessor-version":[{"id":9258,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2159\/revisions\/9258"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}