title: How to set Home and Path directories in C?
body: <p>I am programming a small unix shell written in c. I want it to do only some basic commands for now. e.g. ls, pwd, ch</p>
  
  <p>My problem is how do I set the Home directory and Path directory? I want to read the configuration from a text file so it can be easily changed whenever. </p>
  
  <p>I am going to be using execv() to call unix functions such as ls. For example PATH
  should determine the directories my shell should use to search for executable programs
  when the user types a command </p>
  
  <p>Thanks</p>