Originally Posted by lipun4u
Anyone please tell me how to list only hidden files in current directory ?
ls -Ad .*
ls -Adl .*
you might have issues with other defaulted switches with ls, generally those go away if you reference ls directly (ie. /bin/ls )
the 'd' shows only directory names, rather than showing the files in the directories
the 'l' (lower case L) does a long list format more like standard "dir" command in DOS & Windows command lines..