Skip to main content
deleted 4 characters in body
Source Link
karel
  • 2k
  • 2
  • 19
  • 30

You have to remove the the spaces around the equal sign.

recent_files=($(ls -t | head -20))

Then it should work.

You have to remove the the spaces around the equal sign.

recent_files=($(ls -t | head -20))

Then it should work.

You have to remove the spaces around the equal sign.

recent_files=($(ls -t | head -20))

Then it should work.

Post Migrated Here from serverfault.com (revisions)
Source Link

You have to remove the the spaces around the equal sign.

recent_files=($(ls -t | head -20))

Then it should work.