Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the default Shell from bash to csh & Aliases file.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

taalebi at ai.mit.edu writes:

> 1. How can I make the C-Shell the default shell instead?
>    I can change my shell manually by typing "csh" in each "bash" session
>    but I would like to make this change permanent.

    chsh -s /bin/tcsh taalebi

> 2. I have a set of aliases for long command lines which I like ot have
>    them automatically sourced when I login.
>    Currently I manually do it from a bash shell by running:
> 	csh
> 	source <myAliasesFile>
> 
>    What should I call this file and where should I put it in order to
>    have it automatically sourced in bash and/or csh shells?
>    I have tried .aliases but it did not work!

For tcsh, you can either put them directly in your .cshrc, or you can 
source them from your .cshrc:

    source ~/.aliases


- --
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.6 02/09/2003

iQCVAwUBPlsZxVV9A5rVx7XZAQJF7AQA2bJM5JtGDdf0B2KRBzWUaxgJXzgnretU
Rvfsniq3vEu6bAohSA0J+4fKhC0fxOqD2HlTlgVGAt5ApAEzsi6bz90Kjnd42Wyj
X+DHEUa1fH0xLis8d5DIjFWo1zDrX6vxr92eXTUl4x2aWZfPQp/gUr0mqY+EQKS1
RuaeFVQ2n6c=
=tCuK
-----END PGP SIGNATURE-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org