theshell.ch/site/pages/cmd/basic/man.html
bevilj dcb5ea0b2f code-review: internal code review 1
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@86 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-10 21:05:37 +00:00

35 lines
1.0 KiB
HTML

---
layout: page
category-title: Basic commands
category-page: basic
tags: manual
author: De Vita Gianmarco
title: man
---
<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>