test file for notes functionality.

Simple for loop:

for x in a b c; do echo $x;done

the same loop with xargs:

# back up of existing .tmp files
ls -a | grep .tmp | xargs -I@ cp @ @.bak

Commands can be sent via ssh:

ssh $host -- date # for quick one-liners

Heredocs are useful to send more involved commands over ssh:

# trivial commands for sake of example
ssh $host << 'EOF'
    for i in $(seq 1 10); do
        mkdir -p /tmp/tmp_$1
    done
    # check to see they all exist
    ls tmp_*
EOF