Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-15-2003, 09:16 PM   #1
LQ Newbie
Registered: Jan 2003
Location: NY
Distribution: Fedora Core 4
Posts: 6

Rep: Reputation: 0
RedHat 8.0 and ksh

Hi all, i apologize if this is in the wrong area but I couldnt find an asnwer or similar problem like it (sort of). Anyway, I have redhat 8.0 and downloaded and set up the korn shell (/bin/ksh). When I startup with an init run level of 3 (text mode), everything works just as you would hope (/etc/profile -> ~/.profile -> ~/.kshrc. But what has me ripping my hair out is if I do a lever 5 runlevel (auto GUI logon, kdm I think), everything goes out the door. neither my .profile or my .kshrc get sourced. Does anyone have any idea what to do inorder to make the environment files get sourced with the kdm? Please, any help would be greatky appreciated.
Old 01-16-2003, 10:01 PM   #2
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
On the off chance your comment that you "downloaded and setup" ksh is the issue I'll just point out that ksh is included in RedHat 8 already.

# rpm -qf /bin/ksh

There's the package name. Perhaps it will react differently?
Old 01-16-2003, 10:42 PM   #3
LQ Newbie
Registered: Jan 2003
Location: NY
Distribution: Fedora Core 4
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for taking the time out to reply. I didnt realize that it was included with the distro. However, i like to use as few rpms as possible. I figured out a quick (hopefully its all it takes) workaround to source the environment files. I just edited the line that executes the konsole to read konsole -ls
Everything seems ok now. Hopefully nothing else will pop up.
Thanks again.


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
ksh and while loops pdc Linux - Newbie 2 10-29-2005 05:13 PM
The ksh command Gins Linux - General 10 11-20-2004 07:56 PM
KSH script AquamaN Programming 2 12-08-2003 12:34 PM
Installation of ksh after Redhat Install ?? linuxRules Linux - General 2 11-06-2002 03:27 PM
some ksh scripting nabil Programming 1 03-03-2002 11:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 AM.

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