LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-13-2007, 07:01 PM   #1
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Rep: Reputation: 15
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.
 
Old 03-13-2007, 07:15 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
 
Old 03-13-2007, 07:19 PM   #3
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Original Poster
Rep: Reputation: 15
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!
 
Old 03-13-2007, 07:42 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
 
Old 03-14-2007, 10:18 PM   #5
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 03-20-2007, 10:41 AM   #6
Mehuge
LQ Newbie
 
Registered: Dec 2005
Posts: 22

Rep: Reputation: 15
From man ksh:-

/etc/profile read to set up system environment
$HOME/.profile read to set up user's custom environment
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
script in korn shell disruptive Programming 15 02-22-2007 11:18 AM
korn shell ( ksh ) lechuga Puppy 3 02-05-2007 10:43 PM
installing korn shell Synric Slackware 3 09-10-2006 09:57 AM
Using a Korn shell in rc scripts desbyleo Solaris / OpenSolaris 3 11-12-2004 06:27 PM
install korn shell namgor Linux - Newbie 1 07-12-2004 03:52 PM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration