---
type: link
tags: [command, linux, terminal, awk]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T11:02:14.569166+00:00
---# Print specific columns from a file.

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

awk | Print specific columns from a file. awk '{print $1, $3}' file.txt


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