Show Password

Hello Unregistered
Welcome from United States
You are somewhere around Ashburn
Last Visit: 1 Minute Ago @ 03:11 PM
Bits: 0
UNIX Time: 1531681894


CentOS 7.0 - man page for revpath (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

REVPATH(1)									       REVPATH(1)

       revpath - generate a relative path that can be used to undo a change-directory

       revpath path

       The  revpath  program prints out a relative path that is the ``reverse'' or ``inverse'' of
       path.  Start with two directories top and bottom, with the latter below	the  former,  and
       path  is the location of bottom relative to top.  The output of revpath is the location of
       top relative to bottom.	The resulting path contains a trailing	`/'  character	when  the
       result  is  non-trivial.  If path is equivalent to `.', the resulting output is empty.  If
       path is invalid in some way (e.g., doesn't represent the path to a subdirectory) the  out-
       put is also empty and no error messages are ever generated.

       There  are  no diagnostics.  Error conditions are silently ignored, and the exit status is
       always 0.

       It isn't possible to reverse arbitrary relative paths.  If any path  element  between  the
       two end points of path is a symbolic link, the results will probably be incorrect.

X Version 11				   imake 1.0.5				       REVPATH(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:11 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.