HF RL Explorer

Task: Find Intersection of Two Directory Listings in Bash

Task: Find Intersection of Two Directory Listings in Bash: a task in Terminal-Lego-15k (Harbor dataset). Write a Bash script that finds the intersection of files between two directories. The intersection should list all filenames that exist in both directories.

The task

Write a Bash script that finds the intersection of files between two directories. The intersection should list all filenames that exist in **both** directories.

Part of PrimeIntellect/Terminal-Lego-15k.