How can I get 2nd and third column in tab delim file in bash? July 22, 2023 by Tarik cut(1) was made expressly for this purpose: cut -f 2-3 input.txt > output.txt