Print second-to-last column/field in `awk` October 18, 2022 by Tarik awk '{print $(NF-1)}' Should work