Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to check if the previous command was run successfully?

1086


How do I save a powershell script?

1215


Is shell a part of kernel?

1115


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

1584


How to use arguments in a script?

1160


What are script files?

1069


Where is bash history?

988


What are the different variables present in linux shell?

1160


What does echo mean in scripting?

1052


How does shell scripting work?

1163


Is cmd a shell?

1069


What is shell geeksforgeeks?

1173


How can the contents of a file inside jar be read without extracting in a shell script?

1179


how will you find the total disk space used by a specific user?

1089


Is powershell a language?

1087