Computing.Net > Forums > Unix > how to find complete path of a file

how to find complete path of a file

Reply to Message Icon

Original Message
Name: fresherr
Date: July 24, 2008 at 00:32:13 Pacific
Subject: how to find complete path of a file
OS: unix
CPU/Ram: dualcore/1 gb
Model/Manufacturer: dell
Comment:

hi guru,s fo unix!

help me out to find the complete/full path of a file present in any directory.I am actually trying to create a script which moves a file along with its complete path to another directory named DELETE so that i can restore this file back to its original position when ever i feel it necessary.

Thanks in advance.

yahoo!


Report Offensive Message For Removal


Response Number 1
Name: guapo
Date: July 24, 2008 at 09:41:19 Pacific
Reply: (edit)

I use the locate command which will list the complete path to the file.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: how to find complete path of a file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge