CSC209H1 Lecture Notes - Local Variable, Muumuu, Kornshell

83 views10 pages

Document Summary

What is a shell? wc l file1 > file2. Which shell? sh bourne shell: most common, other shells are a superset, good for programming csh or tcsh default for command line on cdf, c-like syntax, best for interactive use. Not good for programming. bash default on linux (bourne again shell: based on sh, with some csh features. korn written by david korn, based on sh some claim best for programming, commercial product. When a shell is invoked, it does the following: A shell is a command line interpreter that is the interface between the user and the os. The shell: analyzes each command, determines what actions are to be performed, performs the actions. Example: read a special startup file (usually in home directory, display prompt and wait for command, ctrl-d on its own line terminates shell, otherwise, goto step 2.

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