Lecture Notes Flashcards
scp
Secure copy from one computer to another
ssh
Secure shell
OS Structure
Linux, Mac, and Windows have m-nary tree file structures
Bin folder
Binaries – compiled code
sudo
Super user do, used to execute a command as an admin of the system
~
Tilde expansion
Characters in filename expansion
- 0 or more characters
? - 1 character
- 0 or more characters
When/where was Unix developed?
At Bell Labs in the 1970s’
Who is credited with developing Unix?
Alexander Graham Bell
What language was codeveloped with Unix?
C
Notable C developers
Dennis Ritchie, Ken Thompson, Brian Kernighan, Joe Ossanna
Kernighan
C Bible, written by Ken Thompson and Brian Kernighan
Principles of Unix
- KISS
- Focus – high product cohesion
- Filter – handle info between objects to limit coupling
- Flexibility – allow users to do what they want
Who created Linux?
Linux Torvalds
What was Linux written for?
The 80x86 processor
GNU Definition
GNU’s not Unix
What was intended to be the standard shell for the GNU system?
Bash
What does the Kernel do?
- Protect and manage resources
- Sends messages to the hardware
What does a shell do?
Interact with the Kernel
Notable Shell Distros
Redhat, Fedora, Ubuntu, Bash
What is a distrubution
An OS that includes the Linux kernel and a package management system
What does the $PATH variable provide?
A list of directories to search whenever we try to execute a command
opt
Optional
which
Tells you the path to the executable you are trying to execute
What is nano?
A text editor
Who developed C?
Dennis Ritchie
C Library Types
Static and Shared
Static C Library
Packaged into the executable and included in every instance of the program
Shared C Library
Pulls the library into the program at runtime so multiple programs can use it at the same time
Linux extension for static libraries
.a (stands for archive)
Linux extension for shared libraries
.so (shared object)