HF RL Explorer

Task: List Only Files (Not Directories) in a Directory

Task: List Only Files (Not Directories) in a Directory: a task in Terminal-Lego-15k (Harbor dataset). Write a bash command or script that lists only the files in a specified directory, excluding any subdirectories. The output should contain only regular files, not directories or their contents.

The task

Write a bash command or script that lists only the files in a specified directory, excluding any subdirectories. The output should contain only regular files, not directories or their contents.

Part of PrimeIntellect/Terminal-Lego-15k.