02-02-2018
Could you please show us the whole set of parameters and explain a little - we can give you much better help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone help me how to write a shell script which accepts input parameter. My requirement is as follows:
I need to run a shell script with a input parameter, and inside the script i will create a file with this input parameter name.
Please help me out to create such a shell script.
... (1 Reply)
Discussion started by: jhmr7
1 Replies
2. Shell Programming and Scripting
Hi,
I have a script which we use to take hot backup of oracle database.It connects to database and saves all database related activities in a spool file.Then the spool file is run for taking hot backup. But at one stage it is giving an error.
Please find my hot backup script as below:
... (2 Replies)
Discussion started by: dwiravi
2 Replies
3. Shell Programming and Scripting
Hi,
I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram
I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies
4. UNIX for Dummies Questions & Answers
I have an Oracle concurrent program that I'm passing a parameter to a unix shell script. An example value of the Oracle parameter is PO_TOP. The Oracle parameter represents the unix env var PO_TOP, meaning, on the unix side there is env var called PO_TOP (ex value: /oradev/apps/po/11.0.3/). My... (7 Replies)
Discussion started by: Mark_Wright
7 Replies
5. Shell Programming and Scripting
Hi Experts,
I am passing current month & day (i.e. 'Jul 21') from script aaa.ksh to zzz.ksh. The value 'Mon DD' is being used in zzz.ksh.
Problem: If I pass 'Mon DD' value manually to zzz.ksh i.e.
/test/zzz.ksh 'Jul 21'
it works fine. However, if I pass value from aaa.ksh, it does... (2 Replies)
Discussion started by: dipeshvshah
2 Replies
6. AIX
I would like to run a compress script on files in certain directories.
My compress_script.sh is just basically
compress file*
In order for me to use this I have to copy it into each directory and run it.
How can I state the directory on the command line with the compress script so it... (2 Replies)
Discussion started by: NycUnxer
2 Replies
7. Shell Programming and Scripting
Hi
I have two shell script, the second script takes as a parameter the output variable of the first script, please how to retrieve the variable from the first script to pass as a parameter to the second script?
Script1.sh
i=0
i=$(($i + 1))
Script2.sh
echo $1
Thank you (0 Replies)
Discussion started by: chercheur111
0 Replies
8. Post Here to Contact Site Administrators and Moderators
Variable I have in my shell script
diff=$1$2.diff
id=$2
new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk -F'~' ''$2 == "$id"' {print $0}' > $new
I could see value of $id is not passing to the awk... (0 Replies)
Discussion started by: Ashunayak
0 Replies
9. UNIX for Dummies Questions & Answers
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff |... (1 Reply)
Discussion started by: Sarita Behera
1 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I have researched and tried many way to pass OUT parameter to be stored in variable in KSH Script.Still not success, please help.
Here is my Store Procedure.
create procedure testout3(v_in varchar2,v_out OUT integer)
as
begin
v_out := 1;
end;
Here is my testvout.ksh
#!/bin/ksh... (1 Reply)
Discussion started by: palita2601
1 Replies
LEARN ABOUT DEBIAN
etsf_io
ETSF_IO(1) User Commands ETSF_IO(1)
NAME
etsf_io - manual page for etsf_io
SYNOPSIS
etsf_io [-h | -a action] [[-i file]...] [[-f flag]...]
DESCRIPTION
[-o file] [arguments]
Handle ETSF files, see --action option.
-h --help : show this little help.
-a --action value : give the action to perform.
Possible action may be: * 'merge' to gather several files that have been splitted.
* 'content' to get the name of specifications the file matches.
* 'check' to check the validity of the file against specifications.
-o --output-file file : give the path to the output ETSF file.
-i --input-file file : give the path for an input file. This option can be used one or several times.
-l --list : when action is check, it give the list of available flags.q
-f --flag value : give a flag name (get valid names from -l option).
Examples:
Merge three files, etsf_io -a merge -i file1.nc -i file2.nc -i file3.nc -o output.nc
Get the contents of file test.nc, etsf_io -a content test.nc
Get the list of flags for validity checks, etsf_io -a check -l
Checks with two flags, etsf_io -a check -f flag1 -f flag2 test.nc
SEE ALSO
The full documentation for etsf_io is maintained as a Texinfo manual. If the info and etsf_io programs are properly installed at your
site, the command
info etsf_io
should give you access to the complete manual.
etsf_io November 2011 ETSF_IO(1)