Category:Bioinformatics
# .bashrc# My first Entryecho ' ============================='echo ' |Welcome to Processing Server|'echo ' ============================='cd /data/rajpwd# Source global definitionsif [ -f /etc/bashrc ]; then . /etc/bashrcfi# ==== RAJ===Enable color support of ls and also add handy aliasesif [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto'fiif [ -f ~/.bash_aliases ]; then . ~/.bash_aliasesfiif [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completionfi# ====== Aliases ============== alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias h='history' alias j='jobs -l' alias which='type -a' alias ..='cd ..' alias du='du -kh' # Makes a more readable output. alias df='df -kTh' # Add colors for filetype and human-readable sizes by default on 'ls': alias ls='ls -h --color' alias lx='ls -lXB' # Sort by extension. alias lk='ls -lSr' # Sort by size, biggest last. alias lt='ls -ltr' # Sort by date, most recent last. alias lc='ls -ltcr' # Sort by/show change time,most recent last. alias lu='ls -ltur' # Sort by/show access time,most recent last. # List alias ll="ls -lhv --group-directories-first" alias lm='ll |more' # Pipe through 'more' alias lr='ll -R' # Recursive ls. alias la='ll -Ah' # Show hidden files. alias l='ls -CF' alias tree='tree -Csuh' # Nice alternative to 'recursive ls' ... # Spelling typos - highly personnal and keyboard-dependent :-) alias xs='cd' alias vf='cd' alias moer='more' alias moew='more' alias kk='ll'#===========END ===============