Suppose that file1, file2, file3, file4, and file5x each contain a list of new usernames to be added to the system, but you only have time to add the first 50 users and you need to remove duplicate usernames and save the results to a file named usernames. What would be the UNIX command to do this?
cat file1 file2 file3 | uniq > usernamescat f1 <(echo) f2 <(echo) f3 <(echo) | sort | uniq > usernamesthesortis necessary asuniqonly filters out adjacent duplicates.cat file* | sort -u