The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How to get the path of a file in UNIX?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to get the path of a file in UNIX?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
10-05-2007
DukeNuke2
Soulman
Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,987
if the file is a executeable and it's in your path:
Code:
which filename
showes the file first found in your path. if it's just any file read "man find"
hth
DukeNuke2
View Public Profile
Visit DukeNuke2's homepage!
Find all posts by DukeNuke2
Find DukeNuke2's past nominations received
Find DukeNuke2's present nominations given