codice:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/sbin/
BASH_ENV=$HOME/.bashrc
USERNAME="root"

export USERNAME BASH_ENV PATH
Questo è il mio file .bash_profile, ho provato ad aggiungere 'BASH' alla fine della riga 'export' ma nn va.
Inoltre avevo aggiunto in precedenza il percorso '/usr/sbin/'
alla variabile 'PATH'