26.06.2015 Views

Unix/Linux

Unix/Linux

Unix/Linux

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

for/do/donedd<br />

Shellddd forddddd Cddddddddddddddddd<br />

d foreachdddddd<br />

✞<br />

#! /bin/sh<br />

for FRUIT in apple banana pear; do<br />

echo ”I like $FRUIT”<br />

done<br />

✡✝<br />

ddddddnode1dnode100dddddd<br />

✞<br />

#! /bin/sh<br />

for i in $(seq 1 100)<br />

do<br />

done<br />

✡✝<br />

ssh node$i hostname<br />

✆<br />

✆<br />

ddd (ddddddd) <strong>Unix</strong>/<strong>Linux</strong>dddddddd 2009d12d 129 / 173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!