Skip to content

Instantly share code, notes, and snippets.

@harryhow
Created December 28, 2017 08:17
Show Gist options
  • Select an option

  • Save harryhow/3959a1d34b73527aed14927c517bf6d9 to your computer and use it in GitHub Desktop.

Select an option

Save harryhow/3959a1d34b73527aed14927c517bf6d9 to your computer and use it in GitHub Desktop.
List files without extension and output as a text file
ls -a | cut -d "." -f 1 > myTextFile.txt
ref: https://stackoverflow.com/a/37478734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment