Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save carlosleonam/a692667fc9db52568fbe59df4ac3a1aa to your computer and use it in GitHub Desktop.
Save carlosleonam/a692667fc9db52568fbe59df4ac3a1aa to your computer and use it in GitHub Desktop.
Linux: List DOT files only
#!/bin/bash
ls -lad .* | grep -v "^d"
# source: https://linuxhandbook.com/display-only-hidden-files/#:~:text=To%20display%20only%20the%20hidden,%5E%20means%20%27start%20with%27.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment