in Others retagged by
1,642 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} 
in Others retagged by
1.6k views

1 Answer

3 votes
3 votes
Best answer

Answer : C

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

Reference  : http://www.itforeveryone.co.uk/quiz.php

selected by
Answer:

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