Finding files by type
suggest changeTo find files, use the -type f
flag
$ find . -type f
To find directories, use the -type d
flag
$ find . -type d
To find block devices, use the -type b
flag
$ find /dev -type b
To find symlinks, use the -type l
flag
$ find . -type l
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents