Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

how can i seach 'quid' in the directory /var/www/html

How can I search files indirectory /var/www/html          that contain "quoId'
0
teera
Asked:
teera
1 Solution
 
sunnycoderCommented:
Hi teera,

If you meant file that have string quold
grep -r "quold" /var/www/html

If you meant file*name* that have string quold
find /var/www/html -type f -name ".*quold.*"

Cheers!
sunnycoder
0
 
arvindCommented:
find /var/www/html/ -name  filename -print
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now