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 a batch file used for?
Is shell scripting difficult?
Why are there shells on the beach?
What language is shell scripting?
Explain about login shell?
Tell something about the super block in shell scripting?
What is bash coding?
How does shell scripting work?
What is shell variable?
Is shell script a programming language?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What is the syntax of while loop in shell scripting?
What is shell and terminal?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l