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 is shell terminal?
What does the sh command do?
What are different types of shell?
How do I run a .sh file?
what is info area how many types?
How to print pid of the current shell?
How do I debug a shell script?
What is sh in shell script?
How do scripts work?
What is eval in shell script?
How to calculate the number of passed arguments?
Why do we use shell scripting?
What language is shell scripting?
What are the different types of variables used in shell script?
What is shell scripting used for?