theshell.ch/site/pages/cmd/basic/man.html
devitg d2d1d75763 Team Basic: Adding openshell and commands man, open, say
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@73 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-09 13:06:37 +00:00

34 lines
1 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>