Women in Technology

Hear us Roar



Article:
  Build Your Own Blogging Application, Part 2
Subject:   Script updateBlog.sh
Date:   2004-12-19 19:32:51
From:   ptwobrussell
Response to: Script updateBlog.sh

Bash is telling you that it can't find executable files by the names of processImages.pl or postEntry.pl in the current directory (the same one that updateBlog.sh is located in)


One of three things is extremely likely:


1) Those files are simply not in the same directory as updateBlog.sh, or


2) You've misspelled their their names/forgot an extension, or most likely:


3) You don't have executable permissions set on these files and therefore it can't 'find' them because they're not 'commands'. To check permissions, type 'ls -al <filename>' and make sure that you see at least one 'x' in the output. Do a 'man ls' for more info on exactly what the output means.


Let me know how it goes.
Matthew

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Script updateBlog.sh
    2004-12-20 07:50:40  manuelderieux [View]

    Your points 2 & 3 were my downfall, it's part of the arrogance of considering myself precise.

    Thank you.
    • Matthew Russell photo Script updateBlog.sh
      2004-12-20 07:54:43  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

      No sweat. We've all done it and are bound to do it again. Path and permissions related issues are probably 90% of the problems I've ever had to work through.

      Matthew