If you forgot the path of file but know the file name, how to find?
We can do this using find command-
[root@localhost rpm]# find /etc -name passwd
/etc/passwd
/etc/pam.d/passwd
[root@localhost rpm]# find /etc -name pass*
/etc/openldap/certs/password
/etc/passwd
/etc/selinux/targeted/active/modules/100/passenger
/etc/passwd-
/etc/pam.d/passwd
/etc/pam.d/password-auth-ac
/etc/pam.d/password-auth
[root@localhost rpm]#
We can do this using find command-
[root@localhost rpm]# find /etc -name passwd
/etc/passwd
/etc/pam.d/passwd
[root@localhost rpm]# find /etc -name pass*
/etc/openldap/certs/password
/etc/passwd
/etc/selinux/targeted/active/modules/100/passenger
/etc/passwd-
/etc/pam.d/passwd
/etc/pam.d/password-auth-ac
/etc/pam.d/password-auth
[root@localhost rpm]#
Great Post with valuable information. I am glad that I have visited this site. Share more updates.
ReplyDeleteUNIX Online Training
Online Courses for Content Writing
Seo Course Online
Your post is very good thanks for sharing these kind of post apart form that if anyone look for Python training institute in Delhi Contact Here-+91-9311002620 Or Visit Website- https://www.htsindia.com/Courses/python/python-training-institute-in-delhi
ReplyDelete