D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
Filename :
profile
back
Copy
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). # $Id: profile,v 1.16 2005/09/28 22:07:49 jason Exp $ PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games" if [ "$BASH" ]; then PS1='\u@\h:\w\$ ' else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi # Now that bash supports Maildir... MAIL=~/Maildir/ export PATH PS1 MAIL umask 022 if [[ $USER == 'root' ]] ; then PATH="$PATH:/usr/sbin:/sbin" ulimit -Hu unlimited ulimit -Hn 10000 -Sn 10000 ulimit -Hf unlimited ulimit -Hc unlimited ulimit -Sc 100500 fi ## read http://www.faqs.org/faqs/unix-faq/shell/bash/ section E9 for details on why I did this - Jeremy export LC_COLLATE=C if [[ $USER == 'root' ]] ; then export GEM_HOME=/usr/lib/ruby/gems/1.8 else export GEM_HOME=$HOME/.gems fi export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" export PATH=$HOME/.gems/bin:/usr/lib/ruby/gems/1.8/bin/:$PATH alias chef-client="echo 'this machine is controlled by ansible now, no longer managed with chef'"