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 / seshadri sethi

Cut - Utility used to cut/Strip out the required data/text
from the source.

Cut can be used in three modes,

Stripping by Character

cut -c 1-3

Striping by Byte length

cut -b -1-72

Stripping by delimiter and fields.

cut -d “|” -f1

Where

-d “|” -> Delimiter used in input text to separate columns

-f1 -> Field/Column number

While processing huge input files, Cut’s performance is far
better than awk

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is option in shell script?

1059


What is the use of echo in shell script?

1060


How does shell scripting work?

1162


When should shell programming/scripting not be used?

1214


What is the default ubuntu terminal?

1182


What are filters explain sort with all the options available?

1406


State the advantages of shell scripting?

1098


How do you know which shell I am using?

1087


I have 2 files and I want to print the records which are common to both.

1205


What is a shell made of?

1000


Please give me example of " at command , contrab command " how to use

2841


Where are cowrie shells found?

1066


How are shells born?

1019


How can you get the value of pi till a 100 decimal places?

1013


Which scripting language is best for automation?

1001