0

How to display all the hidden files in a location On CentOS

Hello,

Is there any way to display the hidden files alone in a directory On CentOS

Linux CentOS Add a comment
mason
asked Dec 19 2019

Answer

0

To display the hidden files alone,try running the following command

[root@linuxhelp1 ~]# ls -ld .*
dr-xr-x---. 18 root root 4096 Dec 19 15:24 .
dr-xr-xr-x. 17 root root  224 Nov  9 18:56 ..
-rw-------.  1 root root 4307 Dec 16 10:18 .bash_history
-rw-r--r--.  1 root root   18 Dec 29  2013 .bash_logout
-rw-r--r--.  1 root root  176 Dec 29  2013 .bash_profile
-rw-r--r--.  1 root root  176 Dec 29  2013 .bashrc
drwx------. 15 root root 4096 Nov  9 22:29 .cache
drwx------. 14 root root  261 Nov  9 20:53 .config
Add a comment
linuxhelp
asked Dec 19 2019
Post your Answer