Shell script to find specific files

I need a Linux shell script that will help me find only a list of very specific files. I would like to run this script, and have it recursively scan the current working directory (or you could have me pass a path to the script to scan) for all files name '[login to view URL]'. It is then to examine these files and list only the [login to view URL] files that do NOT contain the text 'HTTP_X_FORWARDED_PROTO' (without quotes) somewhere in the file. The entire path to the file should also be listed.

So, the script should recursively find all [login to view URL] files that do not contain the string 'HTTP_X_FORWARDED_PROTO' somewhere in the body. A sample output might look something like this:

/var/www/vhosts/[login to view URL]

/var/www/vhosts/[login to view URL]

/var/www/vhosts/[login to view URL]


Skills: Linux, Shell Script

See more: bash find subdirectories, unix command to find a file in a directory and subdirectory, linux find command, find directory in linux, unix find directory recursive, bash find all files, linux find file, how to find a file in linux in all directories, write shell script compare files, linux shell script copy files, shell script backup files, shell script find files solaris cent, shell script watch files, aix unix shell script delete files, shell script move files linux, shell script move files, perl shell script move files move directory, shell script list files, shell script copy files directory, shell script copy files remote server

About the Employer:
( 70 reviews ) Lethbridge, Canada

Project ID: #17091176

Awarded to:


Hi, I have 20+ years of total development experience in multiple technologies including Linux, Shell Scripting, Python, Visual Basic, VB.Net etc. Please check my profile. I really want to work on this project. More

$25 CAD in 1 day
(1 Review)

5 freelancers are bidding on average $27 for this job

$25 CAD in 1 day
(152 Reviews)

Hi, Is that the only requirement to be done with the script ? You can refer my profile and if interested, please ping me. Happy to discuss further. Thank You.

$30 CAD in 1 day
(26 Reviews)
$40 CAD in 1 day
(3 Reviews)
$13 CAD in 1 day
(1 Review)