Wednesday, November 21, 2012

Check if a file exists on a remote site

To check if a file exists on a remote site (say a web site), do the following:

$: wget --spider https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

The above command checks if a stable version of Google Chrome exists in the remote location specified.

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...