LINUX cut command and examples | LINUX Interview Q&A 2

Video is ready, Click Here to View ×


This tutorial explains CUT command for Linux/Unix Operating System in minutes. It explains CUT command with 12 amazing examples. This is most common interview question asked both for fresher and experienced. It’s a complete tutorial for CUT command.

CUT commands explained in this video are:

1.Print characters by position
1.1 How to extract the column of characters from given position in each line
1.2 How to extract the column of characters from all given positions in each line
1.3 How to…

1 Comment

  1. CUT commands explained in this video are:

    1.Print characters by position
    1.1 How to extract the column of characters from given position in each line
    1.2 How to extract the column of characters from all given positions in each line
    1.3 How to extract the column of characters from given range in each line
    1.4 How to extract the characters from beginning of each line
    1.5 How to extract the characters from given position to end of each line

    2.Print the fields using the delimiter
    2.1 How to extract the given field in each line
    2.2 How to extract more than one fields by specifying the positions in each line
    2.3 How to extract range of fields by specifying the start and end position in each line
    2.4 How to extract range of fields from 1st position to specified end position in each line
    2.5 How to extract range of fields from specified position to last field in each line

    3.Extract the portion after and before the delimiter or special characters
    3.1 How to extract the fields before the dot (.) delimiter in each line and return other records as it is
    3.2 How to extract the field after the asterisk (*) delimiter in each line and return other records as it is

Leave a Reply

Your email address will not be published.


*