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 bourne shell scripting?
How do we delete all blank lines in a file?
What is shell chemistry?
What can scripts do?
What is eval in shell script?
How do you find out What is your shell?
What is a shell in operating system?
What is gui scripting?
How to check if the previous command was run successfully?
What is bash shell command?
How important is shell scripting?
Is scripting and coding the same thing?
What is the first line in every perl script called?
What is scripting used for?
What is shell and terminal?