Create ".bash_profile" in the home directory and write the following, if not exist.
vi ~/.bash_profile
In .bash_profile:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Create ".bashrc" in the homedirectory to set prompt, add command line path, and so on. Below is an example of ".bashrc"
if [ "$PS1" ]; then
# enable color support of ls and also add handly aliases
#eval `dircolors`
#alias ls='ls -F --color=auto'
alias ls='ls -FG'
alias ll='ls -l'
alias la='ls -A'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
# set a fancy prompt
PS1='\u@\h:\w\$ '
fi
To add a command search path, add the following (for instance) to ~/.bashrc
export PATH=${PATH}:${HOME}/qe-6.1.0/bin:${HOME}/qe-6.1.0/PW/tools
and type
source ~/.bashrc
to make the change.
vmstat cat /proc/cpuinfo cat /proc/meminfo