Lecture 2: Tools & Concepts

Similar documents
Intro to html. --- define every element, attribute, and entity along with the rules for their use

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

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

XHTML & CSS CASCADING STYLE SHEETS

استاد: امیر عسگری چناقلو ترم دوم درس طراحی صفحات وب

What is XHTML? XHTML is the language used to create and organize a web page:

STA 303 / 1002 Using SAS on CQUEST

CS CS Tutorial 2 2 Winter 2018

Scripting Languages Course 1. Diana Trandabăț

Introduction to the Linux Command Line

Unix Basics. Systems Programming Concepts

The Directory Structure

introduction to XHTML

CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Creating A Web Page. Computer Concepts I and II. Sue Norris

Session 1: Accessing MUGrid and Command Line Basics

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Unix tutorial. Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based.

CS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater)

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

Introduction to Linux. Fundamentals of Computer Science

Module 2 (III): XHTML

Introduction to Linux

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

Introduction: What is Unix?

Week 2 Lecture 3. Unix

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C

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

Unix L555. Dept. of Linguistics, Indiana University Fall Unix. Unix. Directories. Files. Useful Commands. Permissions. tar.

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

HTML Overview. With an emphasis on XHTML

Linux Bootcamp Fall 2015

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory.

Advanced HTML Scripting WebGUI Users Conference

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

The Unix Shell. Pipes and Filters

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Introduction to the UNIX command line

CSCI 2132 Software Development. Lecture 4: Files and Directories

Introduction to Unix: Fundamental Commands

UNIX COMMANDS AND SHELLS. UNIX Programming 2015 Fall by Euiseong Seo

Physics REU Unix Tutorial

AMS 200: Working on Linux/Unix Machines

Lab 1 Introduction to UNIX and C

Oxford University Computing Services. Getting Started with Unix

CSCI 2132 Software Development. Lecture 5: File Permissions

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Introduction to HTML5

MBV4410/9410 Fall Bioinformatics for Molecular Biology. More Unix

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

Unix Tutorial Haverford Astronomy 2014/2015

Introduction to Linux Workshop 1

CSC116: Introduction to Computing - Java

CS197U: A Hands on Introduction to Unix

Announcements. Paper due this Wednesday

Mills HPC Tutorial Series. Linux Basics I

Lab Working with Linux Command Line

commandname flags arguments

1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words

UNIX Tutorial One

Lab 2: Linux/Unix shell

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Chapter-3. Introduction to Unix: Fundamental Commands

COSC UNIX. Textbook. Grading Scheme

Practical Session 0 Introduction to Linux

Introduction to Unix - Lab Exercise 0

(from Chapter 5 & 25.6 of the text)

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

CENG 334 Computer Networks. Laboratory I Linux Tutorial

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0

Lab 1 Introduction to UNIX and C

Linux Shell Script. J. K. Mandal

Working With Unix. Scott A. Handley* September 15, *Adapted from UNIX introduction material created by Dr. Julian Catchen

Getting Started with UNIX

Introduction to remote command line Linux. Research Computing Team University of Birmingham

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

Getting your department account

The Command Shell. Fundamentals of Computer Science

Linux/Cygwin Practice Computer Architecture

HTML Overview formerly a Quick Review

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program

Essential Linux Shell Commands

LOG ON TO LINUX AND LOG OFF

Principles of Bioinformatics. BIO540/STA569/CSI660 Fall 2010

Introduction To Linux. Rob Thomas - ACRC

CISC 220 fall 2011, set 1: Linux basics

Introduction to Linux

Part I. Introduction to Linux

Linux Command Line Primer. By: Scott Marshall

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

Introduction to Linux for BlueBEAR. January

You should see something like this, called the prompt :

Python for Astronomers. Week 1- Basic Python

Access: bwunicluster, bwforcluster, ForHLR

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window.

Transcription:

Lecture 2: Tools & Concepts CMPSCI120 Editors WIN NotePad++ Mac Textwrangler 1

Secure Login Go WIN SecureCRT, PUTTY WinSCP Mac Terminal SFTP WIN WinSCP Mac Fugu 2

Intro to unix pipes & filters file system Intro to unix commands see http://mally.stanford.edu/~sr/computing/basic-unix.html use wildcards with caution some commands will not work depending on the system ls lists your files ls -l lists your files in 'long format', which contains lots of useful information, e.g. the exact size of the file, who owns the file and who has the right to look at it, and when it was last modified. ls -a lists all files, including the ones whose filenames begin in a dot, which you do not always want to see. mkdir dirname make a new directory cd dirname change directory. You basically 'go' to another directory, and you will see the files in that directory when you do 'ls'. You always start out in your 'home directory', and you can get back there by typing 'cd' without arguments. 'cd..' will get you one level up from your current position. You don't have to walk along step by step - you can make big leaps or avoid walking around by specifying pathnames. pwd tells you where you currently are. 3

Reading,creating & deleting files cat filename prints the file to your terminal window more filename shows the first part of a file, just as much as will fit on one screen. Just hit the space bar to see more or q to quit. You can use /pattern to search for a pattern. mv filename1 filename2 moves a file (i.e. gives it a different name, or moves it into a different directory (see below) cp filename1 filename2 copies a file rm filename removes a file. It is wise to use the option rm -i, which will ask you for confirmation before actually deleting anything. You can make this your default by making an alias in your.cshrc file. diff filename1 filename2 compares files, and shows where they differ wc filename tells you how many lines, words, and characters there are in a file chmod options filename More - history, processes, logout ps lists running processes history lists your most recent commands who tells you who's logged on, and where they're coming from. logging off exit logout 4

A short demo Basic html <tag> </tag> Document Root <html> <head> <body> <title> Attribute href <a> <h1> Text: My title Text: My title Text: My header 5

Basic html <html> <head> <title> CMPSCI 120 Home Page</title> </head> <body> <h1>cmpsci 120: Introduction to Problem Solving with the Internet</h1> <p>the Internet is a goldmine to the Internet such as copyright laws, First Amendment issues, and public key cryptography. </p> <h2>prerequisites:</h2> </body> </html> DOCTYPE declarations HTML 4.01 Strict -- This DTD contains all HTML elements and attributes, but does not include presentational or deprecated elements (like font). Framesets are not allowed. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/tr/html4/strict.dtd"> HTML 4.01 Transitional -- This DTD contains all HTML elements and attributes, including presentational and deprecated elements (like font). Framesets are not allowed. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/tr/html4/loose.dtd"> HTML 4.01 Frameset -- This DTD is equal to HTML 4.01 Transitional, but allows the use of frameset content. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/tr/html4/frameset.dtd"> XHTML 1.0 Strict -- This DTD contains all HTML elements and attributes, but does not include presentational or deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> XHTML 1.0 Transitional -- This DTD contains all HTML elements and attributes, including presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> 6

A short demo 7