ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.

Slides:



Advertisements
Similar presentations
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Advertisements

ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
1 Introduction to UNIX Ke Liu
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.
Basic linux shell commands and Makefiles. Log on to engsoft.rutgers.edu Open SSH Secure Shell – Quick Connect Hostname: engsoft.rutgers.edu Username/password:
CS 202 Computer Science II Lab Fall 2009 August 27.
T UTORIAL OF U NIX C OMMAND & SHELL SCRIPT S 5027 Professor: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2015.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
A crash course in njit’s Afs
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Computational physics PY2050 Course Details:
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.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Unix Basics Chapter 4.
Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
Vim Editor and Unix Command gcc compiler Computer Networks.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
UNIX Introduction CSCE 221H Texas A&M University.
CGS 3460 Why we choose UNIX n Powerful lMulti-user operating system lGood programming tools Most heavy-duty database management systems started out on.
C programming and compilers. At least 3 ways to compile C Using gcc in UNIX environment via chaos.cs.auckland.ac.nz Using gcc in Cygwin in Windows Using.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
Introduction to Programming Using C An Introduction to Operating Systems.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
Object Oriented Programming COP3330 / CGS5409.  Assignment Submission Overview  Compiling with g++  Using Makefiles  Misc. Review.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
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.
Tutorial Six Linux Basics CompSci Semester Two 2016.
Precept I : Lab Environment, Unix, Bash, Emacs
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.
SEEM3460 Tutorial Unix Introduction.
First Day in Lab Making a C++ program
Tutorial of Unix Command & shell scriptS 5027
CS1010: Intro Workshop.
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
UNIX The Basics Source:
Andy Wang Object Oriented Programming in C++ COP 3330
The Command Prompt Commands are the way to “do things” in Unix
Useful Linux Commands.
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Intro to UNIX System and Homework 1
C Programming Lecture Series
CSCE 206 Lab Structured Programming in C
SEEM3460 Tutorial Unix Introduction Xinshi Lin & Zihao Fu
Tutorial of Unix Command & shell scriptS 5027
Lab 00 Discussion Linux Basics
Using emacs and G++ at U. W.
Video Notes.
Lab 2: Terminal Basics.
CSCE 206 Lab Structured Programming in C
Presentation transcript:

ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150

Welcome to class! Contact information/Office Hours   Office Hours: TBA  Willing to meet outside of discussion and office hours – just ask! Goffin – ENEE150

Grading Main part of the class is actual, physical code  Most of this grade is simply correctness  Make sure match public tests’ format on the projects, makes grading much easier.  Style isn’t THAT important in this class… but I like neat code  If you have sufficient commenting, good variable names, and proper indenting, you’ll get full credit  “Sufficient” commenting is typically one comment per function, then a comment for any non-obvious code  Indent for every new code block!!

Setting up Glue Glue is the system on which we run our programs for this class  Students from 140 should be familiar with it  All programs MUST execute correctly on Glue to get full credit For Linux/OSX users, just use the terminal  Type “ssh into the command line to get onto the machine A bit more tricky for Windows users… Goffin – ENEE150

Setting up Glue: Windows Install PuTTY Host Name  linux.glue.umd.edu Leave all other options alone! Press “Open” Log into glue using UMD ID/password Goffin – ENEE150

Crash Course on Unix Get used to using the command line instead of a graphical interface Two main kinds of objects: files and directories  Files are what you expect  Directories are like folders in Windows Unix uses a directory tree, building from the root down  /etc is the etc directory, which is one level down from root (designated by the backwards slash) Goffin – ENEE150

Crash Course in Unix II Important commands:  cd - change directory  cp - copies file to location  mv - moves file to location  rm - removes file (can remove directory with –r flag)  mkdir - makes a directory  ls – lists all items in the working directory (more detailed listing with –l flag)  ssh - secure connection to another machine  gcc - compiles C file into an executable called “a.out”  man - provides manual on how to use command Goffin – ENEE150

Writing a C Program in Glue Open a file called “helloworld.c” using your favorite text editor  Text editors include vim, emacs, nano… matter of preference Type the following: Include the stdio library Prints the string “Hello world!” followed by a newline Goffin – ENEE150

Writing a C Program in Glue Save the text file Use the command “gcc helloworld.c” to compile a C executable  This executable is called “a.out” To run the executable, type “./a.out” Add a comment to the text file with your name and section, and submit it  Use assignment number 0 Goffin – ENEE150

Submit Command On Glue, you can submit files using the “submit” command The format for submit is year -> semester -> class -> section -> submission number -> file  Submission numbers will be given for each assignment  If you forget this, just type “submit” and the terminal will remind you! Goffin – ENEE150

Further Notes on Submit You can, and probably SHOULD, submit an assignment multiple times  Older submissions will not be overwritten After you’ve submitted, do not modify or save the file.  In case submit has issues, I may need to be able to check the timestamp on the file in Glue Goffin – ENEE150