CSC209H5 Lecture Notes - Lecture 1: Root Directory, Unix Philosophy, File System Permissions

82 views3 pages
School
Course

Document Summary

Csc209h5s - software programming and tools (winter 2018) Write programs that do one thing and do it well. Write programs that handle text streams (it is a universal interface) Unix is a proprietary operating system developed by at&t in 1969. Support simple input formats; plain text, don"t require interactive input. Sample of unix tools: ls, cat, sort, grep etc. A shell accepts commands (programs) as input. Bash/terminal commands and things to know pwd (cid:1037) working directory ls (cid:1037) listing cd - (cid:1037) goes back to previous directory cat (cid:1037) catenate (to list); concatenate (list and merge) If you hit tab, it gives you the options to add (ex. files) See also (cid:1037) shows similar commands head -3 . txt (cid:1037) sort and put it in a new text file tail -3 . txt | The program itself is loaded into the bottom segments: 0x40000000 memory mapped region for shared libraries printf() function heap (cid:1036)

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