SEC260 HTML Links and URL - eitan-j/tech-journal GitHub Wiki

Make multiple directories

  • cd /var/www/html
  • mkdir {about,specials,locations}
  • `mkdir locations/{Montreal,Detroit,Berlin,Burlington}

Add html page to each dir

  • Create base html base.html
  • Copy files
  • tee about/about.html specials/specials.html locations/locations.html locations/Montreal/Montreal.html locations/Detroit/Detroit.html locations/Berlin/Berlin.html locations/Burlington/Burlington.html < base.html
  • Add links