03-22-2010
Yes something similar.Thanks for your help.
I will try and see if this works for me.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (2 Replies)
Discussion started by: hodges
2 Replies
2. Shell Programming and Scripting
Hi
Need guidance on including code to mail a couple of files atached with some subject and mail body !!..
Thanks in advance (3 Replies)
Discussion started by: rosh0623
3 Replies
3. Shell Programming and Scripting
Hi friend,:)
The script should invoke these scripts sequentially!
When one will finish the second will start.
Please help me with it,
thanks,:b:
Ishai (3 Replies)
Discussion started by: ishai82
3 Replies
4. Shell Programming and Scripting
hi all,
i have a ksh script which is meant to send an email with an attachment. i use the following command to send email
/usr/bin/uuencode $logFn $logFn | /usr/bin/mail -s "restoration results" $EMAILTO;
where '$logFn' is the name of the file including the full path e.g... (0 Replies)
Discussion started by: cesarNZ
0 Replies
5. Shell Programming and Scripting
Hi i created a unix script ksh that goes to a specific folder/xyz/abc, searches for all the .txt files in it and perform some operation
on these text file. It runs well in Unix server(machine)
Now this script needs to be run on a windows machine having the same folder structure(that is look... (1 Reply)
Discussion started by: mad_man12
1 Replies
6. Shell Programming and Scripting
hi i have a script called test.sh. the content is ls >> crontest.txt.
if i run manually it's giving output.but if i scheduled in crontab it's not giving output.
crontab entry:
02 * * * * /sms5/SMSHOME/eds_sh/test.sh >> /sms5/SMSHOME/eds_sh/testfile/logfile 2>&1
I am using ksh.is there... (2 Replies)
Discussion started by: muraliinfy04
2 Replies
7. Shell Programming and Scripting
i ran the below in ksh...
nohup <script> &
it is runnign in background.
now how do i see if the above command is success...
i also need to bring the command to foreground and view the run details.
pls advise how to do that... (1 Reply)
Discussion started by: billpeter3010
1 Replies
8. Shell Programming and Scripting
Hi All,
I have few bash shell scripts which depends on one Ksh shell script. When i run bash shell scripts, it shows error as bad interpretor : ksh no such bad file or directory.
When i tried to install ksh shell, it is not downloading too.
If I remove !/bin/ksh command in starting line of the... (14 Replies)
Discussion started by: Karthik03
14 Replies
9. UNIX for Dummies Questions & Answers
I've K shell script. It will transfer the files from one server to other server using 'SCP' command. While running the script alone as a command line in UNIX ssh terminal its running with out asking password and files are transferred with out asking for password. But by running the script using... (6 Replies)
Discussion started by: maheshbabu
6 Replies
10. Shell Programming and Scripting
How to run multiple Queries in a ksh Script
I have a KSH script that has one SQL Query and generates and emails output of the query in HTML format. I want to change the script so that it has three SQL queries and the last query generates and emails the HTML output page of just that query.
So far... (5 Replies)
Discussion started by: JolietJake
5 Replies
times(1) User Commands times(1)
NAME
times - shell built-in function to report time usages of the current shell
SYNOPSIS
sh
times
ksh
times
DESCRIPTION
sh
Print the accumulated user and system times for processes run from the shell.
ksh
Print the accumulated user and system times for the shell and for processes run from the shell.
On this man page, ksh(1) commands that are preceded by one or two * (asterisks) are treated specially in the following ways:
1. Variable assignment lists preceding the command remain in effect when the command completes.
2. I/O redirections are processed after variable assignments.
3. Errors cause a script that contains them to abort.
4. Words, following a command preceded by ** that are in the format of a variable assignment, are expanded with the same rules as a vari-
able assignment. This means that tilde substitution is performed after the = sign and word splitting and file name generation are not
performed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
ksh(1), sh(1), time(1), attributes(5)
SunOS 5.10 15 Apr 1994 times(1)