linux - Find command not working as expected in centOS -


i using centos linux release 7.0.1406 on virtual box. trying find files using find command.

this find command not giving response:

find . -name "orm.properties" 

my current working directory /eserver6. file orm.properties present in /eserver6/share/system/config/cluster, find command not able find file.

i have tried other combinations

find . -name "orm.*" find . -name 'orm*' 

this finding few files staring orm not files present inside current working directory.

the command line looks correct , should find file. reasons why might fail:

  1. you don't have permission enter 1 of folders in path /eserver6/share/system/config/cluster.
  2. you made typo
  3. the file system remote , remote file system behaves oddly
  4. there simlink somewhere in path. default, find doesn't follow symlinks avoid recursive loops. use find /eserver6 -l ... tell find @ target of link , follow if it's folder.

the command

find /eserver6 -name "orm.properties" 

should find file, no matter are. if doesn't, @ -d debugoptions in manpage. want -d stat see @ files find looks , sees.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -