retagged by
1,933 views
0 votes
0 votes

Which of the following commands will output “onetwothree” ?

  1. for val; do echo-n $val; done < one two three
  2. for one two three; do echo-n-; done
  3. for n in one two three; do echo-n $n; done
  4. for n in one two three {echo –n $ n} 
retagged by

1 Answer

Answer:

Related questions

0 votes
0 votes
1 answer
1
makhdoom ghaya asked Jul 10, 2016
1,561 views
Match the following with reference to Unix shell scripts $:$$\begin{array}{clcl} & \textbf{List – I} & & \textbf{List – II} \\ \text{a.} & \text{\$?} & \text{i.} & ...
3 votes
3 votes
1 answer
2