COMP 206 Lecture Notes - Lecture 4: Unix Shell, Standard Streams, Esc Key

6 views3 pages

Document Summary

Shell as unix interface wait for command parse and execute display results to terminal . Note: many commands on mycourses, will be left up as a reference. This is only one of the ways to interact with the shell. We can use it to write programs, much like java or other programming languages. You type in the name of a program and some command line options: The shell reads the line, finds the program and runs it with your options included. 3 i/o channels: standard input, standard output, standard error. - code of the program can access data from standard in. - by default, program prints standard output unless the program or the shell decides there is an error and the output should be standard error instead. - can think of these as temporary files but in our usual use the standard input is typed in with our keyboard and standard output and standard error are displayed on the screen.

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
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents