Create a gist now

Instantly share code, notes, and snippets.

One-liner that lists all the hidden files from a given directory
# Add this one-liner script to the PATH variable and have the power to count the files in a directory from anywhere in the command line
ls -al $1 | grep -E \ \\..*$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment