Bio 271 Lecture 1. Robert Gentleman Office M1B28, Mayer Building at DFCI Phone: 617-632-5250

Slides:



Advertisements
Similar presentations
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Advertisements

Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
LINUX System : Lecture 3 (English-Only Lecture) Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
1 Processes and Pipes COS 217 Professor Jennifer Rexford.
Review: Process Management Objective: –Enable fair multi-user, multiprocess computing on limited physical resources –Security and efficiency Process: running.
Basic Input Output System
Operating Systems: Software in the Background
Linux+ Guide to Linux Certification, Second Edition
1 Chapter 4 Threads Threads: Resource ownership and execution.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Grep, comm, and uniq. The grep Command The grep command allows a user to search for specific text inside a file. The grep command will find all occurrences.
Systems Software Operating Systems.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
Introduction to UNIX/Linux Exercises Dan Stanzione.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Unix Command Project Justin Rogers for LS 560 Spring 2015.
Systems Software & Operating systems
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Software GCSE COMPUTING.
CSE 101 Spring 2000 Operating Systems. The Tasks of the Operating System Single Task Multitasking.
Introduction to Unix – CS 21 Lecture 9. Lecture Overview Shell description Shell choices History Aliases Topic review.
System Software CSCI-N 100 Department of Computer and Information Science.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
COP3502: Introduction to Computer Science Yashas Shankar.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Workflows II: Collect feedback for a file How to collect feedback Collecting feedback for a file can be challenging. However, if you save a file to a document.
OPERATING SYSTEMS BY LANDON, KYLE, AND ETHAN. WHAT IS THEIR PURPOSE? (1) manage the computer's resources, such as the central processing unit (2) establish.
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
Chapter 3: Linux & Processes Let’s look at some data.
1 Lecture 6 Introduction to Process Management COP 3353 Introduction to UNIX.
Chapter 28 Sending and Receiving Faxes.  Fax Services lets you send, receive, and manage faxes using your computer's fax modem  You can transmit documents.
By Corey Stokes 9/14/10. What is grep? Global Regular Expression Print grep is a command line search utility in Unix Try: Search for a word in a.cpp file.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
Using the division's Compute-servers PubH /17/14.
– Introduction to the Shell 1/21/2016 Introduction to the Shell – Session Introduction to the Shell – Session 3 · Job control · Start,
Digital Communication Systems Comp Functions of the Operating System.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Processes and Threads MICROSOFT.  Process  Process Model  Process Creation  Process Termination  Process States  Implementation of Processes  Thread.
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Page 1 Monitoring, Optimization, and Troubleshooting Lecture 10 Hassan Shuja 11/30/2004.
Page 1 of 13 Beginner’s Tutorial – The Monalog Sanitizer What data does Monalog collect from you?  Monalog collects what you type on the command line.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
ITX2000 Remote hosts and web servers Prof. Xiaohong (Sharon) Gao Room: T125 Ext: Week 14 – UNIX vi text editor.
(Part 1). Before we get started…  Why Facebook? Built in Audience ○ 800 Million users as of July 1 st 2011 ○ Users “share” applications with each other,
Systems Software / The Operating System CSC October 14, 2010.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Computers: Tools for an Information Age
Operating System Review
The Desktop Screen image displayed when a PC starts up A metaphor
Threads, Concurrency, and Parallelism
The Linux Operating System
Operating System Review
CS190/295 Programming in Python for Life Sciences: Lecture 1
Operating System Review
Chapter 3: Processes.
Lab 6: Process Management
Software - Operating Systems
Day 5 Emacs Editor David A. Gaitros Department of Computer Science
Lecture 6 Introduction to Process Management
Presentation transcript:

Bio 271 Lecture 1

Robert Gentleman Office M1B28, Mayer Building at DFCI Phone: Office Hours: TBA It is easiest to contact me by

TA: Beiying Ding Office hours: TBA Office: TBA

How do computers work? Memory RAM Harddisk bus peripheral devices

Multiusers/multiprocessors Several users sharing one processor job control One user with multiple processors threads, fork Multiple users multiple processors

Memory concerns If your job requires more memory than the computer has RAM then swapping/paging occurs This is a relatively slow process Job control uses pretty much the same mechanism Why should you run jobs sequentially rather than concurrently?

Some Unix commands Processes on Unix can either run in the foreground (you don’t get the prompt back) or in the background (you can go on while they execute). Processes running in background are sometimes called batch jobs. nice : a Unix command to use for background jobs.

Grep grep this searches a file (or several files) for instances of a particular character string you have a number of ways of expressing the character string (regular expressions) grep comes in many flavors (egrep, fgrep) but I don’t believe there is much in it check out the man page….

Job control ps : a Unix command to tell you what processes are running. On many machines, but not hsph, top also runs. ps combined with grep can let you see what is going on. Use ssh to go to hsph and then use ps and grep to find all netscape processes that are running.

R and Word Find R and start it on your computer. Issue the command plot(rnorm(10), rnorm(10)) Start Word with a new document. Copy the plot to the Word document. You might need to save it as a file and then open the file.

Emacs Locate and start emacs on the PC Try starting emacs on hsph…what happens create a file called myfirstday.tex What information do you need?

Finding things on Unix find : a useful function, but some think hard to use locate : a much simpler function which : tells you which version of a command will run On Windows, under the start button you should see a tab for Search

Try the following on HSPH find /usr1/users/biostat/rgentlem/madman -name ‘*.R’ | xargs grep genefilter what does this command do? what does xargs do? what does grep do?