9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script
ftp -inv $HOST <<EOF
user $USER $PASSWORD
the script executes sucessfully I need to capture the FTP logs to a logfile
FTP Login successful
... (1 Reply)
Discussion started by: rajeshas83
2. Shell Programming and Scripting
I am writing a shell script which will run on build server where multiple users can login.These users can run this script at the same time.
I want to capture the name of the user who ran the script for every instance.How can I do that ?
Regards,... (1 Reply)
Discussion started by: anand.shah
3. Shell Programming and Scripting
Is there a way that I can capture a shell script (both output and input) to a log file where I can analyze it?
Thanks (6 Replies)
Discussion started by: nimo
4. Shell Programming and Scripting
I have a job script that runs with input parms from the command line.
job.sh -p parm1_parm2_parm3_parm4_file_1.dat
The parms are separated by _
The last parm is a file name and can have an _ in the name.
I currently use the following commands to extract the parms
parm1=`eval echo... (3 Replies)
Discussion started by: jclanc8
5. Shell Programming and Scripting
I have a script which does multiple tasks in sequence. When i execute the script, it runs and displays lot of messages for each of the steps on the console. Is there any way I can capture those messages and store it for audit purposes ?
bornon2303 (2 Replies)
Discussion started by: bornon2303
6. UNIX for Dummies Questions & Answers
i have this basic code that accepts for two input one for the source file and the other is for the target directory. basically it is a simple copy command. the problem is at the end of the execution the second parameter string was passed to first parameter and it displays a message like:
cp:... (3 Replies)
Discussion started by: wtolentino
7. Shell Programming and Scripting
I need to capture the output of a Sybase stored procedure, inside my
shell script( k shell). Based on this output, I need to call another
perl script, with input arguments as the result set of the procedure
execution. I need to keep looping through and call the perl script, ... (2 Replies)
Discussion started by: rajpreetsidhu
8. Shell Programming and Scripting
I have a db2 stored procedure on my database which require 3 parameters, I have the following db2 command in a sql script
CONNECT TO SAMPLE;
CALL BACKUP(INPUT_1, INPUT_2, INPUT3);
Usually, I would just invoke this sql script from my shell script like below
db2 -tf... (1 Reply)
Discussion started by: mpang_
9. Shell Programming and Scripting
echo "this is some text" | shellscript abc def ghi
How to capture "this is some text" so that I can process it,
I.e. capture to a file.
What I'm attemting to do is process the text echo'd into a file after writing the
parameters passed first. No problem... (6 Replies)
Discussion started by: heinz