cut - remove sections from each line of files
cut [OPTION]... [FILE]...
Print selected parts of lines from each FILE to standard output.
Mandatory arguments to long options are mandatory for short options too.
Use one, and only one of -b, -c or -f. Each LIST is made up of one range, or many ranges separated by commas. Each range is one of:
The order of bytes, characters or fields in the output will be identical to those in the input. With no FILE, or when FILE is -, read standard input.
Written by David Ihnat, David MacKenzie, and Jim Meyering.
Report bugs to <bug-coreutils@gnu.org>.
Copyright © 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The full documentation for cut is maintained as a Texinfo manual. If the info and cut programs are properly installed at your site, the command
should give you access to the complete manual.
Given output like
./b/bind9/libisccc0_9.2.4-1ubuntu1_i386.deb ./b/bind9/bind9_9.2.4-1ubuntu1_i386.deb ./b/bind9/libisccfg0_9.2.4-1ubuntu1_i386.deb
To get the filenames, use cut -d "/" -f 4 - this uses / as the delimiter between fields, and gives you the fourth field.
4 pages link to cut(1):