|
Posted by Robert Cummings on 10/07/97 11:32
On Sat, 2005-11-19 at 13:02, Jasper Bryant-Greene wrote:
> John Taylor-Johnston wrote:
> > Hi,
> > I want to echo the location of "head.jpg" hidden in some deep dark
> > recess of my server, unbeknownst to me.
> > Which shell command do I use? How do I echo it?
> > John
> >
>
> While this isn't really a PHP question...
>
> On my machine, the following would work. I can't speak for your machine,
> though.
>
> cd /; find -name head.jpg
Under linux:
locate head.jpg
This is better than find usually since the filesystem is usually indexed
nightly making lookup fast. If you just added the file though... you'll
need to use the aforementioned method :)
Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
Navigation:
[Reply to this message]
|