Internal Commands COPY and TYPE

Size: px
Start display at page:

Download "Internal Commands COPY and TYPE"

Transcription

1 Internal Commands COPY and TYPE Ch 5 1

2 Overview Will review file-naming rules. Ch 5 2

3 Overview Will learn some internal commands that can be used to manage and manipulate files. Ch 5 3

4 Overview The value of creating and using dummy files will be explained. Ch 5 4

5 Overview Will experience naming, managing, manipulating, viewing, and printing files. Ch 5 5

6 Overview Use COPY and TYPE commands to perform various tasks. Ch 5 6

7 Overview Both concatenation and the consequences of overwriting files will be discussed. Ch 5 7

8 Why Learn Command Line Commands? Review of directory management commands: MD CD RD Ch 5 8

9 Why Learn Command Line Commands? Directories: Largest units of information management Used to organize programs and data files Ch 5 9

10 Why Learn Command Line Commands? Need to know how to manage information at the file level. Managing files different from creating/changing data within files. Ch 5 10

11 Why Learn Command Line Commands? Using the command line will help you understand: File manipulation Disk and subdirectory structure Ch 5 11

12 Why Learn Command Line Commands? Some tasks are done easier and faster at the command line. Ch 5 12

13 Why Learn Command Line Commands? Internal file-management commands: DIR COPY REN DEL TYPE Ch 5 13

14 The COPY Command COPY command: Used to copy files from one place to another Ch 5 14

15 The COPY Command Reasons for copying files: Copy files from one disk to another Make second copy to existing file on same disk Copy file to device Making changes of existing file with program that created it Create backup copy of various data files Ch 5 15

16 The COPY Command COPY command syntax: COPY [parameters] [drive:] [path] filename [drive:] [path] filename [parameters] Ch 5 16

17 The COPY Command Conceptually the syntax is: COPY source destination Ch 5 17

18 Review of File-Naming Rules File-naming Rules: Names of files in directory must be unique. No names can be longer than 255 characters, including file extensions. File extensions are optional. Ch 5 18

19 Review of File-Naming Rules File-naming Rules: File name must be separated from its extension with a period, called a dot. All alphanumeric characters can be used in file names and extensions, except the following illegal characters: / \ : < > *? + Ch 5 19

20 Review of File-Naming Rules Program files: Named by programmer Commonly have.com,.exe, or.bat extensions Ch 5 20

21 Review of File-Naming Rules Naming data files: Use names that reflect file contents Extensions usually specify type of file Most application programs assign file extension to data files Ch 5 21

22 Activity Making Copies of Files KEY CONCEPTS: Function keys correct typing errors Function of first \ and second \ Function of dot (.) between file name and file extension : lets operating system know that the destination is a drive Ch 5 22

23 Activity Making Copies of Files KEY CONCEPTS: Executed several COPY commands Used DIR to confirm files copied Copy and rename files On command line - one step Windows Explorer and My Computer - two steps Ch 5 23

24 Using Long File Names Floppy disk: Long file names - only when necessary Room for 224 files on Directory Table Uses old FAT16 file system Ch 5 24

25 Using Long File Names Floppy disk: Designed to hold files with 8.3 rules Directory table full - cannot add files to disk (even if there is room) Ch 5 25

26 Using Long File Names Fig 5.1 Two Directory Tables p. 192 Ch 5 26

27 Using Long File Names At command line enclose entire file name in quotes if it has spaces. Use /X with DIR to see both short and long name in directory. Ch 5 27

28 Using Long File Names Fig 5.2 Directory Showing Short and Long File Names p. 192 Ch 5 28

29 Using Long File Names For long files names, it is helpful to have meaningful and unique characters within the first six characters of the name. Ch 5 29

30 Activity Copying Files with Long File Names KEY CONCEPTS: Copied file to data disk Operating system assigned alias (8.3 file name) Ch 5 30

31 Using Wildcards with the COPY Command Using wildcards (* and?) with the COPY command to copy files can reduce the number of commands that have to be typed in. Ch 5 31

32 Using Wildcards with the COPY Command Wildcards used: With DIR and COPY commands To change destination name Ch 5 32

33 Activity Using Wildcards with COPY Command KEY CONCEPTS: Use wildcards to save time when: Copying files Viewing files If NTFS is file system - copy will copy files in alphabetical order Ch 5 33

34 The TYPE Command TYPE command: Internal command Opens/displays contents of file on screen DIR - displays what files are on disk Must be text/ascii file for data to be meaningful and readable Ch 5 34

35 The TYPE Command TYPE command syntax: TYPE [drive:] [path] filename Ch 5 35

36 Activity Displaying Files Using TYPE Command KEY CONCEPTS: Text files/ascii files Recognizing executable code files by file extensions Support files Format - how data is arranged Ch 5 36

37 Dummy Files Dummy files: Files without particular meaning Usually created for test purposes Usually smaller and are samples Ch 5 37

38 Activity Using the Copy and Type Commands KEY CONCEPTS: TYPE can use more than one parameter DIR - displays current files on disks TYPE - displays contents of one file at a time Ch 5 38

39 Making Additional Files on the Same Disk Can have two files with identical contents on same disk: Including same name - if files kept in different subdirectories In same subdirectory - if the names of the files are different. Ch 5 39

40 Activity - Using COPY Command KEY CONCEPTS: Review use of: MD and <DIR> (including syntax) Naming subdirectories First backslash (\), other (\) Dot (.) and double dot (..) Absolute/relative paths COPY command Use of wildcards with TYPE command Ch 5 40

41 Using Wildcards with the COPY Command Wildcards can be used to copy files in the same drive to a different subdirectory. Ch 5 41

42 Using Wildcards with the COPY Command It is crucial that syntax is NEVER altered. COPY source destination Ch 5 42

43 Using Wildcards with the COPY Command Files can be misplaced : Computers always follow commands User must know what the computer was told to do Ch 5 43

44 Activity Using Wildcards with the COPY command KEY CONCEPTS: Copying/naming files with COPY command Compare moving/renaming files using GUI vs. doing it at the command line Ch 5 44

45 Using COPY and DIR with Subdirectories COPY command can place file in subdirectories. DIR command can be used to see if files were copied. Ch 5 45

46 Activity Using COPY with Subdirectories KEY CONCEPTS: Importance of spacing when keying in commands (COPY command spacing) Use of \ - as a root, as a delimiter When to use absolute/ relative path Changing directories Using DIR to locate files Ch 5 46

47 Using Subdirectory Markers with the COPY Command Can use shortcuts to write commands: Dot (.) Double dot (..) Ch 5 47

48 Using Subdirectory Markers with the COPY Command The.. represents parent of current directory. Only directory that does not have a parent is the root directory. Ch 5 48

49 Activity Using Shortcuts: The Subdirectory Marker KEY CONCEPTS: Child vs. parent directory Absolute path Using.. Using \ as a delimiter Ch 5 49

50 Overwriting Files with the COPY Command Each file must have a unique name on same disk and subdirectory. Ch 5 50

51 Overwriting Files with the COPY Command Overwrite: Old data replaced by new data Ch 5 51

52 Overwriting Files with the COPY Command Fig 5.4 Overwriting Files p. 264 Ch 5 52

53 Overwriting Files with the COPY Command Overwrite files on regular basis as you want to backup files. Now Windows informs user that an overwrite will occur. Ch 5 53

54 Activity Overwriting Files Using COPY Command KEY CONCEPTS: When overwriting is not allowed Confirmation prior to overwriting Ch 5 54

55 Combining Text Files with the COPY Command Concatenation is creating another file by combining contents of two or more text (ASCII) files. Ch 5 55

56 Combining Text Files with the COPY Command Concatenation should never be done with program files, or with data files generated by programs. Ch 5 56

57 Combining Text Files with the COPY Command To avoid accidental concatenation of files, read all messages DOS displays on the screen. Ch 5 57

58 Combining Text Files with the COPY Command COPY syntax never changes: COPY source destination Plus sign (+) between source files tells OS that you are joining files. Two or more items separated by pipe symbol ( ) - either/or choice Ch 5 58

59 Activity Combining Files Using the COPY Command KEY CONCEPTS: Where spaces are in COPY command Join text files with plus sign Never concatenate: Program files Data files created with application programs Read messages Only text files can be combined Wildcards can be used Ch 5 59

60 Printing Files Have not printed contents of any file. May have: Redirected output to printer using: DIR command TYPE command Copied file to printer Ch 5 60

61 Printing Files PRINT command: Prints contents of files Automatically ejects pages Works only for ASCII files Ch 5 61

62 Printing Files Data files generated by application programs can only be printed from within application program. Ch 5 62

63 Printing Files Reasons for printing ASCII files: Need hard copy of configuration information on computer Verify if printer problem is a software problem Ch 5 63

64 Printing Files Three ways to print a text file from the command line: Use PRINT command Use redirection with DIR command Copy contents of file to printer Ch 5 64

65 Printing Files PRINT command syntax: PRINT [D:device] [[drive:] [path] filename [ ]] Ch 5 65

66 Printing in a Lab Environment Printing is complicated without a local printer. Ch 5 66

67 Activity- Setting Up Printing in a Lab Environment KEY CONCEPTS: Created shortcut to enable printing on the desktop Created second shortcut on desktop to disable command line printing Ch 5 67

68 Activity Printing Files KEY CONCEPTS: Print job Status report Can direct output to screen or another device Cannot use redirection with COPY command Ch 5 68

Lab - Common Windows CLI Commands

Lab - Common Windows CLI Commands Introduction In this lab, you will use CLI commands to manage files and folders in Windows. Recommended Equipment A computer running Windows Step 1: Access the Windows command prompt. a. Log on to a computer

More information

IntroductIon to dos. 2.1 IntroductIon. 2.2 SettIng up dos

IntroductIon to dos. 2.1 IntroductIon. 2.2 SettIng up dos 2 IntroductIon to dos 2.1 IntroductIon DISK OPERATING SYSTEM (DOS) is a system software, which is closely associated with the computer hardware and provides the interface between the user and resources

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

HELP Use the help command to list all the following supported commands:

HELP Use the help command to list all the following supported commands: Available commands within Windows Recovery Console The following commands are available within the Windows Recovery Console. The commands are not case-sensitive. HELP Use the help command to list all the

More information

Advanced Batch Files. Ch 11 1

Advanced Batch Files. Ch 11 1 Advanced Batch Files Ch 11 1 Overview Quick review of batch file commands learned in earlier chapters. Ch 11 2 Overview Advanced features of these commands will be explained and used. Ch 11 3 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

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

Description of the Windows XP Recovery Console for advanced users

Description of the Windows XP Recovery Console for advanced users Page 1 of 11 Article ID: 314058 - Last Review: September 22, 2008 - Revision: 5.4 Description of the Windows XP Recovery Console for advanced users System Tip This article applies to a different version

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

Lecture 2 DOS & Windows file commands by: lecturer Raya N.Ismail

Lecture 2 DOS & Windows file commands by: lecturer Raya N.Ismail Lecture 2 DOS & Windows file commands by: lecturer Raya N.Ismail What is a File A group of organized data (records) which are assembled for one particular purpose and considered as one unit Stored in permanent

More information

Std: XI CHAPTER-3 LINUX

Std: XI CHAPTER-3 LINUX Commands: General format: Command Option Argument Command: ls - Lists the contents of a file. Option: Begins with minus sign (-) ls a Lists including the hidden files. Argument refers to the name of a

More information

Easy Windows Working with Disks, Folders, - and Files

Easy Windows Working with Disks, Folders, - and Files Easy Windows 98-3 - Working with Disks, Folders, - and Files Page 1 of 11 Easy Windows 98-3 - Working with Disks, Folders, - and Files Task 1: Opening Folders Folders contain files, programs, or other

More information

Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/).

Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/). Ubuntu tutorial Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/). 1 Installing Ubuntu About Ubuntu For our lab sessions

More information

11/10/2011. Directory Structures (continued)

11/10/2011. Directory Structures (continued) 1 2 3 4 Guide to Parallel Operating Systems with Chapter 6 Directory Commands Objectives Describe directory structures Display directory structures Navigate directory structures Work with directories Work

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

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Lab # 7 Permissions

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Lab # 7 Permissions Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2012 Network Lab # 7 Permissions Objective: Network Lab # 7 Permissions Define permissions. Explain the characteristics

More information

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

5/8/2012. Creating and Changing Directories Chapter 7

5/8/2012. Creating and Changing Directories Chapter 7 Creating and Changing Directories Chapter 7 Types of files File systems concepts Using directories to create order. Managing files in directories. Using pathnames to manage files in directories. Managing

More information

Scripting Languages Course 1. Diana Trandabăț

Scripting Languages Course 1. Diana Trandabăț Scripting Languages Course 1 Diana Trandabăț Master in Computational Linguistics - 1 st year 2017-2018 Today s lecture Introduction to scripting languages What is a script? What is a scripting language

More information

Basic DOS Commands MCQ

Basic DOS Commands MCQ 1. An entire path name, consisting of several sub-directory names can contain upto A) 13 character B) 36 character C) 63 character D) 53 character 2. In which year the first operating system was developed

More information

8 MANAGING SHARED FOLDERS & DATA

8 MANAGING SHARED FOLDERS & DATA MANAGING SHARED FOLDERS & DATA STORAGE.1 Introduction to Windows XP File Structure.1.1 File.1.2 Folder.1.3 Drives.2 Windows XP files and folders Sharing.2.1 Simple File Sharing.2.2 Levels of access to

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

COURSE OUTLINE. Division of Business and Technology NET 239. WAN Data Communications. Credits: 3 Class Hours: 2 Lab Hours: 2

COURSE OUTLINE. Division of Business and Technology NET 239. WAN Data Communications. Credits: 3 Class Hours: 2 Lab Hours: 2 COURSE OUTLINE Division of Business and Technology NET 239 WAN Data Communications Approved Catalog Description Covers the technology and terminology required to use routing and switching technologies

More information

ecopy Barcode Recognition Service

ecopy Barcode Recognition Service ecopy Barcode Recognition Service Version 4.3 for ShareScan Administrator's Guide Part Number: 73-00401 (3/2009) Licensing, Copyright, and Trademark Information The information in this document is subject

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

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

Access Permissions. Agenda. chmod Command (Relative Method) File / Directory Permissions

Access Permissions. Agenda. chmod Command (Relative Method) File / Directory Permissions Agenda The Linux File System (chapter 4 in text) Setting Access Permissions Directory vs File Permissions chmod Utility Symbolic Method Absolute Method umask Utility Access Permissions Limiting unauthorized

More information

CSE115 Lab exercises for week 1 of recitations Spring 2011

CSE115 Lab exercises for week 1 of recitations Spring 2011 Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.

More information

5/8/2012. Exploring Utilities Chapter 5

5/8/2012. Exploring Utilities Chapter 5 Exploring Utilities Chapter 5 Examining the contents of files. Working with the cut and paste feature. Formatting output with the column utility. Searching for lines containing a target string with grep.

More information

70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced. Chapter 7: Advanced File System Management

70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced. Chapter 7: Advanced File System Management 70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management Objectives Understand and configure file and folder attributes Understand

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

What is software? Functional view. Functional view. System requirements of a software. Versions Free version: This is the free version

What is software? Functional view. Functional view. System requirements of a software. Versions Free version: This is the free version What is software? Session 04 Introduction to Software set of instructions that is written by human which runs on computer in order to do a useful task or tasks Types System Software Application Software

More information

Session 04 Introduction to Software

Session 04 Introduction to Software Session 04 Introduction to Software What is software? set of instructions that is written by human which runs on computer in order to do a useful task or tasks Types System Software Application Software

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

IT 05: Fundamental Operating Systems Online Study Questions

IT 05: Fundamental Operating Systems Online Study Questions IT 05: Fundamental Operating Systems Online Study Questions CUR Question Answer 5.0 Introduction 1. What controls almost all functions on a computer? 5.1 Explain the purpose of an operating system 2. The

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

5/20/2007. Touring Essential Programs

5/20/2007. Touring Essential Programs Touring Essential Programs Employing fundamental utilities. Managing input and output. Using special characters in the command-line. Managing user environment. Surveying elements of a functioning system.

More information

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 Introduction to Linux Part 1 Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 ssh Login or Interactive Node kingspeak.chpc.utah.edu Batch queue system kp001 kp002. kpxxx FastX

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

Introduction To Linux. Rob Thomas - ACRC

Introduction To Linux. Rob Thomas - ACRC Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free

More information

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

Unix tutorial. Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based. Unix tutorial Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based. Terminal windows You will use terminal windows to enter and execute

More information

UNIX File System. UNIX File System. The UNIX file system has a hierarchical tree structure with the top in root.

UNIX File System. UNIX File System. The UNIX file system has a hierarchical tree structure with the top in root. UNIX File System UNIX File System The UNIX file system has a hierarchical tree structure with the top in root. Files are located with the aid of directories. Directories can contain both file and directory

More information

An Introduction to DOS

An Introduction to DOS An Introduction to DOS Contents 1. Introduction........................................................................................ 1 2. The file system......................................................................................

More information

Chapter 6 Using a Redundant Management Module

Chapter 6 Using a Redundant Management Module Chapter 6 Using a Redundant Management Module You can install a redundant management module in slot M1 (upper) or M2 (lower) of the ProCurve 9408sl. (By default, the system considers the module installed

More information

Chapter 11: File System Implementation. Objectives

Chapter 11: File System Implementation. Objectives Chapter 11: File System Implementation Objectives To describe the details of implementing local file systems and directory structures To describe the implementation of remote file systems To discuss block

More information

Unix File System. Learning command-line navigation of the file system is essential for efficient system usage

Unix File System. Learning command-line navigation of the file system is essential for efficient system usage ULI101 Week 02 Week Overview Unix file system File types and file naming Basic file system commands: pwd,cd,ls,mkdir,rmdir,mv,cp,rm man pages Text editing Common file utilities: cat,more,less,touch,file,find

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

UNIX File Hierarchy: Structure and Commands

UNIX File Hierarchy: Structure and Commands UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin

More information

Linux Bootcamp Fall 2015

Linux Bootcamp Fall 2015 Linux Bootcamp Fall 2015 UWB CSS Based on: http://swcarpentry.github.io/shell-novice "Software Carpentry" and the Software Carpentry logo are registered trademarks of NumFOCUS. What this bootcamp is: A

More information

Oxford University Computing Services. Getting Started with Unix

Oxford University Computing Services. Getting Started with Unix Oxford University Computing Services Getting Started with Unix Unix c3.1/2 Typographical Conventions Listed below are the typographical conventions used in this guide. Names of keys on the keyboard are

More information

Unix Tutorial Haverford Astronomy 2014/2015

Unix Tutorial Haverford Astronomy 2014/2015 Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the

More information

CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso

CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso A layer of software that runs between the hardware and the user. Controls how the CPU, memory and I/O devices work together to execute programs Keeps

More information

Introduction to Linux

Introduction to Linux Introduction to Linux The command-line interface A command-line interface (CLI) is a type of interface, that is, a way to interact with a computer. Window systems, punched cards or a bunch of dials, buttons

More information

Fundamental 2. Lec#04. Shugofa Hassani

Fundamental 2. Lec#04. Shugofa Hassani Fundamental 2 Lec#04 Shugofa Hassani Session Objective To distinguish between commercial and non commercial operating system To understand Ms.- DOS operating system and it s type. To practice basic DOS

More information

13 File Structures. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

13 File Structures. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 13 File Structures 13.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define two categories of access methods: sequential

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

Converter. Dynamic Concepts' suite of conversion utilities for those migrating from. IMS to dl4

Converter. Dynamic Concepts' suite of conversion utilities for those migrating from. IMS to dl4 IMS to dl4 Converter Dynamic Concepts' suite of conversion utilities for those migrating from IMS to dl4 The IMS Converter requires dl4 version 5.2.1 or higher. Contact Dynamic Concepts if a dl4 upgrade

More information

CSCI 2132 Software Development. Lecture 4: Files and Directories

CSCI 2132 Software Development. Lecture 4: Files and Directories CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts

More information

Part Four - Storage Management. Chapter 10: File-System Interface

Part Four - Storage Management. Chapter 10: File-System Interface Part Four - Storage Management Chapter 10: File-System Interface Chapter 10: File-System Interface 10.1 File Concept 10.2 Access Methods 10.3 Directory and Disk Structure 10.4 File-System Mounting 10.5

More information

GNU CPIO September by Robert Carleton and Sergey Poznyakoff

GNU CPIO September by Robert Carleton and Sergey Poznyakoff GNU CPIO 2.12 12 September 2015 by Robert Carleton and Sergey Poznyakoff This manual documents GNU cpio (version 2.12, 12 September 2015). Copyright c 1995, 2001-2002, 2004, 2010, 2014-2015 Free Software

More information

Chapter 11: File-System Interface

Chapter 11: File-System Interface 1 Chapter 11: File-System Interface File Concept Access Methods Directory Structure File System Mounting File Sharing Protection 11.1 2 File Concept Contiguous logical address space Types: Data numeric

More information

Processes. Shell Commands. a Command Line Interface accepts typed (textual) inputs and provides textual outputs. Synonyms:

Processes. Shell Commands. a Command Line Interface accepts typed (textual) inputs and provides textual outputs. Synonyms: Processes The Operating System, Shells, and Python Shell Commands a Command Line Interface accepts typed (textual) inputs and provides textual outputs. Synonyms: - Command prompt - Shell - CLI Shell commands

More information

IT ESSENTIALS V. 4.1 Module 5 Fundamental Operating Systems

IT ESSENTIALS V. 4.1 Module 5 Fundamental Operating Systems IT ESSENTIALS V. 4.1 Module 5 Fundamental Operating Systems 5.0 Introduction 1. What controls almost all functions on a computer? The operating system 5.1 Explain the purpose of an operating system 2.

More information

KORG DSS-1 UPGRADE 2009 NEW FEATURES LIST

KORG DSS-1 UPGRADE 2009 NEW FEATURES LIST KORG DSS-1 UPGRADE 2009 NEW FEATURES LIST Introduction 4 Additional feature list 4 DSS-MSRK additions (1987) 4 New features (2009) 4 Part 1 5 DSS-1 Upgrade Summary 5 Part 2 6 Working with the enhanced

More information

Programming Studio #1 ECE 190

Programming Studio #1 ECE 190 Programming Studio #1 ECE 190 Programming Studio #1 Announcements In Studio Assignment Introduction to Linux Command-Line Operations Recitation Floating Point Representation Binary & Hexadecimal 2 s Complement

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

CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT

CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT Types of User Interface USER INTERFACE Command Interface Menu Interface Graphical User Interface Voice actuated Interface Web- form Interface User interface

More information

Lab 2: Linux/Unix shell

Lab 2: Linux/Unix shell Lab 2: Linux/Unix shell Comp Sci 1585 Data Structures Lab: Tools for Computer Scientists Outline 1 2 3 4 5 6 7 What is a shell? What is a shell? login is a program that logs users in to a computer. When

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

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda Essential Unix and Linux! Perl for Bioinformatics, 140.636! F. Pineda Generic computer architecture Memory Storage Fig. 1.2 From Designing Embedded Hardware, 2 nd Ed. by John Catsoulis OS concepts Shell

More information

Chapter. Accessing Files and Folders MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER

Chapter. Accessing Files and Folders MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER Chapter 10 Accessing Files and Folders MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER Monitor, manage, and troubleshoot access to files and folders. Configure, manage, and troubleshoot file compression

More information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

5/8/2012. Specifying Instructions to the Shell Chapter 8

5/8/2012. Specifying Instructions to the Shell Chapter 8 An overview of shell. Execution of commands in a shell. Shell command-line expansion. Customizing the functioning of the shell. Employing advanced user features. Specifying Instructions to the Shell Chapter

More information

APPLICATION USER GUIDE

APPLICATION USER GUIDE APPLICATION USER GUIDE Application: FileManager Version: 3.2 Description: File Manager allows you to take full control of your website files. You can copy, move, delete, rename and edit files, create and

More information

Long Filename Specification

Long Filename Specification Long Filename Specification by vindaci fourth release First Release: November 18th, 1996 Last Update: January 6th, 1998 (Document readability update) Compatibility Long filename (here on forth referred

More information

CS720 - Operating Systems

CS720 - Operating Systems CS720 - Operating Systems File Systems File Concept Access Methods Directory Structure File System Mounting File Sharing - Protection 1 File Concept Contiguous logical address space Types: Data numeric

More information

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1 Linux Essentials Smith, Roderick W. ISBN-13: 9781118106792 Table of Contents Introduction xvii Chapter 1 Selecting an Operating System 1 What Is an OS? 1 What Is a Kernel? 1 What Else Identifies an OS?

More information

Files and Directories

Files and Directories CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on

More information

F 4. Both the directory structure and the files reside on disk Backups of these two structures are kept on tapes

F 4. Both the directory structure and the files reside on disk Backups of these two structures are kept on tapes Directory Structure A collection of nodes containing information about all files Directory Files F 1 F 2 F 3 F 4 F n Both the directory structure and the files reside on disk Backups of these two structures

More information

Getting Started with UNIX

Getting Started with UNIX Getting Started with UNIX What is UNIX? Boston University Information Services & Technology Course Number: 4000 Course Instructor: Kenny Burns Operating System Interface between a user and the computer

More information

Operating Systems, Unix Files and Commands SEEM

Operating Systems, Unix Files and Commands SEEM Operating Systems, Unix Files and Commands SEEM 3460 1 Major Components of Operating Systems (OS) Process management Resource management CPU Memory Device File system Bootstrapping SEEM 3460 2 Programs

More information

Links, basic file manipulation, environmental variables, executing programs out of $PATH

Links, basic file manipulation, environmental variables, executing programs out of $PATH Links, basic file manipulation, environmental variables, executing programs out of $PATH Laboratory of Genomics & Bioinformatics in Parasitology Department of Parasitology, ICB, USP The $PATH PATH (which

More information

Chapter 2 Text Processing with the Command Line Interface

Chapter 2 Text Processing with the Command Line Interface Chapter 2 Text Processing with the Command Line Interface Abstract This chapter aims to help demystify the command line interface that is commonly used in UNIX and UNIX-like systems such as Linux and Mac

More information

Project 1: Implementing a Shell

Project 1: Implementing a Shell Assigned: August 28, 2015, 12:20am Due: September 21, 2015, 11:59:59pm Project 1: Implementing a Shell Purpose The purpose of this project is to familiarize you with the mechanics of process control through

More information

Chapter 11: Basic Operating Systems

Chapter 11: Basic Operating Systems Chapter 11: Basic Operating Systems Complete CompTIA A+ Guide to PCs, 6e To identify and use common desktop and home screen icons To manipulate files and folders in Windows and mobile devices How to modify

More information

Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny.

Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny. Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny stefano.gaiarsa@unimi.it Linux and the command line PART 1 Survival kit for the bash environment Purpose of the

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

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

Running Wordstar 6 on Windows 7 Using vdos

Running Wordstar 6 on Windows 7 Using vdos Running Wordstar 6 on Windows 7 Using vdos Thanks to Dennis McCunney for helping me learn how to set vdos up. DISCLAIMER #1: As explained below, I am running Wordstar 6 for DOS on a Windows 7 (64- bit)

More information

Introduction to Linux Workshop 1

Introduction to Linux Workshop 1 Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate

More information

CS 4284 Systems Capstone

CS 4284 Systems Capstone CS 4284 Systems Capstone Disks & File Systems Godmar Back Filesystems Files vs Disks File Abstraction Byte oriented Names Access protection Consistency guarantees Disk Abstraction Block oriented Block

More information

Hong Kong Polytechnic University Department of Electronic and Information Engineering. Experiment On DOS File system

Hong Kong Polytechnic University Department of Electronic and Information Engineering. Experiment On DOS File system DOSFS/CC/v1 Hong Kong Polytechnic University Department of Electronic and Information Engineering Experiment On DOS File system Objectives : To study how an OS manages its file system in a floppy disk.

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

UNIT 9 Introduction to Linux and Ubuntu

UNIT 9 Introduction to Linux and Ubuntu AIR FORCE ASSOCIATION S CYBERPATRIOT NATIONAL YOUTH CYBER EDUCATION PROGRAM UNIT 9 Introduction to Linux and Ubuntu Learning Objectives Participants will understand the basics of Linux, including the nature,

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

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory 1 Logging In When you sit down at a terminal and jiggle the mouse to turn off the screen saver, you will be confronted with a window

More information

2) clear :- It clears the terminal screen. Syntax :- clear

2) clear :- It clears the terminal screen. Syntax :- clear 1) cal :- Displays a calendar Syntax:- cal [options] [ month ] [year] cal displays a simple calendar. If arguments are not specified, the current month is displayed. In addition to cal, the ncal command

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

AutoArchive. Release 1.4.1

AutoArchive. Release 1.4.1 AutoArchive Release 1.4.1 Sep 23, 2017 Contents 1 Contents 1 1.1 Program Description........................................... 1 1.2 Operations Explained.......................................... 5 1.3

More information