Moving/Coping Hidden Files and Folders Ubuntu

Problem

How to move hidden files & folders in ubuntu

Solution

To move hidden files and folders from one dir to another type this command:

Mv /dirname/.*  .

This moeans move everything under driname to the current folder.