Useful Regex

Man I love regex. Select everything after the “>” character: \ > (.*) Select everything before the “>” character: (.*) >

Bash: Dev LAMP Stack Setup

Wrote a little snippet at work today for anyone who might need to get a LAMP environment set up fast for a dev environment. Works perfect for me for one off virtual machines I am doing testing in.

Scroll to Top