Linux - How to list only hidden files, Script to list hidden files

How to list only hidden files

How to list only hidden files in a linux directory

Some times it might be necessary to list only the hidden files in the directory
  # ls -a
will list all the hidden files in a directory.

The below command will list only the hidden files or dot files in the linux OS.

  # echo .*

  # printf "%s\n" .*

The above script will display only the hidden files and directories.

The topic on Linux - How to list only hidden files is posted by - Math

Hope you have enjoyed, Linux - How to list only hidden filesThanks for your time

Tech Bluff