The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
getting full path from relative path
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
getting full path from relative path
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
03-17-2007
vgersh99
Moderator
Join Date: Feb 2005
Location: Boston, MA
Posts: 3,165
not a 'silver bullet', but.....
Code:
#!/bin/ksh thisFILE=$(whence ${0}) echo "here is my absolute pathname: [${thisFILE}]"
vgersh99
View Public Profile
Find all posts by vgersh99