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 are shells born?

976


Write down the syntax of "for " loop

1112


How to find duplicate record in file using shell script?

1414


Write a shell script to get current date, time, user name and current working directory.

1101


Can you write a script to portray how set –x works?

1007


What are the four fundamental components of every file system on linux?

1686


How to open a read-only file in the shell?

1135


How to print pid of the current shell?

1005


Explain about login shell?

1129


How do I start a shell script?

1220


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

1235


What is shell and shell script?

1125


What's the difference between scripting and coding?

1196


How will you connect to a database server from linux?

1055


How do I edit a .sh file?

1152