Open Source Software and Linux:

korn shell

1

February 6, 2009  2:49 PM

Solaris 10, ksh and root



Posted by: Xjlittle
/root, /sbin/sh, bourne shell, default shell, korn shell, ksh, solaris 10

Like many people I have the question of, on Solaris 10, can I set the default root shell to ksh. After some study and research apparently it is ok to do this. The default shell for root is /sbin/sh. For those of us that use Linux this is not a symlink to bash but a static binary of the Bourne...

January 25, 2009  1:22 AM

Using the Korn Shell with Linux



Posted by: Xjlittle
bash, korn shell, Linux, scripting, unix

My current consulting gig requires that I use the Korn Shell and modify Unix scripts so that they will work with Linux. While the Korn Shell has many comparable characteristics of BASH there are some distinct differences-or at least ones that I've never seen in BASH. The first difference that I...


January 24, 2009  8:01 PM

Setting script variables using the if..then statement



Posted by: Xjlittle
bash, if..then, korn shell, ksh, Linux, unix, variable

Recently I found myself wanting to set some variables in a script that I was writing using the if..then statement. I am using the Korn shell but this is bash compatible. I wanted to do this as the variable command changed depending on if the script was running on Linux, HP-UX or AIX. This...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: