Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - col1

    col1

    WillieBy WillieFebruary 9, 2026Updated:February 9, 2026No Comments2 Mins Read

    NAME

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

     

    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 :

    AUTHOR

    This manpage and the utility was written by Dustin Kirkland <[email protected]> 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.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    DAEMON

    February 5, 2026

    How To Enjoy And Improve Faster In Online Gaming

    March 5, 2026

    LD.SO

    March 10, 2026

    E2FSCK

    February 14, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.