cutThis command will cut columns or fields from a file and display them or make them available to move to another file.
Example: cut -f5,7,8 timecard
This example will cut fields 5,7,8 and display them on the screen.
cut -c5,6 timecard > newinfo
This example will take the columns 5,6 and place them in a new file called newinfo.
Options -c list cuts columns -f list cuts fields specified in the list
|