dutchlab
dutchlab

Reputation: 590

Can not find Symbolic link

I have created a new site under /var/www on Ubuntu. I decided to use some of the structure from a site already in the /var/www directory. For some reason when I hit the new site the console shows an error and it is referencing a js file from the site I copied the structure.

During the process of trying to figure out the problem I have deleted the js directory in the new site and still the error comes up and console shows a path to the js file to be the path to the directory I deleted. The file appears to be a copy of the file from another site.

Do I have a symbolic link I do not know about. I have tried the 'find -type l' in the var/www directory and it did not find one.

Upvotes: 0

Views: 377

Answers (1)

neverendingo
neverendingo

Reputation: 44

First it makes sense to find out what exactly is referrencing that file, probably by

find /var/www | xargs grep 'yourjsfile.js' -sl

Upvotes: 1

Related Questions