You can use the curl command with "-I" option. curl is a tool for transferring data from or to a server. With "-I" option, it fetches the headers only.
Here is an example:
curl -I https ://qastatic.bitsdiscover.com/qa-theme/SnowFlat/qa-styles.css?1.8.6
The above command returns the following header details:
date: Thu, 18 Aug 2022 22:57:54 GMT
last-modified: Sat, 08 May 2021 19:46:47 GMT
expires: Fri, 18 Aug 2023 22:57:54 GMT
link: <https ://www.bitsdiscover.com/qa-theme/SnowFlat/qa-styles.css?1.8.6>; rel="canonical"
In the output, you can see that the canonical link points to the original page.
(I have put a space between https and : to make it an unclickable link)