All pastes #134690 Raw Edit

Someone

public text v1 · immutable
#134690 ·published 2006-08-16 14:09 UTC
rendered paste body
:~$ cat /etc/profile
#/etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
        . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

umask 022

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[01;37m\]@\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\$ '

c () { echo "$*" | bc -l; }
b () { echo $'obase=2\n'"$*" | bc -l; }
d () { echo $'ibase=2\n'"$*" | bc -l; }

export VISUAL='gedit'
alias dns="nslookup"
alias ?="sudo netstat -tepan | grep ESTABLISHED"
alias update="sudo apt-get update;sudo apt-get dist-upgrade"