If you have a string "one two three", which shell command
would you use to extract the strings?
Answer Posted / seshadri sethi
echo $string | cut -d” ” -f1
echo $string | cut -d” ” -f2
echo $string | cut -d” ” -f3
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are types of shells?
Explain about the exit command?
When should shell programming/scripting not be used?
What is shell variable?
What is sudo command?
Is shell scripting a programming language?
What does egrep mean?
How do I stop script errors?
How to debug the problems encountered in the shell script/program?
What is bash command used for?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
What are zombie processes?
What is shell scripting used for?
Explain about stdin, stdout and stderr?
What is echo $shell?