Years ago, maybe 2011 based on the age of files, our Systems group moved our Linux home directories to a central system. My only real complaint about this move was finding anything I needed in my Bash history. See, I am terrible at remembering things and often make typos. It is easier to go back…
A mini project is to hand over the course packages for the prior product to each of our clients. A good idea was to include a list of the files so down the road, if something is missing then, we can say this list in the ticket has what they received. So I wrote this…
In the beginning I used TOTAL=`ls /d2lmig/*/*/bak/*/* | wc -l` to get a total count. All was good. Until at around 55,000 files I got: -bash: /bin/ls: Argument list too long. Then I used TOTAL=`find /d2lmig/*/*/bak/*/* -name *.bak | wc -l` to get a total count. All was good. Until at around 90,000 files I got: -bash: /usr/bin/find: Argument…
A security guy at a campus wanted our web server log file in the CSV format. The original file has lines which look something like: machine.usg.edu: webserver.log13646,2010-11-30     11:08:32     0.0010  999.999.999.999   b7tPM1hTgGYMn90bLTM1   200   GET   /webct/urw/lc987189066271.tp1333853785371/blank.html   –    262   “Mozilla/5.0…
Dear Google, When you treat special characters such as underscores, colons, and hyphens as a space, you corrupt my search for a single term into multiple terms, aka not what I sought, so I get too many useless results. Function names, class names, or file  names ought to be treated as a single word not…
Notepad++ is my Windows text editor. Work has a site license for UltraEdit. I bought a personal license for EditPlus back in 2002-ish. Notepad++ does what I need it to do without having to track down a license key. This week I started getting this error when it starts. Load langs.xml failed! Apparently this happens…
Ran across Selected Quotes About Computers & Software at a site called The Core Memory. I have the teeshirt for this first one. The rest are for inpiration. There are 10 types of people. Those that understand binary and those that do not. — Ray Roton Old programmers never die… They just decompile. — Peter…