First page Back Continue Last page Overview

 

cut

 
  • Display specific columns of file data

    • $ cut -f4 results.dat
    • -f specifies field or column
    • -d specifies field delimiter (default is TAB)
      • $ cut -f3 -d: /etc/passwd
    • -c cuts by characters
      • $ cut -c2-5 /usr/share/dict/words