Chris Schammert (csmertx)
Github Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

πŸ’» Awk


Make selections, and do stuff with those selections

  • hostname -i | awk '{print $1}'

Pull info out of quotes

  • echo "\<a href="www.duckduckgo.com"\>" | awk -F '"' '{print $1}'

Resources


Created: 12/29/2021 β€’ Edited: 02/09/2025 β€’ Author: Chris Schammert (csmertx) β€’ History πŸ•΅οΈ