10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a question regarding the difference betwen cron and command line.
What I would like to do is to print a statement into a logfile if a script has been executed from cron or from command line.
It should be as:
if <Check if this script has been... (3 Replies)
Discussion started by: API
2. UNIX for Dummies Questions & Answers
How do i check success status of a sed command execution i have the below script not sure if it is right approach to check status of execution using a function.
Also it looks like in the below sed command even if the search string doesn't exist in the file it is returning status as success as i... (6 Replies)
Discussion started by: Ariean
3. Shell Programming and Scripting
I am using SED to edit a file (called file)
the file contains the word "ERROR"
and I want to use SED to:
1. Search for text "ERROR"
2. Append new line with text "hoi"
sed 's/ERROR/ a\hoi' file
sed 's/ERROR/ a\ hoi' file
I get all the time the error
sed:... (7 Replies)
Discussion started by: Alex400
4. Shell Programming and Scripting
Links Please??? (2 Replies)
Discussion started by: Diddy
5. UNIX for Advanced & Expert Users
I'm more familiar with bash/ksh that csh/tcsh. With that said, I recently ran across a problem with tcsh.
Our system admin recently installed purify on our solaris 8 system. In order to use purify you have to execute a Rational script in order to setup the paths and some environment variables... (3 Replies)
Discussion started by: sszd
6. Shell Programming and Scripting
Below is a real production environment issue:
we are using shell script to FTP to a remote server and fetch around 150 files every day, for each file we need to keep a entry inside ORACLE DB table, before insert into table, each file has a associated logid, which need to be... (2 Replies)
Discussion started by: summer_cherry
7. Shell Programming and Scripting
I have a wapper script which passes the argument from command prompt to inner script.. It works fine as long as the argument containing single word. But when value contains multiple word with space, not working as expected. I tried my best, couldn't find the reason. Gurus, pls.... (2 Replies)
Discussion started by: kans
8. Shell Programming and Scripting
I am having a problem running multiple commands in a autosys command line. For example I would like to run a perl script first and then add sleep command after that in the same autosys job like below
command: `perlscript.pl ; sleep 180`
Perlscript.pl... (0 Replies)
Discussion started by: waavman
9. Shell Programming and Scripting
I need a bit of help here on something simple.
I have a KSH script (must be KSH) that needs to change 2 positional variables in a CSV script.
The CSV script looks like this:
My AWK script will change $2 and $3 based... (4 Replies)
Discussion started by: kretara
10. Shell Programming and Scripting
I know how to ping in Perl. That is easy. What I am wondering is if there is a way for Perl to determine whether the ping was successful or not. Or do I need to save the results out and parse the results seperately looking for the #of tries and successful revieves.
Thanks. (1 Reply)
Discussion started by: gdboling