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
What are "c" and "b" permission fields of a file?
What is shell chemistry?
Can we run shell script in windows?
What is an sh file?
What is bash coding?
What is bash shell command?
How to print all the arguments provided to the script?
Given a file find the count of lines containing the word "abc".
How do I debug a shell script?
How can the contents of a file inside jar be read without extracting in a shell script?
What makes c shell a more preferable option than the bourne shell?
State the advantages of shell scripting?
Why is used in shell scripting?
Explain about "s" permission bit in a file?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.