FYI, there is no csh on RedHat (other distro's too?).

[EMAIL PROTECTED] steve]$ ls -l $(which csh)
lrwxrwxrwx    1 root     root            4 Oct  6  2002 /bin/csh -> tcsh

And no bourne shell either:
[EMAIL PROTECTED] steve]$ ls -l $(which sh)
lrwxrwxrwx    1 root     root            4 Oct  6  2002 /bin/sh -> bash

-Steve

-----Original Message-----
From: David Eduardo Gomez Noguera [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: How Switch To CSH Shell in RH?


On Fri, 2003-05-30 at 23:23, Joseph A Nagy Jr wrote:
> David Eduardo Gomez Noguera wrote:
> > your shell is stored in /etc/passwd as the las field.
> > 
> > However, you can change that value by running the command
> > chsh
> > it will ask you for your passwd and then for the full path to the shell
> > executable
> > 
> <snip>
> 
> That's odd, I can just type in "csh" or whatever shell I want and bam, 
> it switches. To get back, I just type exit.
> 
That way you are just running a shell. But with chsh you change your
default shell, for the next session and forevermore, which is what I
think he was asking for, as he said that just typing the commands didnt
do what he expected.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to