Add to $PATH how?
Cameron Simpson
cs at zip.com.au
Mon Jun 5 01:55:03 UTC 2006
On 05Jun2006 10:32, I wrote:
| Now, once you do this you have full control of what you run. But also,
| if you put a syntax error in your .profile or .xsession, you can't log in
| using the GUI. So BEFORE you make this change, become adept at escaping
| X11 and getting a text console. Type Ctrl-Alt-F1. That leaves X11 and
| puts you on a text console. You can log in here and fix things up.
| Return to X11 by typing Alt-F7.
|
| With that mechanism available you are ok to hack on this stuff in
| safety.
One other thing: this command:
sh -n some-shell-script
will check the script for syntax correctness without actually running
it. It is very useful as a final check before testing new stuff.
Cheers,
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
But pessimism IS realism! - D.L.Bahr
More information about the users
mailing list