PrepAway - Latest Free Exam Questions & Answers

2 Comments on “What is the output of the following command sequence?

    1. fe says:

      ignore, we need to understand the cmd …
      E is correct if

      vagrant@ubuntu-xenial:~$ for token in a b c; do echo -n “$token”; done
      abc
      vagrant@ubuntu-xenial:~$

      without -n option

      vagrant@ubuntu-xenial:~$ for token in a b c;
      > do echo “$token”
      > done
      a
      b
      c

      and
      vagrant@ubuntu-xenial:~$ token=”a b c”
      vagrant@ubuntu-xenial:~$ echo $token
      a b c
      vagrant@ubuntu-xenial:~$




      0



      0

Leave a Reply