[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error in script



Check out

http://www.tldp.org/LDP/abs/html/

a bash scripting guide that should answer all your questions and show you plenty of examples.

You also might want to look up the "find" command in the man pages that might be better suited for your task.


On 1/25/06, Jon Miller <jlmiller@mmtnetworks.com.au> wrote:
Trying to run a test to see if certain files exists in a certain location
using the following:
# Check files at location
LOCSAV="/usr/local/sop"
if [ -e $(ls -l $LOCSAV/*.ide) ]
it comes up with an error, can some lend a hand in fixing this?

Thanks




Reply to: