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...

What is use of "cut" command?

Answer Posted / swaroopa

cut is used to get a specific data from a file. Supppose
you want to get a data in a file from column 10 to 20, you
can get it by using cut

eg: cat filename.txt | cut -c 10-20
eg: cut -c10-20 <filename.txt>

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I send a mail with a compressed file as an attachment?

1075


What is a beat in a script?

1138


What is option in shell script?

1060


How would you compare the strings in a shell script?

1031


What is computer cli?

952


What is echo in shell?

1156


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

1141


Is shell a scripting language?

1062


State the advantages of shell scripting?

1099


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

997


Why is a script important?

1107


What is shell environment?

1046


What does $1 mean in bash?

1138


Explain about stdin, stdout and stderr?

1232


What is the syntax of while loop in shell scripting?

1092