$ ./guess_the_languageLinux CLI
Linux CLI · easy · #17

What does this print?

echo "cat cat cat" | sed 's/cat/dog/'
  1. dog cat cat
  2. dog dog dog
  3. cat cat dog
  4. dog
Without the g flag, s/// replaces only the first match on each line.
Play Linux CLI ▸