Posts Tagged ‘linux’
making a recycle trash bin for linux bash Friday, March 1st, 2013 by puke7

I was cleaning up some deprecated and antiquated script files after refactoring them into a new one. Then I did something dumb. rm objectname* which included my new script I had worked on for about 4 hours. There is no undo for rm in the command line. This is not the first time this has […]

Between 17 professional programmers on IRC late one night, I stumbled across not only this problem, but the solution to it as well. The tricky part is that it’s a recursive process. You have to pipe to hell and back!?!? Maybe . . . this gets you the number of lines in all php files […]