Changing from the Bourne shell to C-shell

Changing from the Bourne shell to C-shell

Post by D Parso » Sat, 23 Apr 1994 01:57:55



I am using bash. How do I change to the tcsh shell? Thanks. Don

--
Donald F. Parsons MD, Wadsworth Ctr. Rm C273, NY State Dept of Health, ESP,
PO Box 509, Albany, NY 12201-0509. (518)474-7047 Fax: (518)474-7992


 
 
 

Changing from the Bourne shell to C-shell

Post by Zenon Fortu » Sat, 23 Apr 1994 06:59:40




>I am using bash. How do I change to the tcsh shell? Thanks. Don

>--
>Donald F. Parsons MD, Wadsworth Ctr. Rm C273, NY State Dept of Health, ESP,

1. You can use the chsh(1) utility (see `man chsh` for details)
2. ... or, edit the /etc/passwd and in the line with your login-name
   change "bash" to "tcsh"

        Zenon

 
 
 

Changing from the Bourne shell to C-shell

Post by Heiko Goll » Sun, 24 Apr 1994 02:38:14


: I am using bash. How do I change to the tcsh shell? Thanks. Don

: --
: Donald F. Parsons MD, Wadsworth Ctr. Rm C273, NY State Dept of Health, ESP,
: PO Box 509, Albany, NY 12201-0509. (518)474-7047 Fax: (518)474-7992


--
It depends on what you want to change:
1.) if you want to change your login shell then you have to use
    chsh /path_where_your_tcsh_is/tcsh
2.) but if you only want to execute the tcsh in your current session you
    only have to use
    exec /path_where_your_tcsh_is/tcsh

Hope that helps.
 ___________________________________________________________________________
/                                                                         / \

\_________________________________________________________________________\_/

 
 
 

Changing from the Bourne shell to C-shell

Post by Mark Lo » Sun, 24 Apr 1994 03:05:03





>>I am using bash. How do I change to the tcsh shell? Thanks. Don

>>--
>>Donald F. Parsons MD, Wadsworth Ctr. Rm C273, NY State Dept of Health, ESP,

>1. You can use the chsh(1) utility (see `man chsh` for details)
>2. ... or, edit the /etc/passwd and in the line with your login-name
>   change "bash" to "tcsh"

And don't forget to add /bin/tcsh to /etc/shells  (if it is missing from there).
--

 
 
 

Changing from the Bourne shell to C-shell

Post by Grant Edwar » Sun, 24 Apr 1994 06:24:21


: And don't forget to add /bin/tcsh to /etc/shells (if it is missing
: from there).

I've always wondered the reason for the existance of /etc/shells.  Why
does the system care what you run for a shell?  Is there some security
issue?  If I want to "chsh $HOME/myShellProgram" it's not going to
hurt anybody else is it?  Or for that matter, "chsh /bin/date" isn't
going to hurt the system either...

I always thought that the philosophy of Unix was to try to keep you
from doing stupid things that hurt others, but if you want to hang
yourself, go right ahead.

--
Grant Edwards                                 |Yow!  I see TOILET SEATS...
Rosemount Inc.                                |
                                              |

 
 
 

1. Changing from the Bourne shell to C-shell

 >>>I am using bash. How do I change to the tcsh shell? Thanks. Don
 > [...]
 >>1. You can use the chsh(1) utility (see `man chsh` for details)
 >>2. ... or, edit the /etc/passwd and in the line with your login-name
 >>   change "bash" to "tcsh"

 > And don't forget to add /bin/tcsh to /etc/shells  (if it is
 > missing from there).

And if one's using Slackware don't forget to remove the "/bin/ash"-entry in
/etc/ shells which is not there.

Better: check all entries.

bye,
    Peter


2. Newbie: internet connection via unix platform

3. Bourne Shell vs C-Shell

4. Process Memory-Size

5. Process history under C-shell and Bourne shell

6. UNIX and SQL

7. Light Speed Bourne Shell! (was: Bourne shell tricks)

8. HELP! WHERE CAN I GET PC/Xem 16 ports digiboard driver?set seen

9. Bourne Shell compatible shells (was: Request: which shells)

10. executing ftp within Bourne or c-shell

11. Debugger for Bourne- or C-Shell scripts on SCO 3.2v4?

12. ?Debugger for Bourne- or C-Shell scripts on SCO 3.2v4?

13. =?UNKNOWN-8BIT?Q?=9BDebugger?= for Bourne- or C-Shell scripts on SCO 3.2v4?