Hi,
I'm new to unix scripting.How can i call a script from another script.
I have a.ksh and b.ksh .I have to call b.ksh from a.ksh after it is successfully exceuted.
I tried using
#!/bin/ksh -x in a.ksh and at the end i have used /path/b.ksh
My problem is it is executing only a.ksh.it... (6 Replies)
I normally trace a script with the ksh -x <script name> and redirect strderr to file. But if you have a script like the examble below......
vi hairy
bear=`grep bear animals`
if
then
ksh more_animals
fi
If I ksh -x hairy it won't trace "more_animals" unless I put a -x in it. Is... (1 Reply)
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
Hi,
I need some help with the Ksh scripting....
I have a Script call Mail.ksh which calls Crank.ksh which calls Readdates.ksh whoch calls mindiff.ksh
the output of mindiff.ksh and Readdates.ksh are wirtten to a text file...
Here is how each file is called or executed...
./Mail.ksh 30... (3 Replies)
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Hi ,
What is the diffence between executing the script like
./myscript.ksh
. ./myscript.ksh
I have found 2 difference but could not find the reason
1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
I'm getting different behaviour when executing below script in debug option.
$ cat ss.ksh
ff=$(pwd)
echo " ff : $ff"
$ ksh ss.ksh
ff : /tmp
$ ksh -x ss.ksh
+ + pwd
ff=
+ echo ff :
ff :
I was getting this behaviour in my actuall script i'm able to reproduce this in simple script... (4 Replies)
I have the following file:
one two three four
man women
yes no place togo
bad sleep
I need to move all lines that have only two words(columns) in a separate file and the rest in a separate file...
I used :
for $linecont in $(cat $filename); do
echo $linecont > temp
line1='cat... (7 Replies)
Hi Dears
kindly I am new here ...I want to ask your help ...
I want to write AWK command when enter date like 20140129 plus 9 then it gives me 20140207 I wrote below but the result was wrong
#!/bin/ksh
echo "please input the data:"
read a
if echo $a|awk '{if... (15 Replies)
Discussion started by: shaho87
15 Replies
LEARN ABOUT SUSE
httpcfg
Mono(httpcfg) Mono(httpcfg)
NAME
httpcfg - Mono Certificate Management for HttpListener
SYNOPSIS
httpcfg [options] certificate
DESCRIPTION
This tool is used to manage the certificates used by the HttpListener embeddable server class when the HttpListener is configured as an
HTTPS server instead of an HTTP server.
You must select one of the possible actions: add, delete or list.
When adding a certificate (-add), you must provide the following information: a certificate (with the -cert flag) a Private Key file (with
the -pvk argument, the filename is typically "key") and a port number (with the -port flag).
When deleting a certificate (-del or -delete) you need to provide the port number.
PARAMETERS -add Adds a new certificate/private key combination for being used at a given port by the HttpListener API.
-del, -delete
Deletes the certificates associated for the port specified (must be specified separatedly).
-list List all known certificates.
-port PORT
Specifies the port to add certificates to, or remove certificates from.
-pvk FILE
Specifies the Private Key file.
-cert CERT
Specifies the certificate file to use.
EXAMPLES
httpcfg -add -port 8081 -pvk myfile.pvk -cert MyCert
For more details on creating the certificate file and the private key, see the following web page:
http://www.mono-project.com/UsingClientCertificatesWithXSP
FILES
The certificates are stored in the ~/.mono/httplistener directory
AUTHOR
httpcfg was written by Gonzalo Paniagua.
COPYRIGHT
Copyright (C) 2006 Novell.
MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details.
WEB SITE
Visit http://www.mono-project.com for details
SEE ALSO makecert(1), signcode(1), cert2spc(1)
The private key format:
http://www.drh-consultancy.demon.co.uk/pvk.html
Mono(httpcfg)