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 site
Forums
Register
Blog
Man Pages
Forum Rules
Links
Albums
FAQ
Users
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: 3,299
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