1 2 3 4 5 6 7 8
export PATH=/bin:/usr/bin:$PATH mkdir $out mkdir $out/bin echo "#! $shell" > $out/bin/$progName echo "echo $name" >> $out/bin/$progName chmod +x $out/bin/$progName