'UNIQ'에 해당되는 글 1건

  1. 2018.02.13 [Script] uniq string line print on shell

[Script] uniq string line print on shell

ITWeb/개발일반 2018. 2. 13. 13:26

파일에 id 목록이 들어 있고 여기서 unique 한 id 들만 출력하고 싶을 경우 아래와 같이 사용 하시면 편하게 찾으 실 수 있습니다.


Tips)

$ sort id_list.log | uniq


Ref)

http://www.tutorialspoint.com/unix_commands/sort.htm

http://www.tutorialspoint.com/unix_commands/uniq.htm

: