What is the output of the following command? for token in a b c; do echo -n ${token}; done
A. anbncn
B. abc
C. $token$token$token
D. {a}{b}{c}
E. a b c
One Comment on “What is the output of the following command?”
fesays:
vagrant@ubuntu:~$ for token in a b c; do
> echo -n ${token}
> done
abc
vagrant@ubuntu:~$ for token in a b c; do echo -n ${token}; done
abc
vagrant@ubuntu:~$
vagrant@ubuntu:~$ for token in a b c; do
> echo -n ${token}
> done
abc
vagrant@ubuntu:~$ for token in a b c; do echo -n ${token}; done
abc
vagrant@ubuntu:~$
0
0