You are not logged in.
I just did a fresh install of Arch this morning, the commands were working earlier but now if I issue them I just get the 'command not found' error. Google gives me nothing of note and the only other post I could find on the forum relating to it (https://bbs.archlinux.org/viewtopic.php?id=48286) doesn't seem to do anything for me. Anyone got any ideas?
Last edited by Bonner (2010-12-22 15:18:26)
Offline
did you remove any package from the system or anything?
Try to do a system update and see if it rectifies it.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
did you remove any package from the system or anything?
Try to do a system update and see if it rectifies it.
No, I can't remember removing anything and there's nothing to do when I issue a system update.
Offline
Is /sbin in your path?
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Is /sbin in your path?
Bingo! You got it. For some reason it wasn't there, i've added it and now the commands work. Cheers man!
Offline
No worries.
It *should* be being set in /etc/profile -so I'd check that that's being processed at login, and it's in the PATH setting there, and you don't overwrite PATH in in one of the subsequent settings files.
Of course, if you're not using bash, then check the relevant other files.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Is /sbin in your path?
I have this same problem. In what file would I specify this path?
Offline
On my system, this is done in /etc/profile.
# /etc/profile
#Set our umask
umask 022
# Set our default path
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export PATH
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r $profile && . $profile
done
unset profile
fi
# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH
Offline