Enter Keywords:
1 - 10 of 369(0 seconds)
Sort By:
 
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 Rating: 7.2 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 Rating: 8.2 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 Rating: 7.8 Views: 0
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 Rating: 8.0 Views: 50
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: Unix OSDate Answered: 06/26/2001 Rating: 7.8 Views: 0
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 Rating: 9.4 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 Rating: 9.2 Views: 0
How would I do this using ksh, I'm completely lost thanks,
Zones: Unix OSDate Answered: 11/26/2002 Rating: 6.2 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 Rating: 7.0 Views: 0
Hi all, I would like to create a script that automatic clear all the files inside a folder. I'm using ksh on AIX 5.1. Thank you very much.
Zones: Unix Systems ProgrammingDate Answered: 07/01/2003 Rating: 7.6 Views: 0