|
| ||||||||||
| Tags: korn shell, linux, operating system, problem, redhat, shell programming, version |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Ksh version problem under Redhat
I have RHEL 4 (Red Hat Enterprise Linux 4), installed on two machines. On one of this (machine 1), I made an installation "basic", i.e I have not used the extra CD. On the other (machine 2) I used this CD, which I found KSH, so I installed that. But surprise, I found myself with KSH on both (I want), but especially with two different versions of KSH. If I could identify version KSH, AC I would have fewer problems, but this is not the case: In the man ksh, it is clear that KSH set an environment variable, KSH_VERSION. Now on the machine 2, this variable is not present when I am in ksh. Is there a way to know what is the shell used in a given terminal? Any help on this is appreciated. Thanks in advance. |
|
#2
| |||
| |||
| Re: Ksh version problem under Redhat
Hello, I think you have not installed the korn shell properly during the installation, that is why you are getting such an error, with a little luck, ksh is installed via an rpm Here is the command to install it, if you have not installed it properly then you can try installing again Code: rpm-qa | grep ksh |
|
#3
| |||
| |||
| Re: Ksh version problem under Redhat
Hello, This is what you should get when you do the man command in the terminal. The man may be for ksh (RHE3): Code: VERSION This page documents version @ (#) PD KSH v5.4.14 8/04/14.2 public domain korn shell. |
|
#4
| |||
| |||
| Re: Ksh version problem under Redhat
Hello It gives something: Machine 1: Code: pdksh-5.2.14-30 Code: ksh-20040229-12 |
|
#5
| |||
| |||
| Re: Ksh version problem under Redhat
Hello, Just try the following commands Code: Which ksh Code: ls-al [will display all] |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Ksh version problem under Redhat" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| career in REDHAT LINUX | ankitkjais | Education Career and Job Discussions | 1 | 23-04-2011 07:45 AM |
| RedHat installation / boot problem | Trini Alvarado | Operating Systems | 4 | 05-04-2010 06:05 PM |
| RedHat Screen resolution problem | Captain Carrot | Operating Systems | 4 | 05-04-2010 04:05 PM |
| What is gconf.xml file in redhat? | ReD-GuY-ReD-HaT | Operating Systems | 3 | 03-08-2009 06:35 PM |
| free redhat downloads | Clay Aiken | Operating Systems | 3 | 29-06-2009 07:48 PM |