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
Post a Comment