CUT Command

 Cut commands work on columns .

$ cut -c1-25 data.txt             // c- character 1- 25 is printed out
Name    Phone   Email   City
firstman    9800909000  f
Sreejith        7898980090      sree
Sreejith        7898980090      sree
Sreejith        7898980090      sree
Sreejith        7898980090      sree
Sreejith        7898980090      sree
Sreejith        7898980090      sree
Sreejith        7898980090      sree


Comments

Popular posts from this blog

GREP Command

AWK : Commands

SED : SED (Stream Editor) - Interview Question