[Wylug-help] Backing up to remote host - using keychain for passwords
Anne Wilson
cannewilson at googlemail.com
Wed Mar 2 13:35:32 UTC 2011
On Wednesday 02 March 2011 12:37:20 Smylers wrote:
> > (BTW - can I force this to be read again after making a change, without
> > logging out?)
>
> Yes. The clue is in the last line of your .bash_profile quoted above,
> which loads your .bashrc, using the source command. It works from the
> shell prompt too:
>
> $ source .bash_profile
>
> Much less intuitively, the source command can be abbreviated to a single
> full stop, so this does the same thing with less typing:
>
> $ . .bash_profile
>
> Note that source simply runs the commands in the file; it doesn't
> 'unrun' any previous commands. That means adding or changing something
> in .bash_profile then source-ing it usually does what you want, but
> after deleting something generally won't (because the command will have
> been run previously, and simply not running it won't reverse that!), so
> in some cases logging out and back in again is still the simplest thing
> to do.
>
> Hope that helps on this small aside, and good luck with solving your
> main problem.
Thanks. That helps a lot.
Anne
--
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20110302/0006b7e4/attachment.pgp>
More information about the Wylug-help
mailing list