Advertisement

1 - 10 of 329 containing alltags:("KSH") (0 seconds)
Can you answer "The KSH Puzzler"? The folowing script produces a strange result from what is expected. i=0 until   [ $i -gt 3001 ]     do       i=`expr $i + 1`       if [[ $i < 3 ]]; then        ...
Zones: Unix Systems ProgrammingDate Answered: 11/12/1997 Grade: B Views: 0
I have a ksh (#! /bin/ksh) script that gives me a busy indicator called busydot.  I call this as a background task from a shell script (#! /bin/sh) and grab the process ID (busydot& busydotpid=$!),...
Zones: Unix Systems ProgrammingDate Answered: 06/01/1999 Grade: A Views: 0
I tried to do automate "su" by ksh coprocess, but it doesnot work. Anything wrong? #!/bin/ksh su  sz325584 |& print -p "zxx1026\n" Thanks. Sean
Zones: Unix Systems ProgrammingDate Answered: 02/25/2002 Grade: A Views: 4
How do you write a function in ksh and pass it a parameter?  I have guessed something like this but haven't had success: #function my_function(ARG) { echo $ARG } #mainline my_function("TEST"...
Zones: Unix Systems ProgrammingDate Answered: 07/07/2000 Grade: A Views: 56
Hey everyone I recently installed Mandrake 7.2 and like usual they don't come with the korn shell. I think the ksh on my floppy is just a basic version of the ksh. I would like to mount the ksh on ...
Zones: Linux, Mandrake Linux, RPM InstallerDate Answered: 10/03/2003 Grade: A Views: 0
Hi all, Now I can use ksh from csh but I face another issues : - when I enter !! it raises ksh: !!: not found - when I want to reexecute a command under ksh e.g. : ! nn, it have : ksh: 114: no...
Zones: UnixDate Answered: 06/26/2001 Grade: B Views: 5
Hi,    Can someone help convert the below ksh script to C program which does the same thing? thanks in advance #!/bin/ksh ps -ef|grep -v grep|grep inetd > /dev/null 2>&1 if [ $? -eq 0...
Zones: CDate Answered: 08/13/2002 Grade: A Views: 0
Can you tell me if any of the shells ( csh, ksh ) on unix have command length limit  or used to have? ( Like line too long )?
Zones: ProgrammingDate Answered: 05/11/2003 Grade: A Views: 0
How would I do this using ksh, I'm completely lost thanks,
Zones: UnixDate Answered: 11/26/2002 Grade: A Views: 0
I think, this suppose to be very easy in UNIX but i just can't get it to work...I've written a korn shell script that compress(zips) the file...but i only want to compress the file, when the file i...
Zones: Unix Systems ProgrammingDate Answered: 03/25/2003 Grade: C Views: 0