Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. ls -R | grep settings.xml
  2.  
  3. locate -br '^settings.xml$'
  4.  
  5. locate reads one or more databases prepared by updatedb(8) and writes
  6. file names matching at least one of the PATTERNs to standard output,
  7. one per line.
  8.  
  9. -b, --basename
  10. Match only the base name against the specified patterns. This
  11. is the opposite of --wholename.
  12. -r, --regexp REGEXP
  13. Search for a basic regexp REGEXP. No PATTERNs are allowed if
  14. this option is used, but this option can be specified multiple
  15. times.
  16.  
  17. find / -xdev -name settings.xml
  18.  
  19. $ locate settings.xml
  20. /usr/share/mime/application/x-cisco-vpn-settings.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement