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

What are "c" and "b" permission fields of a file?

1009


What is shell chemistry?

953


Can we run shell script in windows?

1113


What is an sh file?

920


What is bash coding?

907


What is bash shell command?

991


How to print all the arguments provided to the script?

939


Given a file find the count of lines containing the word "abc".

1536


How do I debug a shell script?

1056


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

1111


What makes c shell a more preferable option than the bourne shell?

955


State the advantages of shell scripting?

1034


Why is used in shell scripting?

975


Explain about "s" permission bit in a file?

1040


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

2648