Home > Blockchain >  How to search for all the hidden files in my computer?
How to search for all the hidden files in my computer?

Time:11-23

I want to find all the hidden files inside a directory in linux terminal.

I have found out that we have a grep command to search for the file but I need to search for hidden files.

grep -r search *

Any help would be appreciated. Thanks.

CodePudding user response:

If by "hidden file" you mean Linux file names that begin with . that are often hidden by default, then try this command:

find . -print | grep '/\.'

CodePudding user response:

try this on your terminal too show all the hidden files on your system:

find / -name ".*" 2> /dev/null

or you can use other way like in this web https://devconnected.com/how-to-show-hidden-files-on-linux/

  • Related