Set .bash_profile


Change bash_profile of mysvc01 user for working efficiency.

$ vi ~/.bash_profile

# .bash_profile

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

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export TEMPDIR=/tmp
export EDITOR=vi

export MARIADB_BASE=/engn001/mysvc01/mariadb-10.0.26

PATH=$PATH:$MARIADB_BASE/bin:.
export PATH

stty erase ^H

PS1="[\[email protected]\h:"'$PWD'"]\n$ "; export PS1

alias mysql='/engn001/mysvc01/mariadb-10.0.26/bin/mysql -S /engn001/mysvc01/MARIASVC/mysqld.sock  -uroot -p'

results matching ""

    No results matching ""