understanding requirements for execve and setting environment vars
We are having a lot of trouble interpreting our teacher. We asked for clarification and got the following back from him For execve, send it a environment you setup with your exported variables and create a builtin command to spawn a subshell of /bin/bash, that way you can see your exported variables using env. (He is talking about creating our own environment vars here.) Yes create your own. You can start by copying environ when your shell starts and add only exported variables This is related to the following post on Stack Overflow by me (reading this other post will help you understand what