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

What is shell terminal?

968


What does the sh command do?

1088


What are different types of shell?

933


How do I run a .sh file?

1027


what is info area how many types?

2777


How to print pid of the current shell?

1004


How do I debug a shell script?

1078


What is sh in shell script?

1034


How do scripts work?

1049


What is eval in shell script?

1264


How to calculate the number of passed arguments?

1108


Why do we use shell scripting?

1003


What language is shell scripting?

1035


What are the different types of variables used in shell script?

1094


What is shell scripting used for?

1006