fs Correction on pwd page

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@128 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
ponzim 2018-11-12 09:11:18 +00:00
parent 1e5145bdd2
commit 0eae264b45

View File

@ -7,12 +7,19 @@ author: Mirko Ponzio
title: PWD
---
<h2>Description</h2>
<p>
<code>pwd</code> (abbreviation of print working directory, it gives you the corrent directory) it is a command of the operation system Unix and Unix-like,
and in general of the systems POSIX, that show on the standard output the absolute pathname on the corrent directory.
Since a command line interface cannot provide graphic pictures of the file system structure, it must have a different way of representing it.
Think of the file system tree as a maze, and you are standing in it. At any given moment, you are located in a single directory.
Inside that directory, you can see its files and the pathway to its parent directory and the pathways to the subdirectories of the directory in which you are standing.
<code>PWD</code> (abbreviation of print working directory, it gives you the
corrent directory) it is a command of the operation system Unix and Unix-like,
and in general of the systems POSIX, that show on the standard output the
absolute pathname on the corrent directory.
Since a command line interface cannot provide graphic pictures of the file
system structure, it must have a different way of representing it.
Think of the file system tree as a maze, and you are standing in it. At any
given moment, you are located in a single directory.
Inside that directory, you can see its files and the pathway to its parent
directory and the pathways to the subdirectories of the directory in which you
are standing.
</p>
<p>
The working directory is the directory where you are standing in. So for
@ -20,21 +27,15 @@ knowing where you are, you must use the pwd command.
</p>
<h2>Description</h2>
<p> The pwd utility writes the absolute pathname of the current working
directory to the standard output.
Some shells may provide a builtin pwd command which is similar or identical to this utility. </p>
<h2>Options</h2>
<p>
<ul>
<li> -L Display the logical current working directory.</li>
<li> -L : Display the logical current working directory.</li>
<li>-P Display the physical current working directory (all symbolic
<li>-P : Display the physical current working directory (all symbolic
links resolved).</li>
</ul>
<br><br>
If no options are specified, the -L option is assumed.</p>