man > col3(1)

πŸ“˜ NAME

col1 .. col9, NF β€” awk and print a column (based on the name of the program, 1-9)

πŸš€ Quick Reference

πŸ“Œ Use CaseπŸ’» CommandπŸ“ Description
Print a specific column (1-9)col3Prints the third column of input (default whitespace separator)
Print the last fieldNFPrints the last field of each line
Use a custom separatorcol7 :Prints column 7 using colon as field separator

πŸ“‹ SYNOPSIS

col1 [SEPARATOR]

πŸ“– DESCRIPTION

col1 is a simple script that conveniently splits and prints a given column, where the column to print is the name of the script program you’re running (col1–col9). col2–col9 are symlinks to col1; their behavior simply changes based on the name called.

NF can be used to print the last field.

The program takes one optional argument, the input field separator (whitespace, by default).

πŸ’‘ EXAMPLES

Rather than:

mount | awk '{print $3}'

Try:

mount | col3

Instead of:

cat /etc/passwd | awk -F":" '{print $7}'

You can just do:

cat /etc/passwd | col7 :

Or

cat /etc/passwd | NF :

πŸ”— SEE ALSO

awk(1)

πŸ‘€ AUTHOR

This manpage and the utility was written by Dustin Kirkland <kirkland AT ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL, or on the web at http://www.gnu.org/licenses/gpl.txt.

col3(1)
πŸ“˜ NAME πŸš€ Quick Reference πŸ“‹ SYNOPSIS πŸ“– DESCRIPTION πŸ’‘ EXAMPLES πŸ”— SEE ALSO πŸ‘€ AUTHOR

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 14:26 @216.73.216.198
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!