Top "Ksh" questions

The KornShell is an open source, POSIX-compatible shell language from AT&T based upon the original Bourne shell.

What does if [[ $? -ne 0 ]]; mean in .ksh

I have a following piece of code that says if everything is executed mail a person if it fails mail …

linux bash unix ksh
How do you use ssh in a shell script?

When I try to use an ssh command in a shell script, the command just sits there. Do you have …

bash shell ssh ksh rsh
Convert a text string in bash to array

How do i convert a string like this in BASH to an array in bash! I have a string str …

linux bash shell unix ksh
How to read just a single character in shell script

I want similar option like getche() in C. How can I read just a single character input from command line? …

linux shell io ksh
How to export multiple variables with same value in ksh?

I want to set the following variables to the same value in one single line Example: export A=B=C=20 …

shell unix ksh
How to check for empty string in ksh

I am writing a simple ksh script. I have to check if a string is empty or not. How to …

ksh
How to autocomplete at the KornShell command line with the vi editor

In the KornShell (ksh) on AIX UNIX Version 5.3 with the editor mode set to vi using: set -o vi What …

unix shell vi ksh aix
Unix cp argument list too long

I am using AIX. When I try to copy all the file in a folder to another folder with the …

unix ksh aix
Return value from a Java code

There is a Java class which creates a POST request and sends it to a servlet. The main method of …

java shell unix scripting ksh
How do I print a field from a pipe-separated file?

I have a file with fields separated by pipe characters and I want to print only the second field. This …

bash unix shell awk ksh