09-14-2010
Thanks for the info; would you happen to know of any way to force it to behave the same way as if the user logged in? Right now I have to guess at the files to explicitly source in to "fool it". Thanks again
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey all,
Just wanted to get some input on a script I am using to import files into a MySQL database.
The process is pretty simple: my main server exports these files and FTPs them. I have a script that FTPs them to the machine running that runs this script. The FTP script runs without issue... (2 Replies)
Discussion started by: billtwild
2 Replies
2. Shell Programming and Scripting
I have a simple csh-script on a Solaris Workstaion which invokes the bc calculator:
#!/bin/csh
set shz=2
set zshift=5
set shzp=`bc -l <<END \
scale = 3 \
-1. * $shz + $zshift \
END`
echo $shzp
The result ($shzp) in this case is 3 (-1*2+5). It works fine on Solaris 8.
... (2 Replies)
Discussion started by: two reelers
2 Replies
3. Windows & DOS: Issues & Discussions
Hi,
I have an awk script which performs simple operations of variable assignments and finally printing the variables in custom form.
BEGIN {FS=OFS="\n"}
{
v1=substr($0,1,15)
v2=substr($0,16,200)
v3=substr($0,216,20)
print v1 "|" v2 "|" v3
}
The input file being processed... (2 Replies)
Discussion started by: vidyak
2 Replies
4. Shell Programming and Scripting
Hi,
I was using mpack to send mails using cronjob with attachments. It was working perfect. But recently it's behaving strangely. Its sending the mails without any error message but the mail is not getting delivered.
The code I was using:
/usr/local/bin/mpack -s "$SUBJECT" -d $MSGBODY... (0 Replies)
Discussion started by: itesh.dash
0 Replies
5. AIX
$cat /tmp/tuxob.lst
udi *****
jim 10
ant 19
ibm *****
$ input=`head -1 /tmp/tuxob.lst | awk '{print $NF}'`
$ echo $input
The output I am expecting is '*****'. But It is showing me the available files of current directory. When I run the command
head -1 /tmp/tuxob.lst | awk '{print $NF} ... (3 Replies)
Discussion started by: panchpan
3 Replies
6. Shell Programming and Scripting
Hi have a script which transferers from Microsoft server to Linux box.
The scripts(ksh) is on Linux box.
If I run script from terminal, it transfers files to directory. Where as If
I run script from CRON. It does not.
Here is the log of both:
Terminal execution log:... (2 Replies)
Discussion started by: dipeshvshah
2 Replies
7. Shell Programming and Scripting
Hi,
i have script called script.ksh
script.ksh
---------
echo "Narayana" >$HOME/script.log
echo "$0" |sed 's/.ksh//' >>$HOME/script.log
My question is:
--------------
when iam executing on the prompt it is giving good results what we have expected...
example on the prompt:... (4 Replies)
Discussion started by: lnviyyapu
4 Replies
8. Linux
Hi,
I have a question on web servers and network switches.
Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra.
Regards
Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies
9. Shell Programming and Scripting
Here is my test script:
#!/bin/sh
result=`jobs`
echo "
Jobs:
"$result
result=`ls`
echo "
LS
"$result
Here is the output:
Jobs:
LS
0 1 2 3 4 5 6 7 gcd initialize.sh #inter_round_clean.sh# inter_round_clean.sh inter_round_clean.sh~ look parallel_first_run.sh... (3 Replies)
Discussion started by: nealh
3 Replies
10. UNIX for Beginners Questions & Answers
Our application fails to run successfully on Solaris 11. The same works fine in Solaris 10.
Due to which we are unable to migrate to Solaris 11. The app basically involves forking a child process, which finally connects with parent process. But on Solaris 11, it is unable to connect with parent... (0 Replies)
Discussion started by: wini008
0 Replies
OPTION(1) User Commands OPTION(1)
NAME
option - manual page for option --version not recognized
SYNOPSIS
kidc [OPTIONS] [file...]
DESCRIPTION
Compile kid templates into Python byte-code (.pyc) files.
OPTIONS:
-f, --force
Force compilation even if .pyc file already exists.
-s, --source
Generate .py source files along with .pyc files. This is sometimes useful for debugging.
-d, --strip-dest-dir <destdir>
Strips the supplied path from the beginning of source filenames stored for error messages in the generated .pyc files
Files list may have files and/or directories. If a directory is specified, all .kid files found in the directory and any sub-directories
are compiled.
Usage: kidc [OPTIONS] [file...] Compile kid templates into Python byte-code (.pyc) files.
OPTIONS:
-f, --force
Force compilation even if .pyc file already exists.
-s, --source
Generate .py source files along with .pyc files. This is sometimes useful for debugging.
-d, --strip-dest-dir <destdir>
Strips the supplied path from the beginning of source filenames stored for error messages in the generated .pyc files
Files list may have files and/or directories. If a directory is specified, all .kid files found in the directory and any sub-directories
are compiled.
SEE ALSO
The full documentation for option is maintained as a Texinfo manual. If the info and option programs are properly installed at your site,
the command
info option
should give you access to the complete manual.
option --version not recognized November 2005 OPTION(1)