2012年8月23日木曜日

3.4.2.4 Command search path

Why you should care about path?
  1. Once you have read the later chapter of this book and  you try writing your own shell program, you will want to test them and eventually set aside a directory for them.
  2. Your system may be set up so that certain restricted commands' executable files are kept in directories that are not listed in PATH
Add directory to PATH:put this line to .bash_profile
PATH=$PATH":/home/you/bin/"

0 件のコメント:

コメントを投稿