COMP 206 Study Guide - Final Guide: List Comprehension, Xmpp, Linked List

123 views5 pages

Document Summary

User space v. kernel space: user space a set of locations where normal user processes run (everything other than the kernel). Kernal"s job is to manage apps running in this space from messing w/ each other & the machine: kernal space the location where the code of the kernel is stored, Writing permissions: r w r x - - w x 1st 3 is user, 2nd 3 is group, final 3 is everyone else. Very 1st space is directory: [] [] [] repeated 3 times, 2^2 2^1 2^0, so if you wanted rwx r-x r-x you could write chmod 755 a. out. The shell: interactions bw programs (pipes, return codes, & io redirection) In unix, all input/out of a program happens through files. Both keyboard & terminal are virtual files: interactions with the user (command line, stdin, stdout) Stdin the file handle that your process reads to get info. Stdout your process writes normal info to this file handle.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents