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
...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10028421.html
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=$!),...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10165991.html
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
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10194948.html
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"...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10625302.html
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 ...
http://www.experts-exchange.com/OS/Linux/Q_12047079.html
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...
http://www.experts-exchange.com/OS/Unix/Q_20140984.html
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...
http://www.experts-exchange.com/Programming/Languages/C/Q_20336027.html
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 )?
http://www.experts-exchange.com/Programming/Misc/Q_20382549.html
Zones:
ProgrammingDate Answered: 05/11/2003 Grade: A Views: 0
How would I do this using ksh,
I'm completely lost
thanks,
http://www.experts-exchange.com/OS/Unix/Q_20406061.html
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...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_20561553.html