12
1
I am using a default installation of FreeBSD, with the C shell (csh).
Suppose I have a command I can run by executing this: /sbin/abc
, but cannot run by executing abc
. How can I set certain path or something that make abc
runnable everywhere?
By the way, for
– Basil Bourque – 2019-07-25T18:35:18.013zsh
syntax, see Adding a new entry to the PATH variable in ZSHhttp://wiki.centos.org/TipsAndTricks/BecomingRoot – Ignacio Vazquez-Abrams – 2010-12-22T07:01:50.383
what shell do you use? setting your path is done slightly differently in bash, csh, sh, tcsh, etc. You can generally run
echo $SHELL
to find out which shell you're using. – Tim – 2010-12-22T07:08:58.747