Linux

Fix the following commands:

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

sed 's/1/2/g' /tmp/myFile  # sed "s/1/2/g" is also fine
find . -iname "*.yaml" -exec sed -i "s/1/2/g" {} \;