Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
QNX Community Resources

QNX Community Resources

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[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 is qualified_path\n
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]