Dayu Zhang 9/3/2014 Lab01. Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website

Slides:



Advertisements
Similar presentations
Zhang Hongyi CSCI2100B Data Structures Tutorial 2
Advertisements

ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
Working Environment - - Linux - -.
Web Pages Publishing your page on ASUWlink. Unix Directory Commands ls –la –will show all directories and files –will show directory and file permissions.
CS 202 Computer Science II Lab Fall 2009 September 3.
T UTORIAL OF U NIX C OMMAND & SHELL SCRIPT S 5027 Professor: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2015.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
A crash course in njit’s Afs
The Unix Environment and Compiling. Getting Set Up Your programs will be compiled and tested on the Departmental server ‘linprog’ The linprog servers.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012assignprelim.1 Assignment Preliminaries ITCS 4145/5145 Spring 2012.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
HPC at HCC Jun Wang Outline of Workshop1 Overview of HPC Computing Resources at HCC How to obtain an account at HCC How to login a Linux cluster at HCC.
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
COP3502: Introduction to Computer Science Yashas Shankar.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
UNIX Introduction CSCE 221H Texas A&M University.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
City Cluster Quickstart Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU 2010/05/11.
Setup Environment: Instructions for CS1520 Server Setup Nils Murrugarra
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
Object Oriented Programming COP3330 / CGS5409.  Assignment Submission Overview  Compiling with g++  Using Makefiles  Misc. Review.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
Unix Environment Basics CSCI-1302 Lakshmish Ramaswamy.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
Dayu Zhang 9/10/2014 Lab03. Outline Brief Review of the 4 Steps in Hello.cpp Example Understand endl and \n Understand Comment Programming Exercise -
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Object Oriented Programming COP3330 / CGS5409.  Assignment Submission Overview  Compiling with g++  Using Makefiles  Misc. Review.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Review Why do we use protection levels? Why do we use constructors?
GRID COMPUTING.
ENEE150 Discussion 01 Section 0101 Adam Wang.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
How to Work on your METEO 473 codes from your PC at home
First Day in Lab Making a C++ program
Tutorial of Unix Command & shell scriptS 5027
CS1010: Intro Workshop.
Getting started with CentOS Linux
Web Programming Essentials:
Andy Wang Object Oriented Programming in C++ COP 3330
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
Welcome to CSCI 230! Problem Solving using C
Assignment Preliminaries
Practice #0: Introduction
Using Fetch to Upload Your Website Source Files
Web Programming Essentials:
Run Java file with Window cmd
Getting started with CentOS Linux
CGS 3175: Internet Applications Fall 2009
Andy Wang Object Oriented Programming in C++ COP 3330
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

Dayu Zhang 9/3/2014 Lab01

Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website

Lab Login Username: First 2 letters of LAST NAME, followed by First 2 letters of FIRST NAME, followed by Last 4 digits of CUNYfirst ID# Password: 8 digits CUNYfirst ID#

Lab Grading Policy Total Points: 30 Points 10 Assignments: 20 Points (2 Points Each) 10 Quizzes: 10 Points (1 Point Each)

Assignment Submission Assignments should be submitted to: Subject should be: CS111 - Your Last Name, Your First Name - Assignment Number E.g. CS111 - Zhang, Dayu - Assignment01 Put your name on the first line of your program. E.g. //Name: Zhang, Dayu Assignments should be submitted by deadline. No late submission is accepted. Submitted programs that cannot be compiled will get 0 point.

Quiz All quizzes are on Wednesday. No make-up quiz is allowed.

Venus Account Hostname: venus.cs.qc.cuny.eduvenus.cs.qc.cuny.edu Username: First 2 letters of LAST NAME, followed by First 2 letters of FIRST NAME, followed by Last 4 digits of CUNYfirst ID# Password: 8 digits CUNYfirst ID# Example: John Doe, CUNYfirst ID# Username: dojo5678 Password:

SSH Secure Shell Client Icon on lab desktop

SSH Secure Shell Client click

SSH Secure Shell Client Type Host Name venus.cs.qc.cuny.edu Type your username, then click “Connect” click

SSH Secure Shell Client click

SSH Secure Shell Client Enter your password, then click “OK” click

SSH Secure Shell Client You should see this

For Mac and Linux Users Go to Terminal If your username is dojo5678, enter: ssh

Basic UNIX Commands mkdir dirname --- make a new directory dirname E.g. mkdir CS111 cd dirname --- change directory to dirname E.g. cd CS111 cd --- go to your home directory cd move up one directory in the hierarchy (there is a space between cd and..) ls --- lists your files in current directory rm filename --- removes a file

vi vi filename --- If the file named filename exists, then the first page of the file will be displayed; if the file does not exist, then a new file is created. vi editor has two modes of operation: Command mode Insert mode If currently in Command mode, type i to go to Insert mode If currently in Insert mode, type ESC to go to Command mode

vi In Command mode: :wq --- save the file and quit vi :q --- quit vi when the file has not been modified :q! --- disregard any modification and quit vi

Create and Compile Hello.cpp g++ Hello.cpp --- compile Hello.cpp./a.out --- run program

SSH Secure File Transfer Client Upload files to Venus Download files from Venus Icon on lab desktop For Mac users, use scp to download from Venus. E.g. scp ~/Desktop