First: I have a vast fund of ignorance, of which Unix shells are only a small part. Perhaps I may want to change my Linux shell to ksh. I noticed that ksh (well, pdksh) is on the SuSE 6.3 distro. (In fact, I had already installed it.) In Yast, under System administration/User administration, one can choose the shell for users. But, ksh is not in the list of login shells, even though it is on my system. I spent some time digging though various configuration files and am clueless. Is it possible to make ksh my login shell? If so, how would I go about it? TIA -- Kenneth R. Kellum -- San Jose State University A scientific random survey demonstrating the value of a university education: Linus Torvalds: Has a degree. Bill Gates: Does not. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
To change your shell use the chsh command. The available shells are listed in /etc/shells. If ksh is not there, edit it and run the command. The file /etc/passwd lists what login shell you are using. -- Rafael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Thanks very much. ksh does work, but I noticed two things: I don't have a ~/.kshrc file and the up-down arrow keys don't scroll though previous commands. I don't think I can live without the latter. The reason I'm looking at this is that at home I run SuSE 6.3, but at work RedHat 6.1 networked to a Solaris box. My choices at work appear to be tsch and ksh. tsch seems to lack the functionality of bash/ksh. I was thinking that I'd rather not deal with two shells, but bash and ksh do seem to be very similar, so maybe that won't be a problem. On Mon, 24 Jan 2000, Rafael E. Herrera wrote:
To change your shell use the chsh command. The available shells are listed in /etc/shells. If ksh is not there, edit it and run the command.
The file /etc/passwd lists what login shell you are using.
-- Rafael
-- Kenneth R. Kellum -- San Jose State University A scientific random survey demonstrating the value of a university education: Linus Torvalds: Has a degree. Bill Gates: Does not. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Never mind. I answered my own question. All I had to do was put export EDITOR=emacs in ~/.profile On Tue, 25 Jan 2000, Kenneth Kellum wrote:
Thanks very much.
ksh does work, but I noticed two things: I don't have a ~/.kshrc file and the up-down arrow keys don't scroll though previous commands. I don't think I can live without the latter.
The reason I'm looking at this is that at home I run SuSE 6.3, but at work RedHat 6.1 networked to a Solaris box. My choices at work appear to be tsch and ksh. tsch seems to lack the functionality of bash/ksh. I was thinking that I'd rather not deal with two shells, but bash and ksh do seem to be very similar, so maybe that won't be a problem.
On Mon, 24 Jan 2000, Rafael E. Herrera wrote:
To change your shell use the chsh command. The available shells are listed in /etc/shells. If ksh is not there, edit it and run the command.
The file /etc/passwd lists what login shell you are using.
-- Rafael -- Kenneth R. Kellum -- San Jose State University
A scientific random survey demonstrating the value of a university education:
Linus Torvalds: Has a degree. Bill Gates: Does not.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Kenneth R. Kellum -- San Jose State University A scientific random survey demonstrating the value of a university education: Linus Torvalds: Has a degree. Bill Gates: Does not. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I think you just need to specify it in /etc/passwd. Kenneth Kellum wrote:
First: I have a vast fund of ignorance, of which Unix shells are only a small part.
Perhaps I may want to change my Linux shell to ksh. I noticed that ksh (well, pdksh) is on the SuSE 6.3 distro. (In fact, I had already installed it.)
In Yast, under System administration/User administration, one can choose the shell for users. But, ksh is not in the list of login shells, even though it is on my system.
I spent some time digging though various configuration files and am clueless.
Is it possible to make ksh my login shell? If so, how would I go about it?
TIA
-- Kenneth R. Kellum -- San Jose State University
A scientific random survey demonstrating the value of a university education:
Linus Torvalds: Has a degree. Bill Gates: Does not.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Michael H. Collins http://www.linuxlink.com 512-442-3151 512-656-9508 The Ultimate WM http://www.xfce.org Fun with the Austin Linux group http://www.austinlug.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi.
At 21:20 on 24 Jan 00, Kenneth Kellum begun to yabber about "[SLE]
Shells"
Date sent: Mon, 24 Jan 2000 21:20:51 -0800
From: Kenneth Kellum
Is it possible to make ksh my login shell? If so, how would I go about it?
Look in the shell field of /etc/passwd.. That is where the statement should be :) Cya Matthew Matthew King: Sys Admin, Quakers Hill High School. My ICQ#: 2342475 Message me! Cellular Phone: +61 415 257 516 E-Mail: noodle@penguinpowered.com Homepage: http://www.penguinpowered.com/~noodle/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d+ s: a--- C++++ UL++++ P+ L+++ E---- W++ N++ o++ K w O- M- V- PS+ PE Y+ PGP- t+ 5++++ X++ R+ tv++ b+++ DI+++++ D++ G+++ e* h* r++ y+ ------END GEEK CODE BLOCK------ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
kkellum@pacbell.net
-
mhtexcollins@austin.rr.com
-
noodle@penguinpowered.com
-
raffo@neuronet.pitt.edu