This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| These were notes that I made while watching Power Use of UNIX by Dan North - https://www.youtube.com/watch?v=7uwW20odwEk | |
| * UNIX is based on a really simple model | |
| - Everything is a file | |
| - Everything running is a process | |
| - Every file is text or data | |
| - Each command does one thing well | |
| - Pipelines allow composiion | |
| - The shell is your gateway to everythinga |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| void some_pointers() | |
| { | |
| int i = 1; | |
| int *ptr_i; | |
| printf("%d is an integer.\n",i); | |
| printf("%p is a pointer to a memory location.\n",ptr_i); | |
| printf("And has the value: %d.\n",*ptr_i); |