Difference between revisions of "Unix Tips"

From Projects and Notes
Jump to: navigation, search
m
 
Line 5: Line 5:
 
** strings ''filename''
 
** strings ''filename''
 
** tr -dc '[:print:]' < ''infile'' > ''outfile''
 
** tr -dc '[:print:]' < ''infile'' > ''outfile''
 +
 +
 +
 +
 +
[[Category:Tips]]

Latest revision as of 12:51, 10 December 2013

Unix/Linux commands and stuff to remember.

Text Crap

  • Strip out binary characters from a text file
    • strings filename
    • tr -dc '[:print:]' < infile > outfile