One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are:

Size: px
Start display at page:

Download "One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are:"

Transcription

1 INTRODUCTION Your first daily assignment is to modify the program test.py to make it more friendly. But first, you need to learn how to edit programs quickly and efficiently. That means using the keyboard exclusively, forgoing the mouse. So if you find yourself reaching for the mouse, stop! An editor is a program that allows you to enter text into a file. Unlike word processors, such as Microsoft Word, editors are optimized for quickly and efficiently entering the text that makes up a computer program. Such program text is known as source code. In this class, you will use the editor named vim to efficiently place Python source code into a file. Python is a programming language and it is used to write computer programs. Computer programs that are written using text that Python understands are known as Python programs. One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are: system commands editor commands program commands System commands are the commands you enter into the terminal window to start things off. Editor commands are the commands used to interact with the editor when placing the text of a computer program into a file. Program commands are the actual lines of text in the computer program. Complicated, no? Don t worry. As with all things associated with writing computer programs, things become clearer and easier with practice. What you need to do now is, whenever you are instructed to issue a command, decide exactly what kind of command it is, system, editor, or program. LEARNING vim We ll start by learning the editor named vim. The easiest way to learn vim is to run the program vimtutor. To do so, boot your computer into Linux or UNIX and open up a terminal window. Then, in the terminal, run the command: vimtutor Note that the command vimtutor is a system command. It instructs your computer to run the program named vimtutor. The vimtutor program is a computer program that teaches you how to use the vim editor. You must learn the vim editor as your first quiz will question you on how to efficiently enter source code into a file using vim. Vim HIGH POINTS You will have noticed that vim, unlike say Microsoft Word, has two modes, insert and edit. The reason is that most programmers spend a vast majority of their time editing old code as compared to inserting new 1

2 code. By separating inputting and editing, the edit commands can be made very efficient, in terms of the keystrokes needed to accomplish a task. Consider deleting a line in vim versus Word. In vim, a simple dd, anywhere on the line, suffices. In Word, you must select a line with the mouse (not always easy to do), the switch to the keyboard and type control-x. There are keyboard shortcuts for Word that speed up selecting a line, but it still takes considerable effort to delete a line in Word. Remember these general rules: c means change lines and words d means delete lines and words x means delete character r means replace character h means go left (it is the leftmost of keys h, j, k, and l) l means go right (it is the rightmost of keys h, j, k, and l)? means search upwards (it is above /). repeats your last edit command i, I, a, A, o, O are insert commands the escape key gets you out of insert mode Note that the arrow keys and keys like Page-Up also work as expected. On the cs150 home page, there are links to other vim tutorials and a vim command cheat sheet. MODIFYING AN EXISTING PROGRAM Here is an example Python program: def main(): print("hello, world!") x = int(input("give me a number! ")) print(x+1,"is my favorite number!!") main() You can tell, using simple logic, that this program, when run, is likely going to say: hello, world! and then ask to be given a number. If 15 is given as the number, then it seems as if the program will then say that 2

3 16 is my favorite number!! Your task is to enter this program into a file named hello.py and test it. Next, you will modify it so that it asks for a name and then prints hello xxxxx, where xxxxx is the given name. It also should then say that its favorite number is the square of the given number rather than one more than the given number. Hint: the following code asks for and gets, then prints, a word: s = input("type a word: ") print("you typed", s) THE EDIT AND TEST CYCLE A very convenient way to change a program and see if your changes worked is to start a second terminal. Use the mouse (OK, we ll let you use the mouse just this once) and open up a second terminal window. You can switch between the two windows by typing Alt-Tab (hold the Alt key down, tap the Tab key, and release both). Practice switching until the keystrokes are swift and natural. In one windows, change to the cs150 directory. A directory is the same thing as a folder. Run these two commands to do so: cd cd cs150 Again, these commands are system commands. The cd command by itself says go to your top level directory. The cd cs150 command says move into the cs150 directory that hangs off the current directory. You will learn more on these kinds of commands in future activities. Now create a new directory called activities with the command: mkdir activities Move into this newly created directory by running the command: cd activities Now create a directory named vim and move into it (you should pattern match on what we did to create and move into the activities directory). If you did this right, running the command: pwd 3

4 should yield: /home/ubuntu/cs150/activities/vim or similar. Next switch to the other window and enter the command: cd /cs150/activities/vim The is an abbreviation for you home directory and the forward slashes separate directory names. Thus, this command says to change to the vim directory which hangs off the activities directory which, in turn, hangs off the cs150 directory which hangs off your home directory. Now, in one window, issue the command: vim hello.py This opens up a file named hello.py in which you can place the program. Make your changes and save the file with the command :w and don t forget to press the Enter key after the w. Note that you will not be exiting vim. In the other window (move to the other window using Alt-Tab, not the mouse, because the mouse is evil), type the command: python3 hello.py When you run this command, you should see something like: ubuntu@ubuntu: /cs150/activities/vim$ python3 hello.py hello, world! give me a number! is my favorite number!! ubuntu@ubuntu: /cs150$ Note that the text: ubuntu@ubuntu: /cs150/activities/vim$ is the system prompt; it also tells you that you are in the cs150/activities/vim directory, just like the pwd command would. The text: python3 hello.py 4

5 is the system command you type in response to the system prompt. The text hello, world! give me a number! is my favorite number!! is the output from the Python program hello.py as it is running; I typed in the number 41 and then pressed the Enter key to input the number. If you see an error in the output, switch to the other window and make any changes as necessary. After saving these changes, switch windows again and rerun the python3 command by tapping the up-arrow key once and then pressing the Enter key. Repeat the process until you get hello.py working correctly. Once it is working properly, try to change it so that it asks for a name and prints the square of the entered number. Once you do that, you should get an interaction like this: ubuntu@ubuntu: /cs150$ python3 hello.py What is your name? John hello John give me a number! is my favorite number!! ubuntu@ubuntu: /cs150$ If you can t get hello.py working properly, ask for help on the mailing list. You should successfully complete this activity before taking the first quiz and exam. 1 PREPARING FOR THE TEST Since you will not have internet access during your exams, run the linux command to download the course web pages: get.web This will create a directory named web that hangs off your home directory. For those of you on a Mac, you may get an error saying the command wget was not found. If so, run these commands: cd /bin curl -O troll.cs.ua.edu/cs150/wget chmod +x wget and then re-run the get.web command. Next, open your browser and then select File - Open File and browse to the file index.html that resides in the web directory. You will see a copy of the all the cs150 web pages. Be sure to bookmark the page with a tag named local. 5

6 To test that you did this correctly, disconnect from the internet and see if you can browse the pages using the local bookmark. You should, of course, be able to. SUBMISSION To submit your activity, make sure you are in the cs150 directory. Run the command: activity cs150 vim You will be asked for a guest password. Your instructor will give you the correct password in class. Note that when you type your password, it will look as if nothing is happening. Don t worry, something is. Press the Enter key when you are finished typing in the password. 6

LAB #5 Intro to Linux and Python on ENGR

LAB #5 Intro to Linux and Python on ENGR LAB #5 Intro to Linux and Python on ENGR 1. Pre-Lab: In this lab, we are going to download some useful tools needed throughout your CS career. First, you need to download a secure shell (ssh) client for

More information

CMSC 201 Spring 2017 Lab 01 Hello World

CMSC 201 Spring 2017 Lab 01 Hello World CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the

More information

CHE3935. Lecture 1. Introduction to Linux

CHE3935. Lecture 1. Introduction to Linux CHE3935 Lecture 1 Introduction to Linux 1 Logging In PuTTY is a free telnet/ssh client that can be run without installing it within Windows. It will only give you a terminal interface, but used with a

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. The doc is

More information

CMSC 201 Spring 2018 Lab 01 Hello World

CMSC 201 Spring 2018 Lab 01 Hello World CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges

More information

Linux Tutorial #1. Introduction. Login to a remote Linux machine. Using vim to create and edit C++ programs

Linux Tutorial #1. Introduction. Login to a remote Linux machine. Using vim to create and edit C++ programs Linux Tutorial #1 Introduction The Linux operating system is now over 20 years old, and is widely used in industry and universities because it is fast, flexible and free. Because Linux is open source,

More information

Instructions PLEASE READ (notice bold and underlined phrases)

Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercises wk02 Lab Basics First Lab of the course Required Reading Java Foundations - Section 1.1 - The Java Programming Language Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercise

More information

CS1110 Lab 1 (Jan 27-28, 2015)

CS1110 Lab 1 (Jan 27-28, 2015) CS1110 Lab 1 (Jan 27-28, 2015) First Name: Last Name: NetID: Completing this lab assignment is very important and you must have a CS 1110 course consultant tell CMS that you did the work. (Correctness

More information

15-122: Principles of Imperative Computation

15-122: Principles of Imperative Computation 15-122: Principles of Imperative Computation Lab 0 Navigating your account in Linux Tom Cortina, Rob Simmons Unlike typical graphical interfaces for operating systems, here you are entering commands directly

More information

INSTALLING AN SSH / X-WINDOW ENVIRONMENT ON A WINDOWS PC. Nicholas Fitzkee Mississippi State University Updated May 19, 2017

INSTALLING AN SSH / X-WINDOW ENVIRONMENT ON A WINDOWS PC. Nicholas Fitzkee Mississippi State University Updated May 19, 2017 INSTALLING AN SSH / X-WINDOW ENVIRONMENT ON A WINDOWS PC Installing Secure Shell (SSH) Client Nicholas Fitzkee Mississippi State University Updated May 19, 2017 The first thing you will need is SSH. SSH

More information

Laboratory Exercise #0

Laboratory Exercise #0 Laboratory Exercise #0 This assignment focuses on the mechanics of installing and using Python. The deadline for Mimir submission is 11:59 PM on Monday, January 8. 1. Complete the steps given below to

More information

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes Installing and configuring Apache 2 in Linux Please note that dashes (-) are used to indicate what you should type, they should not be included in the command. Install Linux on an old desktop, dual core

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.)

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) 1 Introduction 1 CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) This laboratory is intended to give you some brief experience using the editing/compiling/file

More information

When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:

When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: Linux Tutorial How to read the examples When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: $ application file.txt

More information

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Contents 1 An Introduction to C++, Unix, SSH and Komodo Edit 1.1 Introduction 1.2 The C++ Language 1.2.1 A Brief Introduction 1.2.1.1 Recommended

More information

to arrive at the system information display. In MacOS X use the menus

to arrive at the system information display. In MacOS X use the menus The Math/CS 466/666 Linux Image in VirtualBox This document explains how to install the Math/CS 466/666 Linux image onto VirtualBox to obtain a programming environment on your personal computer or laptop

More information

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 3: SEP. 13TH INSTRUCTOR: JIAYIN WANG

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 3: SEP. 13TH INSTRUCTOR: JIAYIN WANG CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 3: SEP. 13TH INSTRUCTOR: JIAYIN WANG 1 Notice Reading Assignment Chapter 1: Introduction to Java Programming Homework 1 It is due this coming Sunday

More information

Step 1: Syncing Your Library. After installing One Drive for Business, you will be prompted to Sync a library. NEXT: Select the Library URL

Step 1: Syncing Your Library. After installing One Drive for Business, you will be prompted to Sync a library. NEXT: Select the Library URL Step 1: Syncing Your Library After installing One Drive for Business, you will be prompted to Sync a library. NEXT: Select the Library URL For this, we want to choose the URL that connects to your Office

More information

Temple University Computer Science Programming Under the Linux Operating System January 2017

Temple University Computer Science Programming Under the Linux Operating System January 2017 Temple University Computer Science Programming Under the Linux Operating System January 2017 Here are the Linux commands you need to know to get started with Lab 1, and all subsequent labs as well. These

More information

Café Soylent Green Chapter 12

Café Soylent Green Chapter 12 Café Soylent Green Chapter 12 This version is for those students who are using Dreamweaver CS6. You will be completing the Forms Tutorial from your textbook, Chapter 12 however, you will be skipping quite

More information

Tutorial 1: Unix Basics

Tutorial 1: Unix Basics Tutorial 1: Unix Basics To log in to your ece account, enter your ece username and password in the space provided in the login screen. Note that when you type your password, nothing will show up in the

More information

Once you have installed MobaXterm, open MobaXterm. Go to Sessions -> New Session, and click on the SSH icon.

Once you have installed MobaXterm, open MobaXterm. Go to Sessions -> New Session, and click on the SSH icon. Lab 1 In order to get credit for the lab, you need to be checked off by the end of lab. For nonzero labs, you can earn a maximum of 3 points for lab work completed outside of lab time, but you must finish

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

Windows 8.1 User Guide for ANU Staff

Windows 8.1 User Guide for ANU Staff Windows 8.1 User Guide for ANU Staff This guide has been created to assist with basic tasks and navigating Windows 8.1. Further tips for using Windows 8.1 can be found on the IT Services website, or by

More information

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Objective: Learn some basic aspects of the UNIX operating system and how to use it. What is UNIX? UNIX is the operating system used by most computers

More information

Image Sharpening. Practical Introduction to HPC Exercise. Instructions for Cirrus Tier-2 System

Image Sharpening. Practical Introduction to HPC Exercise. Instructions for Cirrus Tier-2 System Image Sharpening Practical Introduction to HPC Exercise Instructions for Cirrus Tier-2 System 2 1. Aims The aim of this exercise is to get you used to logging into an HPC resource, using the command line

More information

Using IDLE for

Using IDLE for Using IDLE for 15-110 Step 1: Installing Python Download and install Python using the Resources page of the 15-110 website. Be sure to install version 3.3.2 and the correct version depending on whether

More information

Exercise sheet 1 To be corrected in tutorials in the week from 23/10/2017 to 27/10/2017

Exercise sheet 1 To be corrected in tutorials in the week from 23/10/2017 to 27/10/2017 Einführung in die Programmierung für Physiker WS 207/208 Marc Wagner Francesca Cuteri: cuteri@th.physik.uni-frankfurt.de Alessandro Sciarra: sciarra@th.physik.uni-frankfurt.de Exercise sheet To be corrected

More information

1) Log on to the computer using your PU net ID and password.

1) Log on to the computer using your PU net ID and password. CS 150 Lab Logging on: 1) Log on to the computer using your PU net ID and password. Connecting to Winter: Winter is the computer science server where all your work will be stored. Remember, after you log

More information

CAL 9-2: Café Soylent Green Chapter 12

CAL 9-2: Café Soylent Green Chapter 12 CAL 9-2: Café Soylent Green Chapter 12 This version is for those students who are using Dreamweaver CC. You will be completing the Forms Tutorial from your textbook, Chapter 12 however, you will be skipping

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

Building TPS Web Pages with Dreamweaver

Building TPS Web Pages with Dreamweaver Building TPS Web Pages with Dreamweaver Title Pages 1. Folder Management 7 2. Defining Your Site 8-11 3. Overview of Design Features 12-22 4. Working with Templates 23-25 5. Publishing Your Site to the

More information

Using the Zoo Workstations

Using the Zoo Workstations Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

Introduction to Dreamweaver

Introduction to Dreamweaver COMMUNITY TECHNICAL SUPPORT Introduction to Dreamweaver What is Dreamweaver? Dreamweaver helps you to create Web pages while it codes html (and more) for you. It is located on the bottom tray or in the

More information

Command Line Interface The basics

Command Line Interface The basics Command Line Interface The basics Marco Berghoff, SCC, KIT Steinbuch Centre for Computing (SCC) Funding: www.bwhpc-c5.de Motivation In the Beginning was the Command Line by Neal Stephenson In contrast

More information

The Fundamentals. Document Basics

The Fundamentals. Document Basics 3 The Fundamentals Opening a Program... 3 Similarities in All Programs... 3 It's On Now What?...4 Making things easier to see.. 4 Adjusting Text Size.....4 My Computer. 4 Control Panel... 5 Accessibility

More information

Intermediate Programming, Spring Misha Kazhdan

Intermediate Programming, Spring Misha Kazhdan 600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad

More information

Introduction to Unix - Lab Exercise 0

Introduction to Unix - Lab Exercise 0 Introduction to Unix - Lab Exercise 0 Along with this document you should also receive a printout entitled First Year Survival Guide which is a (very) basic introduction to Unix and your life in the CSE

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Directions for Setting up Remote Desktop Connection for PC:

Directions for Setting up Remote Desktop Connection for PC: Directions for Setting up Remote Desktop Connection for PC: BEFORE YOU BEGIN, MAKE SURE YOU HAVE: COMPUTER NAME USERNAME TEMPORARY PASSWORD 1 4/19/2016 Creating a Shortcut to your Concourse Hosting remote

More information

Using Dreamweaver. 4 Creating a Template. Logo. Page Heading. Home About Us Gallery Ordering Contact Us Links. Page content in this area

Using Dreamweaver. 4 Creating a Template. Logo. Page Heading. Home About Us Gallery Ordering Contact Us Links. Page content in this area 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan that is shown below. Logo Page Heading

More information

Section 6: Dreamweaver

Section 6: Dreamweaver Section 6: Dreamweaver 1 Building TPS Web Pages with Dreamweaver Title Pages 1. Dreamweaver Storyboard Pages 3 2. Folder Management 4 3. Defining Your Site 5-8 4. Overview of Design Features 9-19 5. Working

More information

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links Using Dreamweaver CC 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Table of Contents. Adding Files Select File...20 Metadata...20 A to Z...21

Table of Contents. Adding Files Select File...20 Metadata...20 A to Z...21 ptools Manual Table of Contents Welcome to ptools... 1 To login:...1 Adding in Active X... 2 To Install XStandard:...2 Locations... 2 New Categories or Locations...2 A to Z...5 Primary Document...5 Documents...

More information

Getting Started with Python and the PyCharm IDE

Getting Started with Python and the PyCharm IDE New York University School of Continuing and Professional Studies Division of Programs in Information Technology Getting Started with Python and the PyCharm IDE Please note that if you already know how

More information

Lab 1: Getting Started with Linux The Extremely Illustrated Version. Graham Northup

Lab 1: Getting Started with Linux The Extremely Illustrated Version. Graham Northup Lab 1: Getting Started with Linux The Extremely Illustrated Version Graham Northup In today s lab, we ll be getting started with Linux and, perhaps more importantly, it s terminal. As we will be using

More information

Find out where you currently are in the path Change directories to be at the root of your home directory (/home/username) cd ~

Find out where you currently are in the path Change directories to be at the root of your home directory (/home/username) cd ~ CIS 105 Working with directories You have using directories in a Windows environment extensively. Often in Windows we are calling them folders. They are important in order to organize our files. It is

More information

AMS 200: Working on Linux/Unix Machines

AMS 200: Working on Linux/Unix Machines AMS 200, Oct 20, 2014 AMS 200: Working on Linux/Unix Machines Profs. Nic Brummell (brummell@soe.ucsc.edu) & Dongwook Lee (dlee79@ucsc.edu) Department of Applied Mathematics and Statistics University of

More information

Remote Access to the CIS VLab (308)

Remote Access to the CIS VLab (308) Remote Access to the CIS VLab (308) This Howto shows to remotely access the CIS 90 Arya VMs (virtual machines) in the CIS Virtual Lab (VLab). The CIS VLab was developed to remotely provide Distance Education

More information

Vim: A great tool for your toolbox! 1/13

Vim: A great tool for your toolbox! 1/13 Vim: A great tool for your toolbox! 1/13 History Originally created for the Unix operating system by Bill Joy (one of the founders of Sun) Created a visual interface for the original ex line editor on

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Intro to HPC Exercise

Intro to HPC Exercise Intro to HPC Exercise Lab Exercise: Introduction to HPC The assumption is that you have already tested your Amazon Web Service Elastic Compute Cloud (EC2) virtual machines chosen for the LCI hands on exercises.

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

EECS 211 Lab 2. Getting Started. Getting the code. Windows. Mac/Linux

EECS 211 Lab 2. Getting Started. Getting the code. Windows. Mac/Linux EECS 211 Lab 2 Control Statements, Functions and Structures Winter 2017 Today we are going to practice navigating in the shell and writing basic C++ code. Getting Started Let s get started by logging into

More information

Respondus: Instructions for Faculty (631) In this document: What is Respondus? Downloading and installing Respondus:

Respondus: Instructions for Faculty (631) In this document: What is Respondus? Downloading and installing Respondus: 1 Respondus: Instructions for Faculty (631) 632-2777 Teaching, Learning + Technology Stony Brook University In this document: 1. What is Respondus? 2. Downloading and installing Respondus 3. Changing where

More information

CS 460 Linux Tutorial

CS 460 Linux Tutorial CS 460 Linux Tutorial http://ryanstutorials.net/linuxtutorial/cheatsheet.php # Change directory to your home directory. # Remember, ~ means your home directory cd ~ # Check to see your current working

More information

: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.

: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group. CMPS 12L Introduction to Programming Lab Assignment 2 We have three goals in this assignment: to learn about file permissions in Unix, to get a basic introduction to the Andrew File System and it s directory

More information

Part I. Introduction to Linux

Part I. Introduction to Linux Part I Introduction to Linux 7 Chapter 1 Linux operating system Goal-of-the-Day Familiarisation with basic Linux commands and creation of data plots. 1.1 What is Linux? All astronomical data processing

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

More information

Plotting with an introduction to functions

Plotting with an introduction to functions Plotting with CERN@school: an introduction to functions Twitter: @nicoleshearer93 N. Shearer a, T. Whyntie b, c a Durham University, b Langton Star Centre, c Queen Mary University of London Coding with

More information

capvpn Instructions for Windows

capvpn Instructions for Windows capvpn Instructions for Windows Capilano University offers faculty and staff the capvpn service so they may access internal only resources such as Frontlines, Argos, and Banner from anywhere in the world.

More information

Using Microsoft Word. Text Editing

Using Microsoft Word. Text Editing Using Microsoft Word A word processor is all about working with large amounts of text, so learning the basics of text editing is essential to being able to make the most of the program. The first thing

More information

Blackboard s My Content Area Using your Private Central File Repository

Blackboard s My Content Area Using your Private Central File Repository University of Southern California Academic Information Services Blackboard s My Content Area Using your Private Central File Repository The My Content area in Blackboard acts as each instructor s private

More information

Learn How to Set Options in ProFile

Learn How to Set Options in ProFile Welcome to ProFile The options selected by default when you first install ProFile work well for most preparers. However, you may want to set certain options to make ProFile work even better for your business.

More information

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs) EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs) In this tutorial, we will work through the process of setting up a virtual machine on your home desktop/laptop, that reflects the working environment

More information

Lab 1: Accessing the Linux Operating System Spring 2009

Lab 1: Accessing the Linux Operating System Spring 2009 CIS 90 Linux Lab Exercise Lab 1: Accessing the Linux Operating System Spring 2009 Lab 1: Accessing the Linux Operating System This lab takes a look at UNIX through an online experience on an Ubuntu Linux

More information

Intel Edison Tutorial: Introduction to Vim 1

Intel Edison Tutorial: Introduction to Vim 1 Intel Edison Tutorial: Introduction to Vim Intel Edison Tutorial: Introduction to Vim 1 Table of Contents Introduction... 3 Things Needed... Error! Bookmark not defined. Introduction... 4 What Is Vim?...

More information

Contents. Getting Started...1. Managing Your Drives...9. Backing Up & Restoring Folders Synchronizing Folders...52

Contents. Getting Started...1. Managing Your Drives...9. Backing Up & Restoring Folders Synchronizing Folders...52 Contents Getting Started.....................................................1 Installing the Software...........................................1 Using the Maxtor System Tray Icon................................6

More information

CSE 391 Editing and Moving Files

CSE 391 Editing and Moving Files CSE 391 Editing and Moving Files Tips for moving files around to/from attu slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/391 1 Remote Connections:

More information

You should see something like this, called the prompt :

You should see something like this, called the prompt : CSE 1030 Lab 1 Basic Use of the Command Line PLEASE NOTE this lab will not be graded and does not count towards your final grade. However, all of these techniques are considered testable in a labtest.

More information

Windows 8.1 User Guide for ANU Staff

Windows 8.1 User Guide for ANU Staff Windows 8.1 User Guide for ANU Staff This guide has been created to assist with basic tasks and navigating Windows 8.1. Further tips for using Windows 8.1 can be found on the IT Services website, or by

More information

Remote Access Instructions. remote.gpmlaw.com

Remote Access Instructions. remote.gpmlaw.com Remote Access Instructions Citrix XenApp 7.8 is the mostly widely-used solution to provide remote access to users while working out of the office. This latest version is more secure and optimized for a

More information

CS 1301 Fall 2008 Lab 2 Introduction to UNIX

CS 1301 Fall 2008 Lab 2 Introduction to UNIX CS 1301 Fall 2008 Lab 2 Introduction to UNIX Due: Friday, September 19 th, at 6 PM (Monday, September 22 nd for 10% off) Notes: Do not wait until the last minute to do this assignment in case you run into

More information

GeographyPortal Instructor Quick Start World Regional Geography Without Subregions, Fifth Edition Pulsipher

GeographyPortal Instructor Quick Start World Regional Geography Without Subregions, Fifth Edition Pulsipher GeographyPortal Instructor Quick Start World Regional Geography Without Subregions, Fifth Edition Pulsipher For technical support call 1-800-936-6899 GeographyPortal Quick Start for Pulsipher, World Regional

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011 Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:

More information

Installing Python 3 on Your Personal Computer

Installing Python 3 on Your Personal Computer Installing Python 3 on Your Personal Computer Comp 112 Wesleyan University Fall 2017 Introduction In this course we will be writing computer programs using the programming language Python. Although you

More information

Using the Microsoft Remote Desktop on non-windows devices

Using the Microsoft Remote Desktop on non-windows devices Using the Microsoft Remote Desktop on non-windows devices You can use the free Microsoft Remote Desktop Client to connect to the DGLPM Server from virtually any Apple Mac, iphone, ipad, or Android device

More information

A Brief Introduction to the Linux Shell for Data Science

A Brief Introduction to the Linux Shell for Data Science A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like

More information

Adobe Dreamweaver CS5 Tutorial

Adobe Dreamweaver CS5 Tutorial Adobe Dreamweaver CS5 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

Getting Help in Microsoft Office

Getting Help in Microsoft Office LESSON 3 Getting Help in Microsoft Office In this lesson, you learn how to access and use the Help system in Microsoft Office. HELP: WHAT S AVAILABLE? Microsoft Office supplies a Help system that makes

More information

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016 Linux Boot Camp Jack, Matthew, Nishad, Stanley 6 Sep 2016 1 Connecting SSH Windows users: MobaXterm, PuTTY, SSH Tectia Mac & Linux users: Terminal (Just type ssh) andrewid@shark.ics.cs.cmu.edu 2 Let s

More information

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

ENCM 339 Fall 2017: Editing and Running Programs in the Lab page 1 of 8 ENCM 339 Fall 2017: Editing and Running Programs in the Lab Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Introduction This document is a

More information

Caja File Manager. Desktop User Guide

Caja File Manager. Desktop User Guide Caja File Manager Desktop User Guide Desktop User Guide» Working with Files This chapter describes how to use the Caja file manager. Introduction Spatial Mode Browser Mode Opening Files Searching For Files

More information

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) First Name: Last Name: NetID:

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28)   First Name: Last Name: NetID: CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) http://www.cs.cornell.edu/courses/cs1110/2016sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Goals. Learning a computer language is a lot like learning

More information

GEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL

GEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL GEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL Objectives: This lab is designed to introduce you to Postgresql, a powerful database management system. This exercise covers: 1. Starting

More information

Step 1: Adding Darwin to your computer

Step 1: Adding Darwin to your computer Step 1: Adding Darwin to your computer You MUST be on GoucherWIFI. If you receive any network connection problems at any point, double-check your WIFI connection. Remove/Move GoucherGuest and GoucherMultimedia

More information

Instructions for Multimedia Presentations (Movies/Pictures)

Instructions for Multimedia Presentations (Movies/Pictures) (Movies/Pictures) Fast loading of presentations in PowerPoint and guaranteed playback of content is our goal. To that end, we are providing you with the following step-by-step instructions on how to compress

More information

9 and 11-Jan CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial. FCS Computing Environment, SVN Tutorial

9 and 11-Jan CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial. FCS Computing Environment, SVN Tutorial Lecture 1 p.1 Faculty of Computer Science, Dalhousie University CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial 9 and 11-Jan-2019 Lab Instructor: Dijana Kosmajac,

More information

Customizing DAZ Studio

Customizing DAZ Studio Customizing DAZ Studio This tutorial covers from the beginning customization options such as setting tabs to the more advanced options such as setting hot keys and altering the menu layout. Introduction:

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

oit

oit This handout is for passwordprotecting content on people. umass.edu or courses.umass.edu Web sites. To protect content on www.umass.edu-level sites, see our HTPASSWD to Password- Protect Pages on Campus

More information

How to Use Google. Sign in to your Chromebook. Let s get started: The sign-in screen. https://www.youtube.com/watch?v=ncnswv70qgg

How to Use Google. Sign in to your Chromebook. Let s get started: The sign-in screen. https://www.youtube.com/watch?v=ncnswv70qgg How to Use Google Sign in to your Chromebook https://www.youtube.com/watch?v=ncnswv70qgg Use a Google Account to sign in to your Chromebook. A Google Account lets you access all of Google s web services

More information

The Command Shell. Fundamentals of Computer Science

The Command Shell. Fundamentals of Computer Science The Command Shell Fundamentals of Computer Science Outline Starting the Command Shell Locally Remote Host Directory Structure Moving around the directories Displaying File Contents Compiling and Running

More information

Submitting Assignments

Submitting Assignments Submitting Assignments Blackboard s assignments feature allows the instructor to assign coursework for you to submit electronically. First, you need to locate the assignment. Your instructor will place

More information

COMP s1 Lecture 1

COMP s1 Lecture 1 COMP1511 18s1 Lecture 1 1 Numbers In, Numbers Out Andrew Bennett more printf variables scanf 2 Before we begin introduce yourself to the person sitting next to you why did

More information

EE516: Embedded Software Project 1. Setting Up Environment for Projects

EE516: Embedded Software Project 1. Setting Up Environment for Projects EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment

More information

Windows XP. A Quick Tour of Windows XP Features

Windows XP. A Quick Tour of Windows XP Features Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating

More information