Grab a section of each line

Linux

To grab say, the 161-169 characters of a file use cut.

hostname:$ cut -b1-161 --complement filename | cut -b1-8

Comments powered by Disqus

Copyright 2010. All Rights Reserved.