sort -t":" -k3 filename.txt
(The above will sort a file filename.txt which is ":" delimited on the basis of third column.)
(The above will sort a file filename.txt which is ":" delimited on the basis of third column.)
UNIX/Linux problem solving blog, Good for beginners and experts. UNIX interview preparation guide. Top Unix interview questions and answers. awk,sed,vi shell,perl solutions of Unix problems.