Notes for Computer Information Technology 160
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dec10-class-overview.md 1.1KB

December 10 - Overview (Final Study)

Overview

  • SMTP architecture
    • smtp protocol
  • curl
  • Body starts with From
  • Comment Line Breakdown
  • umask
  • short circuit evaluation
  • options, parameters, positional parameters/variables
  • PS 1,2,3,4
  • git
  • ip subnet/socket
  • subshell
  • dns zone

Curl

$ curl http://www.example.com/index.html
# The will get contents of www.example.com/index.html and print it to stdout

$ curl --head http://www.example.com/index.html
# This will get the header of the request for www.example.com/index.html

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Mon, 10 Dec 2018 21:20:45 GMT
Etag: "1541025663"
Expires: Mon, 17 Dec 2018 21:20:45 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
Server: ECS (oxr/8314)
X-Cache: HIT
Content-Length: 1270