---
type: link
tags: [command, linux, terminal, awk]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T10:59:38.731597+00:00
---# Print lines with a specific field length.

**URL:** [https://www.gnu.org/software/gawk/manual/gawk.html](https://www.gnu.org/software/gawk/manual/gawk.html)

awk | Print lines with a specific field length. awk 'length($2) > 5' file.txt


---
**Keywords:** command, linux, terminal, awk
