Linux fundamental

Use cURL from your Pwnbox (not the target machine) to obtain the source code of the “https://www.inlanefreight.com” website and filter all unique paths of that domain. Submit the number of these paths as the answer.

i used this command:
1.curl https://www.inlanefreight.com > test.txt
2.cat test.txt | tr " " “\n” |cut -d “’” -f2 | grep “https://www.inlanefreight.com” |wc -l
can anyone give me solution for this i tried several times but still i’m not get solutions

i used: curl https://www.inlanefreight.com | tr " " “\n” | grep “https://www.inlanefreight.com/” | uniq --unique
and removed some bad results manually and i got my answer “3*”

htb-student@nixfund:~$ curl https://www.inlanefreight.com | tr " " “\n” | grep “https://www.inlanefreight.com/” | uniq --unique
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:05 --:–:-- 0curl: (6) Could not resolve host: www.inlanefreight.com

I Got Result like this…

the problem is the " symbol, when we copy it from htb it puts different symbols so bash does not recognize the strings, also add " in the first url, i just forgot and it might not be nessesary anyway.

still have a same problem bro :frowning: