Re: A Shell Question

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

 



On Mon, Jan 09, 2006 at 09:53:48AM -0500, Tom Callahan wrote:
> you have the right idea. As far as getting your profile to load
> correctly after executing tcsh...either run "source /etc/profile" or ".
> /homedir/.tcshprofile" note the space after the period.

Also, do "exec tcsh -l" instead of running it from the CLI; this will
replace your shell process with tcsh, instead of running it as a child,
and tell it that it's a login shell, so it should do normal startup
processing.

> I guess you could create a wrapper of sorts to act as your
> shell, and depening on the returned $HOSTNAME variable launch the
> appropriate shell....not sure if this would work though.

You could check how you're logging in--e.g., on 'pts' or somesuch--or you
could just have the login script *ask* if you want to switch to tcsh.
--
	Dave Ihnat
	ignatz@xxxxxxxxxx

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux