cs2044_Lecture1

cs2044_Lecture1 - CS2044 Advanced Unix Tools Spring 2010...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS2044 - Advanced Unix Tools Spring 2010 David Slater February 22, 2010 David Slater CS2044 - Advanced Unix Tools Course Information When : February 22th - March 19; 3 times a week Where : MWF 12:20 - 1:10 in Hollister 368 Drop Deadline : Mar. 1, one week into the course Passing grade for completing all 3 assignments David Slater CS2044 - Advanced Unix Tools Course Information Office Hours: By appointment Email: dms236 at cornell.edu Website: http://www.cs.cornell.edu/courses/cs2044/2010sp/ http://www.cam.cornell.edu slater/cs2044/sp2010/ CMS: http://cms.csuglab.cornell.edu If you preregisted you should be on CMS David Slater CS2044 - Advanced Unix Tools Course Goals Overall Goal: Gain experience writing scripts to automate everyday tasks More specifically we will talk about: bash scripting regular expressions gawk make files perl python Give a flavor of a variety of tools so you can pick the best tool for the job. David Slater CS2044 - Advanced Unix Tools For Example: http://xkcd.com/208/ egrep -o "[[:alnum:]_\+]+@[[:alnum:]\.-]+\.[[:alpha]]+" emails David Slater CS2044 - Advanced Unix Tools Getting to a UNIX Shell If you are registered for the course, you have an account with the CS undergrad lab. To access it go to http://www.csuglab.cornell.edu/userinfo/ You can ssh into the machines in the lab. Instructions are available at the csuglab webpage. For windows machines, can use Putty to connect. To convert from csh to bash on startup add the following to your ~ /.login file: if ( -f /bin/bash ) exec /bin/bash --login David Slater CS2044 - Advanced Unix Tools Other Options If you have a windows machine, there are a few other options: cygwin: a Linux-like environment for Windows (http://www.cygwin.com/) wubi: Ubuntu Linux installer for windows. Can dual boot windows and ubuntu without repartitioning (http://wubi-installer.org/) any linux live cd (http://www.livecdlist.com) VMWare: run any Unix environment within windows Of course macs have a built in shell. David Slater CS2044 - Advanced Unix Tools Questionaire On the website is a questionnaire to fill out. Please write your answers in a text file and upload them to cms. No word docs!!! plaintext only! I also would like you to write a bash script that does something and upload that as well. David Slater CS2044 - Advanced Unix Tools What the course is about: Poerful text based program launcher. We will talk about how to string together simple programs to perform powerful tasks David Slater CS2044 - Advanced Unix Tools Unix shells A shell is a program that allows the user to interact with the UNIX system: read user’s input and parses it evaluates special characters setup pipes, redirections, and background processing find and setup programs for execution David Slater CS2044 - Advanced Unix Tools History of Unix Shells There are primarily two ”families” of unix shells: Bourne shell (AT&T)...
View Full Document

This document was uploaded on 03/15/2010.

Page1 / 40

cs2044_Lecture1 - CS2044 Advanced Unix Tools Spring 2010...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online