The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executing scripts in Parallel itsme_maverick Shell Programming and Scripting 2 06-06-2008 12:23 PM
[PERL] Running unix commands within Perl Scripts userix Shell Programming and Scripting 1 05-28-2008 07:06 PM
executing scripts by reading names from a file konark Shell Programming and Scripting 3 11-08-2007 02:28 AM
Executing Shell Scripts BuyoCat UNIX for Dummies Questions & Answers 1 09-07-2005 02:11 AM
executing variables in ksh scripts? zedmelon Shell Programming and Scripting 3 08-06-2003 02:50 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-27-2002
vtran4270 vtran4270 is offline
Registered User
  
 

Join Date: Aug 2002
Location: California, USA
Posts: 27
executing perl scripts

Does anybody experiencing this same problem?

I am using IRIX64 ver 6.5 at work.
I wrote some Perl scripts and to execute it.

First I try to put the Perl script at:
/$HOME/bin/perlscript
then I set the correct executable 755 right to the file
I make sure the PATH to the executable exist.
I did a %which and %whereis command and they located the correct location the file

But when I try to excute the file. It can't be execute and error mess said file not found.

Second, I try to move the executable to /usr/bin to test to see if it can be execute. And the same problem persist.

Does anyone has an answer to it?

Thank alot if you know the answer and I will be very appreciated.
Thank you.
Vu
  #2 (permalink)  
Old 08-27-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
The first line of your script is probably something like:
#! /usr/local/bin/perl

See if that can be found. Maybe the kernel cannot find your version of perl.
  #3 (permalink)  
Old 08-27-2002
vtran4270 vtran4270 is offline
Registered User
  
 

Join Date: Aug 2002
Location: California, USA
Posts: 27
Thank alot

I found the problem earlier. It was exactly what you said.
Thanks alot,
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0