II.2
echo "ps -elf | grep '\]$'" > cmds
echo "ps -elf | fgrep ]" >> cmds
echo "ps -elf | awk '\$13==\"?\"{print \$4,\$3,\$15}'" >> cmds