profile 513 B

1234567891011121314151617
  1. export PATH=/bin:/sbin:/usr/bin:/usr/sbin
  2. export TERM=linux
  3. export EDITOR=/bin/vi
  4. if [[ $(id -u) = 0 ]]; then
  5. export PS1='`whoami`@`hostname`:`pwd` # '
  6. else
  7. export PS1='`whoami`@`hostname`:`pwd` $ '
  8. fi
  9. cat /etc/banner 2>&-
  10. [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
  11. [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
  12. [ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 "$@"; }
  13. alias l='ls -lF'
  14. alias la='ls -A'
  15. alias ll='ls -alF'
  16. alias ro='mount -o remount,ro /'
  17. alias rw='mount -o remount,rw /'