---
type: link
tags: [public, command, linux, terminal, awk]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:55.980Z
---# 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:** public, command, linux, terminal, awk
