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 the different types of variables used in shell script?
What are scripts in psychology?
How do I stop script errors?
What are the different variables present in linux shell?
What are the two files of crontab command?
What is web script?
Is scripting and coding the same thing?
What is the purpose of scripting?
What is a shell? · Types of shell · what is shell scripting?
What is eval in shell script?
What is a file basename?
What does it mean to debug a script?
What is awk in shell script?
How to get the last line from a file using just the terminal?
How to get the first line from a file using just the terminal?