Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-13-2007, 07:01 PM
|
#1
|
Member
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56
Rep:
|
Installing Korn Shell in Fedora
Can anyone tell me where I can download a korn shell package to install in Fedora 6? Since I'm a newbie to Linux, any installation instructions, advice, tips, etc. would also be GREATLY appreciated.
Peter V.
|
|
|
03-13-2007, 07:15 PM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
ksh - The Original ATT Korn Shell
I would just use the package manager called yum to install it.
Code:
as root user ( su - )
yum install ksh
|
|
|
03-13-2007, 07:19 PM
|
#3
|
Member
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56
Original Poster
Rep:
|
Homey, that sounds great. (The simpler the better.) One question, how do I set the OS to use ksh as the default instead of bash?
Thanks for the info!
|
|
|
03-13-2007, 07:42 PM
|
#4
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Originally, my /etc/passwd looks like this
Code:
fred:x:500:500::/home/fred:/bin/bash
You may have good success by changing it to something like this
Code:
fred:x:500:500::/home/fred:/bin/ksh
You might also check out this page toward the bottom.
http://aplawrence.com/Unixart/ksh.html
|
|
|
03-14-2007, 10:18 PM
|
#5
|
Member
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56
Original Poster
Rep:
|
Homey, thanks for the info and the link. I also found out that the command chsh will change the login shell, as well as the user entry in the passwd file. I'm now looking into how to create the .profile and src files for the Korn shell and where to place them to execute when I login. Again, thanks for your help.
Peter V.
|
|
|
03-20-2007, 10:41 AM
|
#6
|
LQ Newbie
Registered: Dec 2005
Posts: 22
Rep:
|
From man ksh:-
/etc/profile read to set up system environment
$HOME/.profile read to set up user's custom environment
|
|
|
All times are GMT -5. The time now is 09:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|