Discussion:
Can bash save its state to a file?
(too old to reply)
Pavel
2004-01-04 14:20:19 UTC
Permalink
Hello.
Can I tell to "bash" to save its state, setted earlier with commands
like "PATH=$PATH:.....", to a file or whatever else?
Ross Axe
2004-01-04 23:43:38 UTC
Permalink
Post by Pavel
Hello.
Can I tell to "bash" to save its state, setted earlier with commands
like "PATH=$PATH:.....", to a file or whatever else?
Could do something like 'set > ~/save-env' to save and then 'source
~/save-env' to restore. Not sure if it's necessarily a good idea though.

Ross

Loading...