cut and uniq commands: cut - remove sections from each line of files uniq - remove duplicate lines from a sorted file