You could also use an array, e.g.
Code:
#!/bin/sh
cmd1=(ls -l /home/me/ > /home/me/outfile)
${cmd1[*]}
This ${cmd1[*]} is slightly cumbersome, since bash only expands the first element given $cmd1. I use zsh, which expands $cmd1 to the entire array, which is a little more convenient.