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
How do I debug a shell script?
What is shell terminal?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
How do I edit a .sh file?
Can we run shell script in windows?
What will happen to my current process when I execute a command using exec?
Explain about non-login shell files?
How can we find the process name from its process id?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What is shell and shell script?
What happens on a system call?
What does $$ mean in shell script?
What are the 3 standard streams in linux?
Where are cowrie shells found?
What does $1 mean in bash?