Linux: Bash: Get text between brackets Tux 13 years ago awk 'NR>1{print $1}' RS='(' FS=')' Share this: Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Click to share on Facebook (Opens in new window) Facebook Click to share on Reddit (Opens in new window) Reddit Click to share on X (Opens in new window) X Get the first column of a file in bashDate27 September 2011In relation toBashBash: Switch positions between all characters in odd positions with characters in even positionsDate21 June 2017In relation toGNU/LinuxAdd a new line whenever the first column changesDate1 June 2019In relation toBashThis post is also available in: Greek