[cs615asa] hw3 invocations

Vincent vlipoma at stevens.edu
Sun Mar 25 20:02:47 EDT 2012


Ah, sorry about sending this to the entire list. And thanks for the answer.

On 3/25/2012 8:00 PM, Rob Williams wrote:
> Vince,
>
> Simply providing the shebang line (#!/bin/bash or #!/usr/bin/python,
> for example) and doing a chmod +x on the script will allow it to run
> as an executable, assuming it is in your PATH.
>
> Rob
>
> On Sun, Mar 25, 2012 at 7:58 PM, Vincent<vlipoma at stevens.edu>  wrote:
>> Sorry for the inconvenience,
>>
>> The start instance command is invoked by "sh ec2-start-instance.sh -a" for
>> the default AMI and "sh ec2-start-instance -a [ami]" for a specific ami. I
>> re-read the man page and now I see the -a option was supposed to be
>> optional. Running start instance as "sh ec2-start-instance.sh" will print a
>> usage statement (as well as specifying a -h).
>>
>> ec2-backup is run by invoking "python ec2-backup.py -d [dir]" or "python
>> ec2-backup.py -t backup -m rsync -d /"
>>
>>  From what you describe you want the commands to run without using the
>> keywords python and sh. Without a compiled binary, how can someone do this?
>>
>> Also, I realize I sent you a pdf file with my comments on the project. Would
>> you prefer a plain text file?
>>
>> Sorry again,
>> -Vincent
>>
>>
>>
>>
>>
>> On 3/24/2012 5:51 PM, Jan Schaumann wrote:
>>> Hello,
>>>
>>> The manual page suggested that your program should work exactly like
>>> this:
>>>
>>>         ec2-start-instance -a ami-19a34270
>>>
>>> and
>>>
>>>         ec2-backup -d .
>>>
>>> or
>>>
>>>         ec2-backup -t backup -m rsync -d /
>>>
>>> If your command does not in fact work like that, please help me grade
>>> your submissions and send me an email that contains the exact command(s)
>>> you used to invoke your tool to backup a given directory and to start an
>>> instance.
>>>
>>> Thank you,
>>> -Jan
>>> _______________________________________________
>>> cs615asa mailing list
>>> cs615asa at lists.stevens.edu
>>> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>>
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa



More information about the cs615asa mailing list