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
State the advantages of shell scripting?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
What is shell and shell script?
Explain about debugging?
What are the various stages of a linux process it passes through?
what is tickets $ what low,medium,high priorite pls define time also
How do I run a shell script on a mac?
What is option in shell script?
How to write a function?
What is the command to find out users on the system?
What is shell prompt?
What makes c shell a more preferable option than the bourne shell?
How do I open the shell prompt?
What is batch file programming?