pavement

Pwd

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
[[pwd]] is acronymic for '''print working directory'''
 
[[pwd]] is acronymic for '''print working directory'''
  
When this command is called without any parameters, it will print out the current working directory according to the shell. It may be called with '''-P''' to dereference any symbolic links in the path.
+
When this command is called without any parameters, it will print out the current working directory according to the shell. It may be called with '''-P''' to dereference any [[symbolic links]] in the [[path]].
  
 
  [light@splat ~/www/paint_fx]$ '''pwd'''
 
  [light@splat ~/www/paint_fx]$ '''pwd'''

Revision as of 00:29, 9 September 2004

pwd is acronymic for print working directory

When this command is called without any parameters, it will print out the current working directory according to the shell. It may be called with -P to dereference any symbolic links in the path.

[light@splat ~/www/paint_fx]$ pwd
/home/light/www/paint_fx
[light@splat ~/www/paint_fx]$ pwd -P
/usr/home/light/www/paint_fx
Personal tools