in Others retagged by
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} 
in Others retagged by

1 Answer

3 votes
3 votes
Best answer

Answer : C

for n in one two three ; do echo -n $n ; done

Reference  :

selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true