Hidden files

How to list out only the hidden files from a directory ?

Thanks

Try this:

ls -al | grep -e '[0-9] \..*$'

Try: ls -d .*

ls -a | grep "^\." 

you could also try:

ls -la | cat -vet

this will let you see any files containing special characters or named with just a special character that isn't normally displayed