LINUX ADMIN - JIBIN
Tuesday, August 2, 2011
cut command
I have a large text file (its a log file actually) and I need to truncate each line to about 16 characters.
cut -c1-16 /path/to/filename > /path/to/output_filename
output_filename will contain the result.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment