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 command to find out users on the system?
What is another name for a bash shell script that you might see?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is shell and terminal?
What language is bash?
What are the four fundamental components of every file system on linux?
Explain about sourcing commands?
How do I run a script on mac?
What is the equivalent of a file shortcut that we have a window on a linux system?
What is the purpose of scripting?
Why is a script important?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What is shell company all about?
What command needs to be used to take the backup?
What are the 3 standard streams in linux?