← All courses

Bash: expansions, arrays and quoting

Skip sed and basename wherever bash itself is enough: parameter expansion, arithmetic, quoting, arrays and heredocs.

13 tasks
  1. Default valueeasy
  2. Filename without extensionmedium
  3. Substring replacementmedium
  4. Rename all .txt to .bakmedium
  5. Arithmetic in the shellmedium
  6. Command substitutionmedium
  7. Here-stringmedium
  8. Brace expansioneasy
  9. A config via heredocmedium
  10. Quotes save the asteriskmedium
  11. Arrays in bashmedium
  12. Word frequencies via an associative arraymedium
  13. Parsing CSV by columnsmedium