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 shell is bin sh?

920


What are the 3 standard streams in linux?

1070


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

1035


is this growing field and what is average package in this?

2260


Explain about gui scripting?

1053


What is in a script?

965


What is the difference between scripting and coding?

988


What is the use of "$#" in shell scripting?

1008


What is path variable bash?

1007


how to get part of string variable with echo command only?

987


How do I run a .sh file on mac?

1109


What does the sh command do?

1039


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

1002


Is shell script a programming language?

987


How do you debug a script?

1019