• Use find instead of ls to better handle non-alphanumeric filenames.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Tips for replacing ls with find:
  • Just the filenames, ma'am
  • All the other info
  • Exceptions: