[Previous] [Contents] [Next]

fullpath

Display network-qualified pathnames (QNX)

Syntax:

fullpath [-t] [name...]

Options:

-t
Write terse output only, i.e. write only the fully qualified path; default is to write:
name
A filename.

Description:

The fullpath utility resolves all prefixes and symbolic links to display a fully qualified network path for each filename you specify. If no names are given, fullpath displays the full pathname of the current working directory.

Examples:

Get the full pathname of /usr/lib/terminfo:

$ fullpath /usr/lib/terminfo
/usr/lib/terminfo is //18/etc/terminfo
$

Get the full pathname of the current directory (which is for the purpose of this example the directory /home/glen):

$ cd /home/glen
$ fullpath
/home/glen is //61/home/glen
$

Exit status:

0
Successful completion.
>0
An error occurred.

See also:

basename, dirname


[Previous] [Contents] [Next]