export

From WebHostingNeeds.com
Jump to: navigation, search

Set vi as default editor

export VISUAL=vi


Changing Command Prompt

export PS1="\[email protected]\h:\w [\T] # "


Change Language

export LANG=en_US.UTF-8


Custom History File for current session

This is good for tech support, so all your commands get logged in a different file.

export HISTFILE=~/.bash_history.issueX
export HISTFILESIZE=100000