Skip to content

Instantly share code, notes, and snippets.

@j-faria
Created November 26, 2018 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j-faria/be62930644f4c31c0cad30bad569eadd to your computer and use it in GitHub Desktop.
Save j-faria/be62930644f4c31c0cad30bad569eadd to your computer and use it in GitHub Desktop.
Find the common files between two directories
# directories a and b
comm -12 <(ls a) <(ls b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment