[cs615asa] HW5 & HW6

Tianpei Luo tluo4 at stevens.edu
Wed Mar 29 18:03:26 EDT 2017


Hi,
I have some problem with HW5. When I want to sort the input file to get the
unique objects for the first question, it show no space for sorting(only
400mb space left for micro type) Is there any good choice for this question
or just using m1.small for a large space?

Tesla

On Mon, Mar 27, 2017 at 11:10 PM, Wenyou Huang <whuang12 at stevens.edu> wrote:

> got it!
>
> On Mon, Mar 27, 2017 at 10:24 PM, Jan Schaumann <jschauma at stevens.edu>
> wrote:
>
>> Here are the links to the homework assignments:
>> https://www.cs.stevens.edu/~jschauma/615/s17-hw5.html
>>
>> https://www.cs.stevens.edu/~jschauma/615/s17-hw6.html
>>
>> For HW6, the group determination was done using an illustration of the
>> use of the common unix tools:
>>
>> Given a directory containing files named after all enrolled students, we
>> calculate the sha256 hash of the user, sort the output alphanumerically
>> by hash, then group two results each:
>>
>> $ for u in *; do
>> > sum=$(echo $u | openssl dgst -sha256)
>> > echo "$sum $u"
>> > done | sort | awk '{print $NF};!(NR%2){ print ""; }'
>> efitzpa1
>> aliang
>>
>> yli142
>> jwu29
>>
>> tluo4
>> cwang60
>>
>> lhe16
>> mwilson3
>>
>> exia
>> txie4
>>
>> batkinso
>> snunes
>>
>> tyang8
>> jdolisca
>>
>> szhong2
>> xbai6
>>
>> ffei1
>> whuang12
>>
>> hzhang52
>> yjiang23
>>
>>
>> Please make sure to get in touch with your partner.
>>
>> -Jan
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/mailman/listinfo/cs615asa
>>
>
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20170329/6690128f/attachment.html>


More information about the cs615asa mailing list