Sponsored Content
Full Discussion: file wont execute
Top Forums UNIX for Dummies Questions & Answers file wont execute Post 302133278 by iago on Wednesday 22nd of August 2007 04:30:58 PM
Old 08-22-2007
file wont execute

sh filename

and it gives me an error saying the file doesnt exist but it definately does.
 

9 More Discussions You Might Find Interesting

1. Solaris

file wont remove

check this out ls -l nmo* -rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo -rw-r----- 1 oracle dba 0 May 19 2004 nmo0 -rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat # rm nmo0 nmo0: No such file or directory # id uid=0(root) gid=1(other) what... (8 Replies)
Discussion started by: csaunders
8 Replies

2. Shell Programming and Scripting

Need to execute 2 scripts, wait, execute 2 more wait, till end of file

:cool: I need to execute a shell script to do the following: cat a file run two back ground processes using the first two values from the file wait till those background processes finish run two more background processes using the next two values from the file wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies

3. Solaris

Solaris has a lot of bugs, fstream wont write to file correctly!

I've got a c++ program that works fine on Linux, compiles on Solaris fine with g++, but will not write to a fstream correctly in a class object. And I've run into numerous other bugs in the disk management. Jon (4 Replies)
Discussion started by: Joncamp
4 Replies

4. UNIX for Dummies Questions & Answers

head command wont work on MF file

I am trying to do a head on a mainframe file and on doing ti just gives me a blank screen with nothing on it. however, when i do a tail for the same file...i get a few lines on the screen. i know tht mainframe files have all the records on one line...does this have to do something with this.... (10 Replies)
Discussion started by: alfredo123
10 Replies

5. Shell Programming and Scripting

MKS KORN SHELL WONT EXECUTE from windows command prompt

Can anybody help me with this small script , the script works fine and launches the IE from c:\documents and settings \test\my documents>ksh prompt $RunURL1.sh this scitpt works and launches the ie from ksh , but when i schedule it to run the script then i get the error box saying command:1... (2 Replies)
Discussion started by: venu
2 Replies

6. Shell Programming and Scripting

Shell script wont execute

Im using a script that writes a random line to a text file then executes another shell script. My problem is that the lottery shell script will not execute. Im not receiving an errors when running the shell script, and it copies a random line of text to mtest.txt fine. #!/bin/bash nscripts=2... (3 Replies)
Discussion started by: kylecn
3 Replies

7. Shell Programming and Scripting

find specific file names and execute a command depending on file's name

Hi, As a newbie, I'm desperate ro make my shell script work. I'd like a script which checks all the files in a directory, check the file name, if the file name ends with "extracted", store it in a variable, if it has a suffix of ".roi" stores in another variable. I'm going to use these two... (3 Replies)
Discussion started by: armando110
3 Replies

8. Red Hat

root crontab wont execute a script

Greetings/ I have a script listed in my roots crontab 07 9 * * * /opt/HLRSDATA_2010_OCT/HLRS_Scheduler_sp.sh > /opt/HLRSDATA_2010_OCT/logs/HLRTKJob.log This script contains the following #!/bin/bash echo HLRSData Scheduler cd /opt/HLRSDATA_2010_OCT /usr/bin/java -Xms32m -Xmx1024m -cp... (6 Replies)
Discussion started by: RedSpyder
6 Replies

9. Shell Programming and Scripting

Startup script wont execute on NAS

Hi, So I've created /etc/rc.local #!/bin/sh polipo -c /opt/etc/polipo/polipo.conf exit 0 if I run it with ./rc.local it does what its supposed to do and the proxy starts but not at startup. any idea whats wrong? thanks (1 Reply)
Discussion started by: deon
1 Replies
XDF_OPEN(3)						     xdffileio library manual						       XDF_OPEN(3)

NAME
xdf_open - Open a xDF file for reading or writing SYNOPSIS
#include <xdfio.h> struct xdf* xdf_open(const char* filename, int mode, enum xdffiletype type); DESCRIPTION
xdf_open() opens a xDF the file refered by the path filename for reading or writing. If mode is XDF_READ, the file is opened for reading. Thus it must exist and type should be either XDF_ANY or set to the type of the file refered by type. Otherwise, the function will fail. If mode is XDF_WRITE, the file is opened for writing. Thus the path filename must not refered to an existing file: the function will fail if the file exist. This behavior prevents to overwrite any previous recording. type should be also be set to the desired type of data for- mat (XDF_ANY will result in a error). The possible file type values are defined in the header file <xdfio.h> RETURN VALUE
The function returns an handle to xDF file opened in case of success. Otherwise, NULL is returned and errno is set appropriately. ERRORS
In addition to the errors related to calls to open(3) or read(3), the following errors can occur: EILSEQ The file that is being opened does not correspond to a supported file format or is not of the type specified. ENOMEM The system is unable to allocate resources. EINVAL mode is neither XDF_READ nor XDF_WRITE, or filename is NULL. SEE ALSO
xdf_close(3) EPFL
2010 XDF_OPEN(3)
All times are GMT -4. The time now is 04:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy