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 is the conditional statement in shell scripting?
What is .sh file in mac?
What are script files?
What is another name for a bash shell script that you might see?
How to find all the files modified in less than 3 days and save the record in a text file?
is this growing field and what is average package in this?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
What is @echo off?
What is shell scripting?
How do I run a script on mac?
State the advantages of shell scripting?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
How to print the first array element?
What is awk script?
Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.