Many thanks for the help. Is this .bashprofile right?
I can execute commands in their respective directories e.g.
/sbin/shutdown -h 1 whilst pwd = /sbin but not execute it elsewhere using shutdown -h 1. I should be able to shouldn't I?
Or am I being stupid?
.bashprofile
if [-f ~/.bshrc];then
.~/bashrc
fi
PATH=$PATH:$HOME/sbin/:/bin:/usr/local/bin:/etc
env=$HOME/.bashrc
USERNAME= "root"
EXPORT USERNAME ENV PATH
MESG N
Thanks everyone,
idiotboy
I can execute commands in their respective directories e.g.
/sbin/shutdown -h 1 whilst pwd = /sbin but not execute it elsewhere using shutdown -h 1. I should be able to shouldn't I?
Or am I being stupid?
.bashprofile
if [-f ~/.bshrc];then
.~/bashrc
fi
PATH=$PATH:$HOME/sbin/:/bin:/usr/local/bin:/etc
env=$HOME/.bashrc
USERNAME= "root"
EXPORT USERNAME ENV PATH
MESG N
Thanks everyone,
idiotboy