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 ๐Ÿ•ต๏ธ