Browse Source

class overview

master
Anthony Fadly 10 months ago
parent
commit
9e27908aaa
2 changed files with 45 additions and 0 deletions
  1. 2
    0
      README.md
  2. 43
    0
      december/dec10-class-overview.md

+ 2
- 0
README.md View File

@@ -53,3 +53,5 @@
### [December 5 - HTML](december/dec5-html.md)

### [December 10 - Overview](december/dec10-overview.md)

### [December 10 - Class Overview](december/dec10-class-overview.md)

+ 43
- 0
december/dec10-class-overview.md View File

@@ -0,0 +1,43 @@
<!-- this file is available at https://git.teknik.io/anthony_/cit160-notes -->
# December 10 - Overview (Final Study)

## Overview

- SMTP architecture
- smtp protocol
- [curl](#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

- [Man Page](https://linux.die.net/man/1/curl)
- [Example Commands](https://www.rosehosting.com/blog/curl-command-examples/)

```
$ 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
```

Loading…
Cancel
Save