2018-11-09 13:06:37 +00:00
|
|
|
---
|
|
|
|
layout: page
|
2018-11-10 21:05:37 +00:00
|
|
|
category-title: Basic commands
|
2018-11-09 13:06:37 +00:00
|
|
|
category-page: basic
|
|
|
|
tags: manual
|
2018-11-11 15:50:16 +00:00
|
|
|
author: Gianmarco De Vita
|
2018-11-09 13:06:37 +00:00
|
|
|
title: man
|
2018-11-11 11:00:42 +00:00
|
|
|
previous-page: pages/cmd/basic/cd.html
|
|
|
|
next-page: pages/cmd/basic/ls.html
|
2018-11-09 13:06:37 +00:00
|
|
|
---
|
|
|
|
<p>The <code>man</code> tool allows you to explore the various utilities
|
|
|
|
of the Shell. To search for more information about a command, just write</p>
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
Device-name:Current-position username$ man command-name
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
<p>As result, a new session will be opened with information about the command
|
|
|
|
you have typed (and more specifically about its functions and flags).</p>
|
|
|
|
|
|
|
|
<p>Using some flags, you can obtain with this command the same results you get
|
|
|
|
when you use other commands. For istance:</p>
|
|
|
|
|
|
|
|
<h3>The <code>-k</code> flag</h3>
|
|
|
|
<p>Using the <code>-k</code> flag, you obtain an equivalent result to
|
|
|
|
<code>apropos</code>.</p>
|
|
|
|
<pre>
|
|
|
|
Device-name:Current-position username$ man -k command-name
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
<h3>The <code>-f</code> flag</h3>
|
|
|
|
<p>Using the <code>-f</code> flag, you obtain an equivalent result to
|
|
|
|
<code>whatis</code>.</p>
|
|
|
|
<pre>
|
|
|
|
Device-name:Current-position username$ man -f command-name
|
|
|
|
</pre>
|