COP3502: Introduction to Computer Science Yashas Shankar Lecture #2
Welcome to COP3502: Introduction to Computer Science Instructor: Yashas Shankar All s must be from your CS account (except for the first week) All s must start with “COP3502:” in the subject line All s must contain your full name Office: TBA Office hours: T,R 11:00AM-12:30PM
Acknowledgement Parts of slides presentations used in this course are copied from slides presentations from previous instructors of this course Mr. Daniel Chang Dr. Sara Stoecklin
Basic knowledge about computers To utilize computers you need both hardware and software Hardware Operating system Software Hardware Desktop, laptop. Operating systems Windows XP, Vista, Unix, Linux, MaxOS Software Office, Photoshop
Your first software for this course SSH (Secure shell) You will need this software to do your class material + homework CS computer lab and ACNS computer lab have SSH You can download SSH and install into your computer by visiting “system.cs.fsu.edu” Click on “New user info” Click on “SSH how to” Read instructions and download the file Install SSH You will need SSH to create your CS account and you must have your CS account before Wednesday next week
Your first real homework Get a CS account You can start doing it this Friday (after the end of drop/add period, when the system group have the final roaster of CS students) Send to me with your CS account by 11:59pm next This is all or nothing homework: you either get full score or zero You may have around 20 homeworks, so this will be approximately 2.5% of your final grade. Start working on it this Friday. subject COP3502: Assignment#1 submission body your full name
How to send s Obtain your CS account first SSH to shell.cs.fsu.edu Type ‘pine’ Pine is an ing program that you will be using throughout this course
Basic UNIX commands ls – list files and directories (folders) pwd – tells what directory you are in mkdir – make new directory cd – change directory cp – copy a file mv – rename a file or directory rm – remove directory
Basic UNIX commands Type 12-enter to go to command prompt ls list files and directories (folders) in your current directory pwd tell you where you are Garnet root directory ppp2131 home directory Public_html
Basic UNIX commands mkdir make directory mkdir COP3502 Try ls now Garnet root directory ppp2131 home directory Public_html COP3502
Basic UNIX commands cd change directory cd COP3502 Try pwd now cd.. move you up one directory (purple to red, red to grey) Try pwd now Garnet root directory ppp2131 home directory Public_html COP3502
Basic UNIX commands Create a file emacs ppp2131.txt Type “hello this is my first text file in this course” Type CTRL-X-S to save hold down CTRL then X, release X, then S while still holding CTRL Type CTRL-X-C to exit Try ls now Garnet higher directory ppp2131 home directory Public_html COP3502 ppp2131.txt
Basic UNIX commands Copy a file cp ppp2131.txt temp.txt cp “source” “destination” Try ls now Garnet higher directory ppp2131 home directory Public_html COP3502 ppp2131.txt temp.txt
Basic UNIX commands display a file Try cat ppp2131.txt Try cat temp.txt Remove a file rm temp.txt Try ls now Garnet higher directory ppp2131 home directory Public_html COP3502 ppp2131.txt temp.txt
Basic UNIX commands See handouts including homework (due next Wednesday)
Reminder Asg#1 due next Thursday at 11:59PM Get your CS account and send me an s Asg#2 due next Thursday at 5:15PM in class Basic UNIX commands You may expect a quiz on basic UNIX commands next Thursday it will be easy