Learning shell features [was Re: can't run /sbin commands]

2005-09-16 Thread Alex Zbyslaw
Dave Webster wrote: I'm a happy camper. Thanks for your help. Glad it's working for you again. PS. Is there some good reference to explain shell variables and environment variables, how they're set and their lifetime. Well, there are the manual pages for the shells (tcsh/csh (same thi

Re: can't run /sbin commands

2005-09-15 Thread Dave Webster
Thanks Alex, Looking at my .tcshrc file I saw the shell variable path set as: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin) but the environment variable PATH set as: setenv PATH "{$PATH}:$FORREST_HOME/bin" I removed the ""s and ever

Re: can't run /sbin commands

2005-09-15 Thread Alex Zbyslaw
Dave Webster wrote: When I first installed FreeBSD I was able to run "halt" and "reboot" as su without the full /sbin/reboot command. After adding a new path to PATH, I've been unable to run these commands without specifying the full path. [...] Here is the output of echo $PATH: /sbin:/bin:/

can't run /sbin commands

2005-09-14 Thread Dave Webster
When I first installed FreeBSD I was able to run "halt" and "reboot" as su without the full /sbin/reboot command. After adding a new path to PATH, I've been unable to run these commands without specifying the full path. Recently I tried to install acroread 7.0 and the installation complained I d