terminal - How can I list unique characters used in a text file using linux command line tools? -


I would like to list a set of characters described in the text file using the Linux command line tool. How can I achieve this ?

uniq utility works only on lines.

I od

  od- Using cvAnone -w1   

, it shows letters \ escapes other for non-displayable


Example:

Therefore, to list Unix:

  od-cvAnone -w1 | Sort -bu   

or to create the top 20 histogram:

  od-cvAnone -w1 | Sort-b UNIK-C | Sort-RN | Head N-20   

See this

Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -