# learn_ruby solutions

December 16, 2013

A good number of my students have approached me for help on these exercises, which are part of testfirst.org and used as an entrance requirement to appacademy.io.

Get the solutions to exercises 1-11 here:

https://github.com/lazyprogrammer/learn_ruby

May finish the rest of the exercises if requested.

# Find and Replace Text from the Command Line in Linux

December 10, 2013

Use sed

sed -i 's/<original_text>/<replacement_text>/' <file.txt>

Example:

sed -i 's/Bob/Alice/' names.txt