[sllug-members]: Environment/Path help

Jeff Schroeder jeff at zingstudios.com
Tue Dec 12 11:06:52 MST 2006


Ron asked:

> I ssh into systems as a non-root user and then su.
> How can I easily "source" my root environment?

In bash, just use the dot:

# . ~ron/.bashrc

In csh, I believe it's actually 'source':

# source ~ron/.cshrc

I haven't used tsh or zsh so I can't speak to those. :)

HTH,
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://sllug.org/pipermail/sllug-members/attachments/20061212/8d760de3/attachment.pgp


More information about the sllug-members mailing list