You might get this error: Error: The Ruby Homebrew installer is now disabled and has been rewritten in Bash. Please migrate to the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If so, write /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Follow the prompts in the terminal (press return, write your password (remember that you don’t see it)
You might get en error as well like this xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools' Failed during: /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
If so, install XCode: xcode-select --install
Install Wget: brew install wget
In Windows:
Go to https://eternallybored.org/misc/wget/
Copy the wget.exe file into your C:\Windows\System32 folder.
Open the command prompt (cmd.exe) and run wget to see if it is installed.
Exercise 1 with -wget and other commands
Write in your terminal this to download this file: wget http://www.gutenberg.org/files/2600/2600-0.txt
open 2600-0.txt(opens the file)
cat 2600-0.txt (preview the file)
head 2600-0.txt (preview the begining of the file)
tail 2600-0.txt (preview the end of the file)
mv 2600-0.txt tolstoy.txt (change name)
cp 2600-0.txt tolstoy.txt (make a copy)
cp tolstoy.txt tolstoy2.txt (copy a file into another)
cat tolstoy.txt tolstoy2.txt (prints, or displays, the combined files within the shell)
cat tolstoy.txt tolstoy2.txt > tolstoy-twice.txt (make one single file from two)
cat *.txt > everything-together.txt (put all txt files together)
rm tolstoy.txt
Exercise 2
Try to experiment and understand the code behind an HTML template, such as the Foundation templates