CIS 1500 Lecture Notes - Lecture 6: Switch Statement, Scanf Format String, Bourne Shell

13 views8 pages

Document Summary

Introduction to the unix command line (bourne shell) ls lists contents of current directory (folder) ex. directory structure: Documents/ code examples/ outlines/ projects/ somefile. txt cd change directory; go to a specified directory ex. cd # go up to parent directory cd documents/projects/ # change into projects directory. Tips: the tab key completes unique commands, files, and known arguments to save you typing, the bang key ! Repeat; !! repeats whatever the last command was: ex. !g will execute whatever the last command was that started with a g. Announcements: assignment one is due next week on october 3rd. There is no help in lecture, go to drop-in sessions if you need help: question 3 has ambiguity; make a choice and document it. Some operators create expressions that return only a true or false value; these are binary operators that take only two options. >= // greater than or equal to ex.

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