Quote:
Originally Posted by ghostdog74
Code:
find . -type f -name ".*"
|
Please find the output of both command i thing ls -a | grep ^"\." is more accurate as it has listed . and .. correctly where as find . -type f -name ".*" only displayed profile hidden file which i think is not the only hidden file .
I m a newbie in unix can you please correct me if i m wrong?
[root@test milind]# ls -a | grep ^"\."
.
..
.profile
[root@test milind]# find . -type f -name ".*"
./.profile