Linux

Specify which command would you use (and how) for each of the following scenarios

Difficulty: unrated

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

Answer

  • rm -rf dir
    • cat or less
    • chmod 777 /tmp/x
    • cd ~
    • sed -i s/good/great/g /tmp/y