Linux / Unix / CLI
Finding Replacing Filenames & text inside files using perl
A few “Bash Tricks” for the peeps
First up:
Find & replace filenames
This finds file that match Somethinghtml.html and renames to Something.html (HTTP Track users will recognize these two examples as fixes to common naming problems when scraping a site.) Note you can change the mask of files searched by changing the find mask at the [...]
Ubuntu Apache Tuning
So I recently needed to do a little quick performance tuning at work on one of our ubuntu server installs. I’ve been using some of the wisdom found here to refresh myself on the basics, and I wrote a quick little one line awk script to give me the total amount of memory being used [...]
Tricks of the CLI Trade
Show just directories with pretty ls colors!
ls -ld */
Find in files cheap and dirty unix style!
find . -type f| xargs grep ’some_string’
[Listening to: Wouldn't Believe It - The Get Up Kids - Guilt Show (3:47)]
Wget Tricks
Tricks using the versitle WGET Command



