Linux Tools

OCR – Tesseract

Just made a spectacularly unsuccessful attempt to use Tesseract OCR. Here is a sample: "|I11;XII;"1n -¤:2;;2:¤ LIEEEEEEE.-::2;;;: nz ’‘·* *--2.. ::2;;: "=I;;;. :1:;*-- ::2;£2|a:‘¤I;;;.XXi.X ·¤:;1;;¤· X;|:;t1X '!EEEXI|· XXXIIEX--EXIIXX-.:21:;. -·¤a.;¤¤a..a··...

Linux PING works but Traceroute doesn’t

Just had an issue where traceroute w.x.y.z failed however ping w.x.y.z worked fine.... The fix: traceroute -I w.x.y.z or traceroute -T w.x.y.z Where w.x.y.z is the IP address of the remote host e.g. 10.22.34.8 By default the Linux traceroute was using UDP which must...

Linux serial console

I had to test a console cable to see if it was indeed a console cable. The piece of equipment I was connecting to was outputting a garbled console leading me to wondering if I had a bad cable or a bad piece of equipment. Using the serial-console howto at...

The Linux find command

I'm putting this here so I can recall it for later find -mtime +2 -type f -print -exec mv {} /home/user/old/ \; Basically it does the following: Find all files where the File's data was last modified more than 2 days ago and run the move command on each file to move...