Skip to content

Commit

Permalink
Added solution to sudo changes PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Stenqvist committed Jun 15, 2009
1 parent 30c05d0 commit 30f6543
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ My notes on setting up a simple production server with ubuntu, nginx, passenger

Aliases
-------

echo "alias ll='ls -l'" >> ~/.bash_aliases

echo "alias ll='ls -l'" >> ~/.bash_aliases

edit .bashrc and uncomment the loadig of .bash_aliases

If you have trouble with PATH that changes when doing sudo, see http://stackoverflow.com/questions/257616/sudo-changes-path-why then add the following line to the same file

alias sudo='sudo env PATH=$PATH'


Update and upgrade the system
-------------------------------

Expand Down

0 comments on commit 30f6543

Please sign in to comment.