GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
REALPATH(1) FreeBSD General Commands Manual REALPATH(1)

realpathreturn resolved physical path

realpath [-q] [path ...]

The realpath utility uses the realpath(3) function to resolve all symbolic links, extra ‘/’ characters and references to /./ and /../ in path. If path is absent, the current working directory (‘.’) is assumed.

If -q is specified, warnings will not be printed when realpath(3) fails.

The realpath utility exits 0 on success, and >0 if an error occurs.

Show the physical path of the /dev/log directory silencing warnings if any:

$ realpath -q /dev/log
/var/run/log

The realpath utility first appeared in FreeBSD 4.3.

June 21, 2011 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.