Where Online Learning is simpler!



$ whatis cut

cut cut (1) - remove sections from each line of files

cut cut (1) - cut out selected fields of each line of a file

Examples:


  1. echo 'This is a test.' | cut -c1-7
  2. echo "This is a test" | cut -c1-15
  3. ls -li *.html | cut -c1-
  4. ls -li *.html
  5. ls -li *.html | cut -c1- | cut -d'.' -f2

Please click on " man cut " to see the Manual Page for this command.


Previous Home Page Next



Contact us     |      About us     |      Term of use      |      Copyright © 2000-2025 MyWebUniversity.com ™