![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| command to find the path of a file | abhilashnair | UNIX for Dummies Questions & Answers | 3 | 02-17-2008 07:15 PM |
| to find the file with full path | surjyap | Shell Programming and Scripting | 5 | 01-18-2008 03:26 PM |
| Find a file in sub-directories.. o/p just the path | pranavagarwal | Shell Programming and Scripting | 3 | 11-23-2007 01:50 AM |
| vi - replacing a relative path with absolute path in a file | Yinzer955i | UNIX for Dummies Questions & Answers | 2 | 09-07-2006 11:47 AM |
| How would I make a find command NOT show the path of a file? | LordJezo | Shell Programming and Scripting | 1 | 10-01-2004 06:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to find the path of a file?
Hi all,
Is there any way to find the the path of a file? I mean executable files and just anyother file we can think of? i know of one cmd called which $which mount /usr/bin/mount this is fine, but "mount" is a cmd not a file that can be searched eg: say i have created a text file called "myfile" i dont know the path to it, how do i find it? Thanks |
|
||||
|
man find or take a look here: advanced/complex uses of the find command
|
|
||||
|
And if you have locate, your disk will already be indexed every night, so no need to run a heavy-duty on-line find command at all (unless it's a file you created recently).
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|