COP 3502 Introduction to Computer Science Lecture 2

  • Slides: 16
Download presentation
COP 3502: Introduction to Computer Science Lecture #2 Yashas Shankar

COP 3502: Introduction to Computer Science Lecture #2 Yashas Shankar

Welcome to COP 3502: Introduction to Computer Science Instructor: Yashas Shankar Email: shankar@cs. fsu.

Welcome to COP 3502: Introduction to Computer Science Instructor: Yashas Shankar Email: shankar@cs. fsu. edu All e-mails must be from your CS account (except for the first week) All e-mails must start with “COP 3502: ” in the subject line All e-mails must contain your full name Office: TBA Office hours: T, R 11: 00 AM-12: 30 PM

Acknowledgement Parts of slides presentations used in this course are copied from slides presentations

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

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, Max. OS Software Office, Photoshop

Your first software for this course SSH (Secure shell) You will need this software

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

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 e-mail to me (shankar@cs. fsu. edu) with your CS account by 11: 59 pm next Thursday 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. E-mail subject COP 3502: Assignment#1 submission E-mail body your full name

How to send e-mails Obtain your CS account first SSH to shell. cs. fsu.

How to send e-mails Obtain your CS account first SSH to shell. cs. fsu. edu Type ‘pine’ Pine is an e-mailing program that you will be using throughout this course

Basic UNIX commands ls – list files and directories (folders) pwd – tells what

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

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 ppp 2131 home directory Public_html

Basic UNIX commands mkdir make directory mkdir COP 3502 Try ls now Garnet root

Basic UNIX commands mkdir make directory mkdir COP 3502 Try ls now Garnet root directory ppp 2131 home directory Public_html COP 3502

Basic UNIX commands cd change directory cd COP 3502 Try pwd now cd. .

Basic UNIX commands cd change directory cd COP 3502 Try pwd now cd. . move you up one directory (purple to red, red to grey) Garnet root Try pwd now directory ppp 2131 home directory Public_html COP 3502

Basic UNIX commands Create a file emacs ppp 2131. txt Type “hello this is

Basic UNIX commands Create a file emacs ppp 2131. 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 ppp 2131 home directory Public_html COP 3502 ppp 2131. txt

Basic UNIX commands Copy a file cp ppp 2131. txt temp. txt cp “source”

Basic UNIX commands Copy a file cp ppp 2131. txt temp. txt cp “source” “destination” Try ls now Garnet higher directory ppp 2131 home directory Public_html temp. txt COP 3502 ppp 2131. txt

Basic UNIX commands display a file Try cat ppp 2131. txt Try cat temp.

Basic UNIX commands display a file Try cat ppp 2131. txt Try cat temp. txt Remove a file rm temp. txt Try ls now Garnet higher directory ppp 2131 home directory Public_html temp. txt COP 3502 ppp 2131. txt

Basic UNIX commands See handouts including homework (due next Wednesday)

Basic UNIX commands See handouts including homework (due next Wednesday)

Reminder Asg#1 due next Thursday at 11: 59 PM Asg#2 due next Thursday at

Reminder Asg#1 due next Thursday at 11: 59 PM Asg#2 due next Thursday at 5: 15 PM in class Get your CS account and send me an e-mails Basic UNIX commands You may expect a quiz on basic UNIX commands next Thursday it will be easy