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
How do you debug a script?
What are the 3 standard streams in linux?
Explain how you Automate your application using Shell scripting.
Is shell a scripting language?
How many fields are present in a crontab file and what does each field specify?
Why is the use of shell script?
What is path variable bash?
How do I run a .sh file?
What is the command to find out users on the system?
What is the first line of a shell script called?
How do I open a jshell in cmd?
How can you find out how long the system has been running?
What is @echo off?
What happens on a system call?
How do I debug a shell script?