Top "Ksh" questions

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

Difference between korn and bash shell

I am completely new to Unix. Presently, I have been asked to learn about both KornShell (ksh) and Bash shell. …

bash shell unix scripting ksh
changing to parent directory in unix

in general we use cd .. for going to the parent directory cd ../../ to go to the parents parent directory. and …

unix shell command-line ksh
if [ $? -ne 0 ] then syntax error then unexpected

I have been trying to execute the following UNIX shell script which is not working. I am running it by …

unix function if-statement return-value ksh
How do I read a value from user input into a variable

In ksh, how do I prompt a user to enter a value, and load that value into a variable within …

linux unix ksh
Single command to create a file and set its permission

I am using the following 2 commands to create a 0B file and set its extn to 644 touch filename.ext chmod 777 …

shell unix file-permissions ksh
Find all files in a directory that are not directories themselves

I am looking for a way to list all the files in a directory excluding directories themselves, and the files …

bash unix ksh
Using sendmail for HTML body and binary attachment

Objective: To send mail (using sendmail) with HTML body and binary attachment. Followed the guidelines specified in the following links …

shell unix sendmail ksh uuencode
how to check end-of-line of a text file to see if it is unix or dos format?

I need to convert the text file to dos format (ending each line with 0x0d0x0a, rather than 0…

unix dos ksh end-of-line
How do I capture a SQLPlus exit code within a shell script?

I have a KornShell (ksh) script that logins into SQL*Plus and executing a script. Within the shell script I …

shell error-handling scripting sqlplus ksh
Extract list of file names in a zip archive when `unzip -l`

When I do unzip -l zipfilename, I see 1295627 08-22-11 07:10 A.pdf 473980 08-22-11 07:10 B.pdf ... I only want to …

linux unix ksh