#Detect if in SCP if [ -z "$PS1" ]; then return fi # Greeting echo -e "\n\e[1;31mWelcome master. You are logged on \e[0m\n" uname -a echo "" date echo "" # User specific aliases and functions # PS1="[\u@\h:\W, \@, \d]> " #custom prompt options # PS1="[\[\033[32m\]\w]\[\033[0m\]\n\[\033[1;36m\]\u\[\033[1;33m\]-> \[\033[0m\]" PS1="02:\w> " alias dir='ls -Flg | more' alias h='history' alias cp='cp -i' # don't overwrite existing files without ok alias mv='mv -i' # don't overwrite existing files without ok alias rm='rm -i' # don't overwrite existing files without ok alias ls='ls --color=auto -F' alias ll='ls -l' prompt='%B<%m:%3.>%b$ ' function lc () { cd $1; ls } # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi function cd { builtin cd "$@" && ls -F } # To set up the Oracle environment for your shell account CLASSPATH=.:/usr/lib/oracle/23/client64 CLASSPATH=$CLASSPATH:/usr/lib/oracle/23/client64/lib/ojdbc8.jar CLASSPATH=$CLASSPATH:/usr/lib/oracle/23/client64/lib/ottclasses.zip export CLASSPATH