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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -