Tiny issue with console. (XFCE 13.37/LXDE 13.37)
When run console, this show
claudio[~]$
but I like, with
su - claudio
like this
claudio@darkstar:~$
In this console I can navigate with mc across directory, I can use "v" alias, like Slackware console.
How can create a shorcut for this type of console? without type the password.
Thanks
Tiny issue with console.
Re: Tiny issue with console.
if i understood well put these in ~/.bashrc
export PS1='\u@\h:\w\$'
export PAGER="most"
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
The line export PS1='\u@\h:\w\$' do what you want.
export PS1='\u@\h:\w\$'
export PAGER="most"
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
The line export PS1='\u@\h:\w\$' do what you want.
Re: Tiny issue with console.
No, this only change the prompt.
Example:
With mc I change directory to root (/), but when exit mc, the current directory still is /home/claudio.
I can't navigate with mc and alias "v" is not setting.
With "su - claudio", I can change the current directory with mc. But I must input the password...
Regards
Example:
With mc I change directory to root (/), but when exit mc, the current directory still is /home/claudio.
I can't navigate with mc and alias "v" is not setting.
With "su - claudio", I can change the current directory with mc. But I must input the password...
Regards
Re: Tiny issue with console.
I don't think you can avoid input the password.