I do use sort command to do in redhat linux. for example, this is file I want to sort name age income trorry 34 344 aimin 36 345 shihe 23 3667 Aimin -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list