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 the different types of variables used in shell script?

985


What are scripts in psychology?

988


How do I stop script errors?

1041


What are the different variables present in linux shell?

1042


What are the two files of crontab command?

1141


What is web script?

1030


Is scripting and coding the same thing?

933


What is the purpose of scripting?

1005


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

929


What is eval in shell script?

1161


What is a file basename?

994


What does it mean to debug a script?

993


What is awk in shell script?

1172


How to get the last line from a file using just the terminal?

1148


How to get the first line from a file using just the terminal?

1054