You are here: AW: [PHP] shell command « PHP « IT news, forums, messages
AW: [PHP] shell command

Posted by "Mirco Blitz" on 10/04/69 11:32

Hi
On some linux systems where you can't jump to /
you can also write the command like this.

find / -name head.jpg

Greetings
Mirco

-----Ursprüngliche Nachricht-----
Von: Jasper Bryant-Greene [mailto:jasper@album.co.nz]
Gesendet: Samstag, 19. November 2005 06:03
An: John Taylor-Johnston
Cc: PHP-General
Betreff: Re: [PHP] shell command

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

--
Jasper Bryant-Greene
General Manager
Album Limited

+64 21 708 334
jasper@album.co.nz

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация