Absolute and Relative Paths

Size: px
Start display at page:

Download "Absolute and Relative Paths"

Transcription

1 Absolute and Relative Paths A path is the sequence of directories that must be traversed to get from one directory to another. (In the Windows world directories are often called "folders"; we will use the two terms as synonyms.) In order to work effectively at the command prompt, it is useful to know the basics of how to specify paths between directories and files. Directory Hierarchies Consider the directory structure shown in the figure below. This typical directory structure has a primary directory (usually called the root directory and designated on a PC by the symbol "\") that contains within it all other directories as subdirectories, and each directory so contained may itself contain subdirectories. In this example the root directory contains the directory Dir1, and this directory in turn contains the directories Dir2 and Dir5. Finally, Dir2 contains subdirectories Dir3 and Dir4, while Dir5 contains a subdirectory Dir6. The files on the system are contained in these directories. In the figure some representative files are illustrated in red. For example, the file index.html (see the green arrow) is contained in the directory Dir2, which is a subdirectory of Dir1, which is finally a subdirectory of the root directory. Directory Trees Another useful way to look at this directory structure is in terms of a Directory Tree. The above figure shows a tree diagram corresponding to the directory structure illustrated in the first figure. If we view this as a tree (fallen on its side), the branches of the tree correspond to the subdirectory structure. If you stand the directory tree upright, this analogy also makes clear why the master directory containing all other directories is termed the "root" directory.

2 Paths The directory tree diagram illustrates graphically the meaning of a path: it literally is a path: the (shortest) one that we would follow on the directory tree to go from one directory to another. For example, consider the files illustrated in the first diagram. Suppose we ask what the "path" is from the file index.html to the file file3.ext. The file index.html is in the directory Dir2 and file3.ext is in the directory Dir3. From the tree diagram, to get from index.html to file3.ext we must first go to the directory Dir3, which is contained in Dir2. We say that (relative to the file index.html) the file file3.ext is at the location Dir3\file3.ext. Likewise, relative to the directory Dir1, the file file3.ext is at Dir2\Dir3\file3.ext, and so on. Examples such as these are termed "specifying the relative path to a file" from some starting point. Specification of Paths Thus, the path to a file that lies in a subdirectory of your present directory is specified by listing, in order, the directories (omit the one that you are in) that you must pass through to get to the file, with backslashes after each directory name, and followed finally by the file name. Pretty simple, once you get the hang of it! But what if the file is not in a subdirectory of your present directory? For example, where is the file file6.ext (which is in Dir6) relative to the file index.html? The same rule applies as before, but the adjacent figure illustrates that to get to the directory Dir6 from the directory Dir2 we must first go BACK in the directory hierarchy until we reach a directory that contains Dir6 (and, of course, Dir2) in its subdirectory structure. Thus, to reach file6.ext from index.html we go back to Dir1, then to its subdirectory Dir5, and then to its subdirectory Dir6. The notation that is used to go back one level in a directory hierarchy is "..\" (two dots, followed by a backslash), and we may say that the location of file6.ext relative to index.html is..\dir5\dir6\file6.html, as illustrated in the preceding figure. Absolute (Full) and Relative Paths The examples of paths we have just been considering are termed "Relative Paths", because the location is specified relative to our present location. However, notice that we could also specify an "Absolute Path" or Full Path for files by going back to the root directory and writing the complete path to the file from there. In the previous example, the absolute path of file6.ext is C:\Dir1\Dir5\Dir6\file6.ext.

3 Notice the difference between absolute and relative paths: if I move the file index.html to a new directory, the address of file6.ext relative to index.html changes, but its absolute address remains the same. A Full or Absolute path always begins with a drive letter, is followed by a colon and an initial "\" (which stands for the root directory), followed by a list of the directories you must pass through to get to the file, with backslashes after each directory name and followed by the file name. A Relative Path will NEVER begin with a backslash. The existence of an initial backslash in a path tells the operating system to begin searching for the file or folder at the root. The absence of an initial backslash, tells the operating system to begin searching for the file or folder from your current position. The relative path to a file or folder that exists beneath your current directory is specified by listing, in order, the directories (omit the one that you are in) that you must pass through to get to the file, with backslashes after each directory name, and followed finally by the file name. Using leading periods to traverse backwards up the directory structure you can specify the relative path to a file or folder that does not exist beneath your current directory. Two leading periods move you back one subdirectory; three leading periods move you back two subdirectories; four leading periods move you back three subdirectories, and so on. An example of using leading periods in a path is included above. There are also some examples of its use in the below examples section of this document. *Note: Most books use the term Absolute Address or Absolute Path. I frequently refer to this as the Full Path; therefore, the terms Full Path and Absolute Path will be used synonymously in any class materials.

4 Examples Of Using Relative And Absolute (Full) Paths The sample directory structure displayed in the below image will be used to list some usage examples of relative and absolute paths. Each rectangle in the below image represents a directory. The directory name is displayed in black and in all capital letters. The text displayed in red and in lower case characters represent files that exist within the respective directory. C:\ MYSTUFF BCC HOME CIS53 CIS31 FINANCE RECIPES DOCS tax return 01.xls mom's meatballs.rcp schedule.doc tax return 00.xls goodsoup.rcp labels.doc FALL01 SPRING02 SPRING01 SPRING00 syllabus.doc syllabus.doc ndsdocs.doc nds notes.doc compad.doc hmwrk1.doc scripts.doc spring syllabus.doc 1) Absolute or Full Path to goodsoup.rcp: C:\MYSTUFF\HOME\RECIPES\GOODSOUP.RCP 2) Absolute or Full Path to compad.doc: C:\MYSTUFF\BCC\CIS53\FALL01\COMPAD.DOC 3) Absolute or Full Path to nds notes.doc. Because the file name does not conform to the 8.3 format, when referencing the path at a command prompt, it must be enclosed in quotes. File names that don t conform to this format are referred to as long file names. (Note: 8.3 format refers to the maximum number of characters in the file name and in its extension; 8 being the maximum number of characters allowed in the file name, and 3 being the maximum number of characters allowed in the extension.) C:\MYSTUFF\BCC\CIS31\SPRING00\NDS NOTES.DOC 4) Absolute or Full Path to schedule.doc file: C:\MYSTUFF\HOME\DOCS\SCHEDULE.DOC

5 5) Absolute or Full Path to tax return 01.xls. (Quotes need on long file names.) C:\MYSTUFF\HOME\FINANCE\TAX RETURN 01.XLS 6) Relative Path to the labels.doc file from C:\HOME DOCS\LABELS.DOC 7) Relative Path to the compad.doc file from C:\MYSUFF BCC\CIS53\FALL01\COMPAD.DOC 8) Relative Path to the spring syllabus.doc file from C:\MYSTUFF\BCC CIS31\SPRING00\SPRING SYLLABUS.DOC 9) Relative Path to the hmwrk1.doc file from C:\MYSTUFF\BCC\CIS53\SPRING02 HMWRK1.DOC 10) Relative Path to the goodsoup.rcp file from C:\MYSTUFF\HOME\FINANCE (With leading periods and a backslash, you re traversing backwards up the directory structure. Two leading periods move you back one subdirectory. In this example, the two leading periods move you up to the HOME directory.)..\recipes\goodsoup.rcp 11) Relative Path to the scripts.doc file from C:\MYSTUFF\BCC\CIS31\SPRING00..\SPRING01\SCRIPTS.DOC 12) Relative Path to the ndsdocs.doc file from C:\MYSTUFF\HOME\FINANCE (Three leading periods move you back two subdirectories. In this example, the three leading periods move you up to the MYSTUFF directory. ) \BCC \CIS31\SPRING01\NDSDOCS.DOC

Getting Started with Command Prompts

Getting Started with Command Prompts Getting Started with Command Prompts Updated December, 2017 Some courses such as Java Programming will ask the student to perform tasks from a command prompt (Windows) or Terminal window (Mac OS). Many

More information

Introduction to Network Operating Systems

Introduction to Network Operating Systems File Systems In a general purpose operating system the local file system provides A naming convention A mechanism for allocating hard disk space to files An method for identifying and retrieving files,

More information

Internet Addresses. Internet Addresses

Internet Addresses. Internet Addresses Internet Addresses Internet Addresses The Internet is a vast network of many different computers that are able to talk to each other in spite of the fact that they may be separated by large distances,

More information

Computer Skills: Files and Folders Tutorial

Computer Skills: Files and Folders Tutorial Files, Folders, and Drives Distance Learning Orientation Large amounts of information -- such as documents, spreadsheets, photographs, MP3 files, and Web pages -- can be stored on computer storage media

More information

GMI-Cmd.exe Reference Manual GMI Command Utility General Management Interface Foundation

GMI-Cmd.exe Reference Manual GMI Command Utility General Management Interface Foundation GMI-Cmd.exe Reference Manual GMI Command Utility General Management Interface Foundation http://www.gmi-foundation.org Program Description The "GMI-Cmd.exe" program is a standard part of the GMI program

More information

STAXDoc User's Guide. Contents. Introduction. Requirements. STAX Documentation Generator (STAXDoc) User's Guide Version

STAXDoc User's Guide. Contents. Introduction. Requirements. STAX Documentation Generator (STAXDoc) User's Guide Version STAXDoc User's Guide STAX Documentation Generator (STAXDoc) User's Guide Version 1.0.4 February 26, 2008 Contents Introduction Requirements Syntax Source Files STAX Xml Files Package Comment Files Overview

More information

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

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands 1 What is an Operating System? A computer program that: Controls how the CPU, memory

More information

The Directory Structure

The Directory Structure The Directory Structure All the files are grouped together in the directory structure. The file-system is arranged in a hierarchical structure, like an inverted tree. The top of the hierarchy is traditionally

More information

Operating System Interaction via bash

Operating System Interaction via bash Operating System Interaction via bash bash, or the Bourne-Again Shell, is a popular operating system shell that is used by many platforms bash uses the command line interaction style generally accepted

More information

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 3 Introducing Windows Operating Systems

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 3 Introducing Windows Operating Systems Chapter 3 Introducing Windows Operating Systems Objectives Learn how to use Windows to interface with users, files and folders, applications, and hardware Learn about some Windows tools that you can use

More information

COMP 110/401 WINDOWS COMMAND INTERPRETER. Instructor: Prasun Dewan (FB 150,

COMP 110/401 WINDOWS COMMAND INTERPRETER. Instructor: Prasun Dewan (FB 150, COMP 110/401 WINDOWS COMMAND INTERPRETER Instructor: Prasun Dewan (FB 150, dewan@unc.edu) WINDOWS COMMAND INTERPRETER 2 COMMAND INTERPRETER? Interprets Command Lines Provides alternative to (OS and Application)

More information

CSCI 1100L: Topics in Computing Lab Lab 3: Windows Command Prompt

CSCI 1100L: Topics in Computing Lab Lab 3: Windows Command Prompt CSCI 1100L: Topics in Computing Lab Lab 3: Windows Command Prompt Purpose: So far in Lab, we ve played around and learned more about Windows 10 and the WIMP (Windows- Icons, Menus, Pointers) interface.

More information

Fundamentals of Programming Session 4

Fundamentals of Programming Session 4 Fundamentals of Programming Session 4 Instructor: Reza Entezari-Maleki Email: entezari@ce.sharif.edu 1 Fall 2011 These slides are created using Deitel s slides, ( 1992-2010 by Pearson Education, Inc).

More information

Lecture 1: Hello, MATLAB!

Lecture 1: Hello, MATLAB! Lecture 1: Hello, MATLAB! Math 98, Spring 2018 Math 98, Spring 2018 Lecture 1: Hello, MATLAB! 1 / 21 Syllabus Instructor: Eric Hallman Class Website: https://math.berkeley.edu/~ehallman/98-fa18/ Login:!cmfmath98

More information

Programming for Engineers Introduction to C

Programming for Engineers Introduction to C Programming for Engineers Introduction to C ICEN 200 Spring 2018 Prof. Dola Saha 1 Simple Program 2 Comments // Fig. 2.1: fig02_01.c // A first program in C begin with //, indicating that these two lines

More information

Unix/Linux Primer. Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois

Unix/Linux Primer. Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois Unix/Linux Primer Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois August 25, 2017 This primer is designed to introduce basic UNIX/Linux concepts and commands. No

More information

Internal Commands COPY and TYPE

Internal Commands COPY and TYPE Internal Commands COPY and TYPE Ch 5 1 Overview Will review file-naming rules. Ch 5 2 Overview Will learn some internal commands that can be used to manage and manipulate files. Ch 5 3 Overview The value

More information

Chapter Two Bonus Lesson: JavaDoc

Chapter Two Bonus Lesson: JavaDoc We ve already talked about adding simple comments to your source code. The JDK actually supports more meaningful comments as well. If you add specially-formatted comments, you can then use a tool called

More information

22-Sep CSCI 2132 Software Development Lecture 8: Shells, Processes, and Job Control. Faculty of Computer Science, Dalhousie University

22-Sep CSCI 2132 Software Development Lecture 8: Shells, Processes, and Job Control. Faculty of Computer Science, Dalhousie University Lecture 8 p.1 Faculty of Computer Science, Dalhousie University CSCI 2132 Software Development Lecture 8: Shells, Processes, and Job Control 22-Sep-2017 Location: Goldberg CS 127 Time: 14:35 15:25 Instructor:

More information

Science One CS : Getting Started

Science One CS : Getting Started Science One CS 2018-2019: Getting Started Note: if you are having trouble with any of the steps here, do not panic! Ask on Piazza! We will resolve them this Friday when we meet from 10am-noon. You can

More information

Class 1: Homework. Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017

Class 1: Homework. Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017 Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017 1 1. Please obtain a copy of Introduction to Java Programming, 11th (or 10th) Edition, Brief

More information

Create!form Bind Technical Note. Software Version: 6.1 Operating Environment: Windows 2000/2003 Server

Create!form Bind Technical Note. Software Version: 6.1 Operating Environment: Windows 2000/2003 Server Create!form Bind Technical Note Software Version: 6.1 Operating Environment: Windows 2000/2003 Server Contents 1 Introducing Create!form Bind 5 1.1 Overview.......................................................

More information

Disk Operating System

Disk Operating System Disk Operating System DOS stands for Disk Operating System. DOS controls the computer s hardware and provides an environment for programs to run. This system program must always be present when working

More information

Shell Programming Overview

Shell Programming Overview Overview Shell programming is a way of taking several command line instructions that you would use in a Unix command prompt and incorporating them into one program. There are many versions of Unix. Some

More information

Examples: Directory pathname: File pathname: /home/username/ics124/assignments/ /home/username/ops224/assignments/assn1.txt

Examples: Directory pathname: File pathname: /home/username/ics124/assignments/ /home/username/ops224/assignments/assn1.txt ULI101 Week 03 Week Overview Absolute and relative pathnames File name expansion Shell basics Command execution in detail Recalling and editing previous commands Quoting Pathnames A pathname is a list

More information

HCA Tech Note 105: HTML displays with Client-Server

HCA Tech Note 105: HTML displays with Client-Server HCA Tech Note 105: HTML displays with Client-Server When using HCA in client-server mode and your design contains HTML displays there are some additional considerations when configuring clients. This technical

More information

Table Of Contents. 1. Zoo Information a. Logging in b. Transferring files 2. Unix Basics 3. Homework Commands

Table Of Contents. 1. Zoo Information a. Logging in b. Transferring files 2. Unix Basics 3. Homework Commands Table Of Contents 1. Zoo Information a. Logging in b. Transferring files 2. Unix Basics 3. Homework Commands Getting onto the Zoo Type ssh @node.zoo.cs.yale.edu, and enter your netid pass when prompted.

More information

Introduction to MATLAB

Introduction to MATLAB Chapter 1 Introduction to MATLAB 1.1 Software Philosophy Matrix-based numeric computation MATrix LABoratory built-in support for standard matrix and vector operations High-level programming language Programming

More information

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide PROGRAMMING WITH REFLECTION: VISUAL BASIC USER GUIDE WINDOWS XP WINDOWS 2000 WINDOWS SERVER 2003 WINDOWS 2000 SERVER WINDOWS TERMINAL SERVER CITRIX METAFRAME CITRIX METRAFRAME XP ENGLISH Copyright 1994-2006

More information

Operators DECREASE in strength toward the Bottom

Operators DECREASE in strength toward the Bottom Complex Java Expression Page 1 Java Operator Precedence 2:42 PM STRONGEST operators at top of table Family Name Operators Unary! ~ Multiply * / % Add + Compare < > = Equality ==!= Logic And && Logic

More information

Basic Scripting, Syntax, and Data Types in Python. Mteor 227 Fall 2017

Basic Scripting, Syntax, and Data Types in Python. Mteor 227 Fall 2017 Basic Scripting, Syntax, and Data Types in Python Mteor 227 Fall 2017 Basic Shell Scripting/Programming with Python Shell: a user interface for access to an operating system s services. The outer layer

More information

c12011sep1213.notebook September 13, 2013

c12011sep1213.notebook September 13, 2013 Showing host (server), username and password. Note that this is SFTP so if you download, download that version. 1 2 You need to load your files into public_html 3 You can change the code and save it. You

More information

dataset: Catalog Access Method Definitions Version 1 CML

dataset: Catalog Access Method Definitions Version 1 CML dataset: Catalog Access Method Definitions Version 1 CML00013-01 Code Magus Limited (England reg. no. 4024745) Number 6, 69 Woodstock Road Oxford, OX2 6EY, United Kingdom www.codemagus.com Copyright c

More information

DATA 301 Introduction to Data Analytics Command Line. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Command Line. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Command Line Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Why learn the Command Line? The command line is the text interface

More information

Why learn the Command Line? The command line is the text interface to the computer. DATA 301 Introduction to Data Analytics Command Line

Why learn the Command Line? The command line is the text interface to the computer. DATA 301 Introduction to Data Analytics Command Line DATA 301 Introduction to Data Analytics Command Line Why learn the Command Line? The command line is the text interface to the computer. DATA 301: Data Analytics (2) Understanding the command line allows

More information

EGR 111 Introduction to MATLAB

EGR 111 Introduction to MATLAB EGR 111 Introduction to MATLAB This lab introduces the MATLAB help facility, shows how MATLAB TM, which stands for MATrix LABoratory, can be used as an advanced calculator. This lab also introduces assignment

More information

12/22/11. Java How to Program, 9/e. public must be stored in a file that has the same name as the class and ends with the.java file-name extension.

12/22/11. Java How to Program, 9/e. public must be stored in a file that has the same name as the class and ends with the.java file-name extension. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Covered in this chapter Classes Objects Methods Parameters double primitive type } Create a new class (GradeBook) } Use it to create an object.

More information

MATLAB Introduction To Engineering for ECE Topics Covered: 1. Creating Script Files (.m files) 2. Using the Real Time Debugger

MATLAB Introduction To Engineering for ECE Topics Covered: 1. Creating Script Files (.m files) 2. Using the Real Time Debugger 25.108 Introduction To Engineering for ECE Topics Covered: 1. Creating Script Files (.m files) 2. Using the Real Time Debugger SCRIPT FILE 77-78 A script file is a sequence of MATLAB commands, called a

More information

UNIX files searching, and other interrogation techniques

UNIX files searching, and other interrogation techniques UNIX files searching, and other interrogation techniques Ways to examine the contents of files. How to find files when you don't know how their exact location. Ways of searching files for text patterns.

More information

asphalt-py4j Release post1

asphalt-py4j Release post1 asphalt-py4j Release 3.0.1.post1 Sep 30, 2017 Contents 1 Configuration 3 1.1 Connecting to an existing JVM..................................... 3 1.2 Multiple gateways............................................

More information

Desktop Command window

Desktop Command window Chapter 1 Matlab Overview EGR1302 Desktop Command window Current Directory window Tb Tabs to toggle between Current Directory & Workspace Windows Command History window 1 Desktop Default appearance Command

More information

The Baptist College of Florida. MLA Formatting Guide

The Baptist College of Florida. MLA Formatting Guide The Baptist College of Florida MLA Formatting Guide Spring 2018 Table of Contents Overview of an MLA Paper... 1 Creating a template for research papers... 2 Changing Word s default settings... 3 Change

More information

UNIVERSITY OF NORTH TEXAS DEPARTMENT OF LEARNING TECHNOLOGIES SPRING

UNIVERSITY OF NORTH TEXAS DEPARTMENT OF LEARNING TECHNOLOGIES SPRING How-To Set Up Your Classes Web Space Windows and Mac Go to https://classes.lt.unt.edu/ (1) In the menu bar Click Register (2) Use your regular EUID (abc1234 format) and password. (3) Choose your role and

More information

Managing file systems 1

Managing file systems 1 Contents Managing file systems 1 Overview 1 File systems 1 Directories 2 Files 2 Specifying a directory name or file name 3 FIPS compliance 3 File system management restrictions and guidelines 4 Managing

More information

UNIX Tutorial One

UNIX Tutorial One 1.1 Listing files and directories ls (list) When you first login, your current working directory is your home directory. Your home directory has the same name as your user-name, for example, ee91ab, and

More information

Chapter 2. Designing a Program. Input, Processing, and Output Fall 2016, CSUS. Chapter 2.1

Chapter 2. Designing a Program. Input, Processing, and Output Fall 2016, CSUS. Chapter 2.1 Chapter 2 Input, Processing, and Output Fall 2016, CSUS Designing a Program Chapter 2.1 1 Algorithms They are the logic on how to do something how to compute the value of Pi how to delete a file how to

More information

MATLAB - Lecture # 4

MATLAB - Lecture # 4 MATLAB - Lecture # 4 Script Files / Chapter 4 Topics Covered: 1. Script files. SCRIPT FILE 77-78! A script file is a sequence of MATLAB commands, called a program.! When a file runs, MATLAB executes the

More information

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

Overview of the UNIX File System. Navigating and Viewing Directories

Overview of the UNIX File System. Navigating and Viewing Directories Overview of the UNIX File System Navigating and Viewing Directories Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing characteristic of the UNIX file system is the nature of its

More information

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Dr. Marenglen Biba Laboratory Session: Exercises on classes Analogy to help you understand classes and their contents. Suppose you want to drive a car and make it go faster by pressing down

More information

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.

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. Warnings 1 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. Read the relevant material in Sobell! If

More information

Disk Operating System

Disk Operating System In the name of Allah Islamic University of Gaza Faculty of Engineering Computer Engineering Department Introduction To Computer Lab Lab # 1 Disk Operating System El-masry 2013 Objective To be familiar

More information

Unix Introduction. Part 2

Unix Introduction. Part 2 Unix Introduction Part 2 More Unix Commands wc touch cp - copy review Let's copy a directory tree with recursion. Remember that in order to use the -r option when copying directory hierarchies. Make sure

More information

Lesson 1: Writing Your First JavaScript

Lesson 1: Writing Your First JavaScript JavaScript 101 1-1 Lesson 1: Writing Your First JavaScript OBJECTIVES: In this lesson you will be taught how to Use the tag Insert JavaScript code in a Web page Hide your JavaScript

More information

Chapter 25 Design Tools

Chapter 25 Design Tools Chapter 25 Design Tools There are several tools in HCA that can make managing your home design a bit easier. This chapter describes these tools and includes: Using the Program Variable Inventory HCA Status

More information

Chapter 2, Part I Introduction to C Programming

Chapter 2, Part I Introduction to C Programming Chapter 2, Part I Introduction to C Programming C How to Program, 8/e, GE 2016 Pearson Education, Ltd. All rights reserved. 1 2016 Pearson Education, Ltd. All rights reserved. 2 2016 Pearson Education,

More information

1 Getting Started with Linux.

1 Getting Started with Linux. PHYS-4007/5007: omputational Physics Tutorial #1 Using Linux for the First Time 1 Getting Started with Linux. The information of logging in on the Linux side of the computers in Brown Hall 264 can be found

More information

Getting Started With Web Mail Help Desk

Getting Started With Web Mail Help Desk INET010 Feb 2008 Getting Started With Web Mail Help Desk Overview... 1 Login and Logout... 2 Basic Navigation... 2 Basic Tasks... 2 Using Folders... 5 Attachments... 7 Address Book... 8 Options and Other

More information

GCC C++: Comment Text

GCC C++: Comment Text GCC C++: Comment Text Introduction Comment text is text included in source code that is ignored by the compiler and does not cause any machine-language object code to be generated. It is written into the

More information

Data entry is the bread and butter of any spreadsheet you create or edit. The exercises

Data entry is the bread and butter of any spreadsheet you create or edit. The exercises Chapter 1 Entering the Spreadsheet Data In This Chapter Launching Excel and opening a new workbook Moving around the workbook Selecting cell ranges in a worksheet Doing simple data entry in a worksheet

More information

TreeCollapseCL 4 Emma Hodcroft Andrew Leigh Brown Group Institute of Evolutionary Biology University of Edinburgh

TreeCollapseCL 4 Emma Hodcroft Andrew Leigh Brown Group Institute of Evolutionary Biology University of Edinburgh TreeCollapseCL 4 Emma Hodcroft Andrew Leigh Brown Group Institute of Evolutionary Biology University of Edinburgh 2011-2015 This command-line Java program takes in Nexus/Newick-style phylogenetic tree

More information

CS ) PROGRAMMING ASSIGNMENT 11:00 PM 11:00 PM

CS ) PROGRAMMING ASSIGNMENT 11:00 PM 11:00 PM CS3114 (Fall 2017) PROGRAMMING ASSIGNMENT #4 Due Thursday, December 7 th @ 11:00 PM for 100 points Due Tuesday, December 5 th @ 11:00 PM for 10 point bonus Last updated: 11/13/2017 Assignment: Update:

More information

Overview of the UNIX File System

Overview of the UNIX File System Overview of the UNIX File System Navigating and Viewing Directories Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing

More information

C:\> command prompt DOS prompt cursor

C:\> command prompt DOS prompt cursor MS-DOS Basics The Command Prompt When you first turn on your computer, you will see some cryptic information flash by. MS-DOS displays this information to let you know how it is configuring your computer.

More information

CMPT-166: Sample Midterm

CMPT-166: Sample Midterm CMPT 166, Fall 2016, Surrey Sample Midterm 1 Page 1 of 11 CMPT-166: Sample Midterm Last name exactly as it appears on your student card First name exactly as it appears on your student card Student Number

More information

Here is a step-by-step guide to creating a custom toolbar with text

Here is a step-by-step guide to creating a custom toolbar with text How to Create a Vertical Toolbar with Text Buttons to Access Your Favorite Folders, Templates and Files 2007-2017 by Barry MacDonnell. All Rights Reserved. Visit http://wptoolbox.com. The following is

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

How to Import Part Numbers to Proman

How to Import Part Numbers to Proman How to Import Part Numbers to Proman This is a brief document that outlines how to take an Excel spreadsheet and either load new parts numbers into Proman or update data on existing part numbers. Before

More information

Lecture 23. Java File Handling. Dr. Martin O Connor CA166

Lecture 23. Java File Handling. Dr. Martin O Connor CA166 Lecture 23 Java File Handling Dr. Martin O Connor CA166 www.computing.dcu.ie/~moconnor Topics File Systems What is a path? Symbolic links How to create a file How to obtain the file path from a file How

More information

for Windows Copyrighted by Educational Programs and Software, Inc.

for Windows Copyrighted by Educational Programs and Software, Inc. EPES Software Survey Master for Windows Copyrighted by Educational Programs and Software, Inc. 1999 This documentation may not be copied without written consent from EPES Software, Inc. 1 Table of Contents

More information

General Ledger Export to CLIME GL-1047

General Ledger Export to CLIME GL-1047 General Ledger Export to CLIME GL-1047 Overview This Extended Solution to the standard MAS 90 MAS 200 General Ledger module exports General Ledger account actual and budget data to another software, CLIME.

More information

When you first log in, you will be placed in your home directory. To see what this directory is named, type:

When you first log in, you will be placed in your home directory. To see what this directory is named, type: Chem 7520 Unix Crash Course Throughout this page, the command prompt will be signified by > at the beginning of a line (you do not type this symbol, just everything after it). Navigation When you first

More information

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java) Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program

More information

Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming)

Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming) Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming) Learning any imperative programming language involves mastering a number of common concepts: Variables: declaration/definition

More information

CS211 Lecture: Modeling Dynamic Behaviors of Systems; Interaction Diagrams and Statecharts Diagrams in UML

CS211 Lecture: Modeling Dynamic Behaviors of Systems; Interaction Diagrams and Statecharts Diagrams in UML CS211 Lecture: Modeling Dynamic Behaviors of Systems; Interaction Diagrams and Statecharts Diagrams in UML Objectives: 1. To introduce the notion of dynamic analysis 2. To show how to create and read Sequence

More information

Introduction to Unix

Introduction to Unix Introduction to Unix Part 1: Navigating directories First we download the directory called "Fisher" from Carmen. This directory contains a sample from the Fisher corpus. The Fisher corpus is a collection

More information

Model 5100 Remote Administration Guide

Model 5100 Remote Administration Guide Model 5100 Remote Administration Guide The information in this document is current as of the following Hardware and Firmware revision levels. Some features may not be supported in earlier revisions. See

More information

Note that the reference does not include the base directory or an initial backslash. The file extension for UI canvases should be included.

Note that the reference does not include the base directory or an initial backslash. The file extension for UI canvases should be included. We are going to be loading UI canvases by filename, let's get our file structure and naming conventions defined first. Lumberyard will generally be looking at your project's base directory as a starting

More information

Midnight Commander. Features.

Midnight Commander. Features. http://linuxcommand.org/lc3_adv_mc.php Midnight Commander At the beginning of chapter 4 in TLCL there is a discussion of GUI-based file managers versus the traditional command line tools for file manipulation

More information

Lecture Notes Order of Operations page 1

Lecture Notes Order of Operations page 1 Lecture Notes Order of Operations page 1 The order of operations rule is an agreement among mathematicians, it simplies notation. P stands for parentheses, E for exponents, M and D for multiplication and

More information

The Top Toolbar. Individual Bible and Book Toolbars

The Top Toolbar. Individual Bible and Book Toolbars This tool is designed to help you become productive quickly. Due to differences in libraries and add-ons, the pictures in this Quick Reference Guide may not represent the exact content you own. Please

More information

CSE 214 Computer Science II Introduction to Tree

CSE 214 Computer Science II Introduction to Tree CSE 214 Computer Science II Introduction to Tree Fall 2017 Stony Brook University Instructor: Shebuti Rayana shebuti.rayana@stonybrook.edu http://www3.cs.stonybrook.edu/~cse214/sec02/ Tree Tree is a non-linear

More information

An undirected graph is a tree if and only of there is a unique simple path between any 2 of its vertices.

An undirected graph is a tree if and only of there is a unique simple path between any 2 of its vertices. Trees Trees form the most widely used subclasses of graphs. In CS, we make extensive use of trees. Trees are useful in organizing and relating data in databases, file systems and other applications. Formal

More information

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME Introduction to the Unix command line History Many contemporary computer operating systems, like Microsoft Windows and Mac OS X, offer primarily (but not exclusively) graphical user interfaces. The user

More information

Karlen Communications Accessible Word Document Design Text Boxes and Accessibility. Karen McCall, M.Ed.

Karlen Communications Accessible Word Document Design Text Boxes and Accessibility. Karen McCall, M.Ed. Karlen Communications Accessible Word Document Design Text Boxes and Accessibility Karen McCall, M.Ed. Table of Contents Disclaimer... 3 Introduction... 3 Improved Access to Inline Text Boxes... 7 Paragraph

More information

Attaching Codesoft 6 to an ODBC Database

Attaching Codesoft 6 to an ODBC Database Attaching Codesoft 6 to an ODBC Database 1. From your Main Menu Options, go into Merge then Create ODBC query. The following Dialog Box will appear. 2. Select the button with 3 dots ( ) on it. 3. The Data

More information

2) Create the below folder structure on your server. Establish one share and set the appropriate share and NTFS

2) Create the below folder structure on your server. Establish one share and set the appropriate share and NTFS CIS131 - Chapter 15 NTFS, Share PERMISSIONS & Drive Mappings Note: When answering questions that ask that you display the security settings applied to a folder, please be sure to include images for all

More information

Using the Dev C++ Compiler to Create a Program

Using the Dev C++ Compiler to Create a Program This document assumes that you have already installed the Dev-C++ Compiler on your computer and run it for the first time to setup the initial configuration. USING DEV-C++ TO WRITE THE POPULAR "HELLO WORLD!"

More information

C Shell Tutorial. Section 1

C Shell Tutorial. Section 1 C Shell Tutorial Goals: Section 1 Learn how to write a simple shell script and how to run it. Learn how to use local and global variables. About CSH The Barkley Unix C shell was originally written with

More information

Microsoft Office Word. Part1

Microsoft Office Word. Part1 Microsoft Office 2010 - Word Part1 1 Table of Contents What is Microsoft Word?... 4 Creating a document... 5 Toolbar... 6 Typing in MS Word Text Area... 7 Cut, Copy and Paste Text... 9 Paste Preview...

More information

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance.

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance. 2.1 Introduction (No questions.) 2.2 A Simple Program: Printing a Line of Text 2.1 Which of the following must every C program have? (a) main (b) #include (c) /* (d) 2.2 Every statement in C

More information

Practical UML : A Hands-On Introduction for Developers

Practical UML : A Hands-On Introduction for Developers Borland.com Borland Developer Network Borland Support Center Borland University Worldwide Sites Login My Account Help Search Practical UML : A Hands-On Introduction for Developers - by Randy Miller Rating:

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

CS 416, Artificial Intelligence Midterm Examination Fall 2004

CS 416, Artificial Intelligence Midterm Examination Fall 2004 CS 416, Artificial Intelligence Midterm Examination Fall 2004 Name: This is a closed book, closed note exam. All questions and subquestions are equally weighted. Introductory Material 1) True or False:

More information

MU2b Authentication, Authorization and Accounting Questions Set 2

MU2b Authentication, Authorization and Accounting Questions Set 2 MU2b Authentication, Authorization and Accounting Questions Set 2 1. You enable the audit of successful and failed policy changes. Where can you view entries related to policy change attempts? Lesson 2

More information

Chapter 1 Introduction

Chapter 1 Introduction Chapter 1 Introduction Hi! Welcome to my beginners guide to C++. If you are starting to program for the first time, I hope that you find the chapters I have written useful. C++ is an excellent language

More information

Update to the Guide to Dynaview IIIb

Update to the Guide to Dynaview IIIb Update to the Guide to Dynaview IIIb 1 Overview The Dynaview has two new features that are still not covered in the manual. The first is that we have changed the recipe storage area so that the number

More information

Chapter 2. C++ Basics. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 2. C++ Basics. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 2 C++ Basics 1 Overview 2.1 Variables and Assignments 2.2 Input and Output 2.3 Data Types and Expressions 2.4 Simple Flow of Control 2.5 Program Style Slide 2-3 2.1 Variables and Assignments 2

More information

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse Goals - to become acquainted with the Linux/Gnome environment Overview For this lab, you will login to a workstation

More information