Weiss
Weiss

Reputation: 303

Download and run a WGET file

I would like to download a model from the site. These are WGED files, which I first download and then open in VSCode! However, I cannot get the file to run! What do I have to do?

Source: https://esgf-node.llnl.gov/search/cmip6/

Upvotes: 0

Views: 400

Answers (1)

Daweo
Daweo

Reputation: 36735

These are WGED files

No, they are .sh files, which are text files, if you open one in text editor you will see that first line

#!/bin/bash

meaning that said file is supposed to be used with bash, moreover following comment might be found

# first be sure it's bash... anything out of bash or sh will break

thus implying you need functional bash in order to make any use of said file.

Upvotes: 1

Related Questions