CS 330 Lecture 1 – Hi and Shell

Agenda

  • meta
  • define this
  • course outline
  • shell

Define This

What is a program?

TODO

  • Watch and play along with the video above on using Bitbucket for homework.
  • Read the syllabus.
  • Read Fred Brooks’ The Computer Scientist as Toolsmith II (http://www.cs.unc.edu/~brooks/Toolsmith-CACM.pdf).
  • Change your shell as you wish.
  • Bring a 1/4 of paper to Friday’s lecture with two questions and two observations based on your reading and watching.

Who Are You?

  • Name?
  • Where is home?
  • Favorite or least favorite childhood activity?
  • What programming languages have you done stuff with?

Setting your shell

Probably your shell is set to bash on dplsubmit and the other CS servers. bash is prolific, making web searches fruitful when you need help. My personal favorite shell is zsh. Sadly, I cannot change my shell permanently on our university machines. Instead, I hijack my bash startup files and run zsh instead. To get zsh up and running, I added these lines to my $HOME/.bash_profile:

[ -f /bin/zsh ] && exec /bin/zsh -l
[ -f /usr/bin/zsh ] && exec /usr/bin/zsh -l

Code

n/a

Haiku

So universal
Computers run computers
Leave the base case on

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *