9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script which connects to a remote server via FTP and gets some file from there.
/usr/bin/ftp -n remote.hostname.com <<EOF
quote USER user123
quote PASS password123
... (7 Replies)
Discussion started by: dhruuv369
2. Shell Programming and Scripting
I have a script ABC which calls another script XYZ. Function of XYZ is to ftp a file from one server to another.
code for ABC:
code for xyz:
DSTNAME=$3 (4 Replies)
Discussion started by: Salil Gupta
3. Shell Programming and Scripting
I am just using cd Command and i want exit if error.
If above folder in not available then stop the script
Folder is change every day
Thanks (3 Replies)
Discussion started by: asavaliya
4. UNIX for Dummies Questions & Answers
I would just like to know if aCC supports the command exit(0); in c++?
I am always getting the error below:
Error 328: "ac5.C", line 37 # Function 'exit' has not been defined yet; cannot call.
Anyone had this problem?
Thanks! (2 Replies)
Discussion started by: khestoi
5. Shell Programming and Scripting
I'm driven crazy by a new problem.
It seems very complex to me and I see no way to come around.
In my script, I receive the path to a tgz file and I want to output the md5 sum of the file inside the tgz. I want a way to detect if tar fails.
I'm using the following command
tar... (7 Replies)
Discussion started by: chebarbudo
6. Shell Programming and Scripting
im running a while loop as a file watcher, with incremental counter on the retries..however when the retries reach it's limit i want it exit and echo and error and stop the batch. Im not sure the code i have will do that already...
Here is what i have that works:
count=0... (2 Replies)
Discussion started by: sigh2010
when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape,
get the following message "tar: error exit delayed form pervious error",
What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
8. Shell Programming and Scripting
Hi , i have shell scripts that run the mysql directly by echoing and redirecting the output to the mysql logins. whenever the query executes successfully then the script runs fine and nothing has to be done there.
Now, when there is an error executing the query then it will generate the error... (8 Replies)
Discussion started by: ahmedwaseem2000
9. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747