[cs615asa] Executable files

Jan Schaumann jschauma at stevens.edu
Fri Apr 17 23:14:37 EDT 2020


Ritvik Tiwari <rtiwari2 at stevens.edu> wrote:
 
> Can we assume that the PATH variables are set for
> ~/.local/bin or do we need to handle that as well
> using the make file?

You do not need to worry about the PATH environment
variable, as the command will be invoked without
relying on the PATH:

For example:

$ pwd
/home/jschauma
$ tar xf your-submission.tar
$ cd your-username
$ make
$ ./ec2-backup ../../../../../../../../../home/jschauma/your-username
$ cd /
$ /home/jschauma/your-username/ec2-backup .
$ cd /home/jdoe
$ ../jschauma/your-username/ec2-backup -v vol-123456 ..
$ cd ~/who/knows/where
$ ~/your-username/ec2-backup /tmp

-Jan


More information about the cs615asa mailing list