It is currently Tue, 30 Nov 2021 18:16:09 GMT



 
Author Message
 Changing from the Bourne shell to C-shell
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
UseNet: df...@csc.albany.edu; Internet: df...@uacsc2.albany.edu
Moderator: hspne...@albnydh2.bitnet (Consulting by hospital Networks)



 Tue, 08 Oct 1996 00:57:55 GMT   
 Changing from the Bourne shell to C-shell
In article <1994Apr21.165755.25...@sarah.albany.edu>,

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



 Tue, 08 Oct 1996 05:59:40 GMT   
 Changing from the Bourne shell to C-shell
: 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
: UseNet: df...@csc.albany.edu; Internet: df...@uacsc2.albany.edu
: Moderator: hspne...@albnydh2.bitnet (Consulting by hospital Networks)

--
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.
 ___________________________________________________________________________
/                                                                         / \
| h...@saftsack.fs.uni-bayreuth.de                                         | |
\_________________________________________________________________________\_/



 Wed, 09 Oct 1996 01:38:14 GMT   
 Changing from the Bourne shell to C-shell

And don't forget to add /bin/tcsh to /etc/shells  (if it is missing from there).
--
ml...@bnr.ca     Mark Lord       BNR Ottawa,Canada       613-763-7482



 Wed, 09 Oct 1996 02:05:03 GMT   
 Changing from the Bourne shell to C-shell

: 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.                                |
                                              |
gra...@rosemount.com                          |



 Wed, 09 Oct 1996 05:24:21 GMT   
 
   [ 5 post ] 

Similar Threads

1. Changing from the Bourne shell to C-shell

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

3. running bourne shell script from cshell

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

5. BUG IN BOURNE SHELL AND/OR CSHELL ??

6. getting environment variables from c shell using Bourne shell

7. Bourne Shell vs C-Shell

8. Process history under C-shell and Bourne shell

9. Bourne shell script to determine users shell


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software