Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设 file1、file2、file3、file4 和 file5x 分别包含要添加到系统的新用户名列表,但您只有时间添加前 50 个用户,您需要删除重复的用户名并将结果保存到名为用户名的文件。执行此操作的 UNIX 命令是什么?
利用:
cat file1 file2 .... fileNN | sort -u