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 shell is bin sh?
What are the 3 standard streams in linux?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
is this growing field and what is average package in this?
Explain about gui scripting?
What is in a script?
What is the difference between scripting and coding?
What is the use of "$#" in shell scripting?
What is path variable bash?
how to get part of string variable with echo command only?
How do I run a .sh file on mac?
What does the sh command do?
What are the different types of variables used in shell script?
Is shell script a programming language?
How do you debug a script?