Brent M. Dingle Texas A&M Directory Structure

Slides:



Advertisements
Similar presentations
DOS & Windows O/s Prof. Sujata Rao Less 5.
Advertisements

Exploring the UNIX File System and File Security
MCT260-Operating Systems I Operating Systems I Navigating the File System.
Activity One Use the Windows Explorer program to create a new folder. Name the folder by your first name. Click on the windows explorer icon then highlight.
Chapter 11 UNIX Printing. have to be root to setup a printer local printer is directly connected remote printer is a network printer print queue is nothing.
Chapter 5 Accessing Files and Directories. How Directories Get Created OS installation: usr, dev, etc, export, kernel and others places to store installation.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Command Prompt Chapter 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the MS-DOS Text Editor Richard Goldman ©January 31, 2000.
Command Line OpSys. Command Syntax CommandActing UponModifier dirc:\windows/p VerbNounAdverb Throwthe ballquickly.
Computer Systems Week 10: File Organisation Alma Whitfield.
1 DOS 2 Directory structure of disks Directory structure of disks Full Path or Full file specification Full Path or Full file specification Creating directories.
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
CPSC Pascal Brent M. Dingle Texas A&M University Chapter 1.
Chapter Two Exploring the UNIX File System and File Security.
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Compiled by: Dr. Mohammad Omar Alhawarat
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Lab Assignment 1 Getting Started. Submitting the LABS for grading Subject line of message: CTEC 110 WA Lab 1 Assignments Attachment file names:
8-2 What is a program? What is a “Window Manager” ? What is a “GUI” ? How do you navigate the Unix directory tree? What is a wildcard? Readings: See CCSO’s.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
Files, User Interfaces, and the OS Files: programs (.exe); data (.jpg,.html,.doc, etc.) User Interface: used to run programs and manage files and folders.
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
Unix File System Chapter 6.1 – Unix file system Home directory – A directory set aside for your personal use – The starting point when you log.
Basic DOS How to get some work done. It’s all a file Everything is a file: OS files, Application files, Data files and Game files Files have 8.3 names:
Agenda The Linux File System (chapter 4 in text)
The Command Line Yep, you need to know this. The Basics Start with the Prompt, what the computer tells you when ready for a command You type a command.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
Unix Fundamentals CS 127. File navigation cd - change directory cd /var/log cd /etc/apache2 cd ~/Desktop ~ is a shortcut for the home directory.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
IST 222 Day 6. DOS Naming Conventions A filename contains up to 8 characters, a separating period, and a file extension of up to three characters This.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Fall 2001(c)opyright Brent M. Dingle 2001 Abstract Data Types (ADTs) Brent M. Dingle Texas A&M University Chapter 8 – Sections 2 and 3 (and some from Mastering.
Delete an Operating System From Single-Boot HP Computer.
Agenda The Linux File System (chapter 4 in text)
Command Line Basics.
Navigating the Filing System
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
CPSC Pascal Brent M. Dingle Texas A&M University Chapter 3
Lecture 2 Working with Files and Directories
The Command Prompt Commands are the way to “do things” in Unix
CPSC Pascal Brent M. Dingle Texas A&M University 2001, 2002
UNIX Basics Internet Technology.
Command Syntax Chapter 2 Using the DIR Command with
Operating Systems and Using Linux
Operating Systems and Using Linux
The Linux Command Line Chapter 2
Exploring the UNIX File System and File Security
Operating Systems and Using Linux
Managing Your Files.
Operating Systems and Using Linux
Operating Systems and Using Linux
Brent M. Dingle Texas A&M University Chapter 12 – section 1
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Logging into the linux machines
Algorithms File Systems Lab Environment.
Operating Systems and Using Linux
Module 6 Working with Files and Directories
Simple Branches and Loops
Linux File System Commands
(c)opyright Brent M. Dingle 2001
Complex Array Structures
Brent M. Dingle Texas A&M University Chapter 5 – Section 1
Command Prompt Using DEL, DELTREE, RENAME and MOVE
Presentation transcript:

Brent M. Dingle Texas A&M Directory Structure CPSC 110 – Pascal Brent M. Dingle Texas A&M Directory Structure

Directories – Review Here we will look in closer detail at the DOS directory structure as presented in Chapter 1. We will also present some examples of full and relative paths as well as how to navigate through the directory structure.

Directories - Review DOS directories are tree structured, this implies a hierarchical relationship among directories. The top, or main directory, of a drive is the root directory. DOS directories may contain files and/or subdirectories.

Full Path Name - Review A full path name is a list of directories you would pass through in going from the root directory to the file. If the drive letter is known it IS part of the full path name. (do not be misled by the textbook) The full path name ends with the filename.

Relative Path Name - Review A relative path name is a list of directories to a file relative to the current directory. The relative path name ends with the filename.

Example Directory Structure

Full Path The full path of TicTac.pas would be: C:\Games\TicTac.pas The full path of bank.pas would be: C:\Homework\New\prob2\bank.pas

Relative Paths If the current directory is: c:\Homework then the relative path to bank.pas is: New\prob2\bank.pas

Relative Paths (cont) If the current directory is: C:\Homework then the relative path to Data.txt is: ..\Data.txt the relative path to TicTac.pas is: ..\Games\TicTac.pas

Relative Paths (cont 2) If the current directory is: C:\Homework then the relative path to Hello.pas is: New\Prob1\Hello.pas

Changing Directories If the current directory is: C:\Homework To change to the New directory, at the DOS prompt, we would enter the command: cd New

Changing Directories If the current directory is: C:\Homework To change to the Prob1 directory, at the DOS prompt, we would enter the command: cd New\Prob1

Changing Directories If the current directory is: C:\Homework To change to the Root directory, at the DOS prompt, we would enter the command: cd .. Or we could enter: cd \

Changing Directories If the current directory is: C:\Homework\New\Prob1 To change to the Root directory, at the DOS prompt, we would enter the command: cd .. (three times) Or we could enter: cd \