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
What is option in shell script?
What is the use of echo in shell script?
How does shell scripting work?
When should shell programming/scripting not be used?
What is the default ubuntu terminal?
What are filters explain sort with all the options available?
State the advantages of shell scripting?
How do you know which shell I am using?
I have 2 files and I want to print the records which are common to both.
What is a shell made of?
Please give me example of " at command , contrab command " how to use
Where are cowrie shells found?
How are shells born?
How can you get the value of pi till a 100 decimal places?
Which scripting language is best for automation?