CPSC-1010 Lecture Notes - Lecture 3: Working Directory, Tape Drive, Grep

30 views3 pages

Document Summary

Lecture 3 part 2 more about unix. The unix operating system: kernel, shell, system calls. Kernel: provides access to hardware resources of computer, manages memory and cpu. Shell: provides command line interface to services. System calls: provide method-call interface to services. While files have logical structure to programs that create and use them, at the unix level they are just a sequence of bytes: no record terminators, no file terminators, no special file types. Names < 256 characters: < 14 to be backward compatible. Each directory can contain files and subdirectories. Full names of unix files are pathnames, including directories. Example: /users/faculty/eileen/junk. txt (absolute pathname) if _current working directory_ is /users/faculty/eileen can use junk. txt (relative pathname) if _current working directory_ is /users/faculty can use eileen/junk. txt (also a relative pathname) Each file has an owner: that owner is a member of a group.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents