HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
SUPERUSER
su -
cbkadal@cbkadal:~$ su -
Password:
root@cbkadal:~#
- (Optional) Disable “Bracketed Paste”
bind 'set enable-bracketed-paste off'
echo 'set enable-bracketed-paste off' > $HOME/.inputrc
- .bash_profile
cat > ~/.bash_profile << "EOF"
# Files .bash_profile
# If cores = 2; j=2
export MAKEFLAGS='-j2'
export EDITOR=/usr/bin/vi
export HISTSIZE=2000
export HISTFILESIZE=2000
export LFS=/mnt/lfs
export PS1='\u:\w\$ '
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
EOF
echo "syntax off" > .vimrc
source ~/.bash_profile
(RESULT)
root@cbkadal:~# cat > ~/.bash_profile << "EOF"
> # Files .bash_profile
> # If cores = 2
> export MAKEFLAGS='-j2'
> export EDITOR=/usr/bin/vi
> export HISTSIZE=2000
> export HISTFILESIZE=2000
> export LFS=/mnt/lfs
> export PS1='\u:\w\$ '
> if [ -f ~/.bash_aliases ]; then
> . ~/.bash_aliases
> fi
> EOF
root@cbkadal:~# echo "syntax off" > .vimrc
root@cbkadal:~# source ~/.bash_profile
root:~#