Navigating the Filing System

Slides:



Advertisements
Similar presentations
RH030 Linux Computing Essentials
Advertisements

© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Alford Academy Business Education and Computing1 Advanced Higher Computing Based on Heriot-Watt University Scholar Materials File Handling.
Linux+ Guide to Linux Certification, Second Edition
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Welcome to (insert course name) (customize with instructor/course/section #)
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Linux Installation and Administration Lesson 2 Tutor: George Papamarkos.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Computer Systems Week 10: File Organisation Alma Whitfield.
+ Working in Your CCE Online Course Site. + Structure of CCE Online Course Sites CCE online courses use the document sharing and collaboration features.
UNIX command line. In this module you will learn: What is the computer shell What is the command line interface (or Terminal) What is the filesystem tree.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
1 Lesson 6 Exploring Microsoft Office 2007 Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
1 Lesson 6 Exploring Microsoft Office 2007 Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Download Dropbox Download should start immediately Save download file:
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
You Have A Website?!? How to create a class website that is useful and user-friendly for you, students, parents, and other educators Presented by Sarah.
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. File and Directory.
Partitioning and Formatting drives The easy way, using Knoppix live CD By Carl Weisheit.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
CPSC 217 T03 Week I Part #1: Unix and HELLO WORLD Hubert (Sathaporn) Hu.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Hands On UNIX II Dorcas Muthoni. Processes A running instance of a program is called a "process" Identified by a numeric process id (pid)‏  unique while.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
Introduction to Programming Using C An Introduction to Operating Systems.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop III - Part A Shell Commands Professional Training.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
The Unix File sytem. Introduction Tree structure …
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.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
+ Introduction to Unix Joey Azofeifa Dowell Lab Short Read Class Day 2 (Slides inspired by David Knox)
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
1 Linux Commands. 2 Path You specify a file or directory by its path name:  the full, or absolute, path name or the one relative to a location. The full.
2Operating Systems  Program that runs on a computer  Manages hardware resources  Allows for execution of programs  Acts as an intermediary between.
Getting Started with Dreamweaver
Introduction to Unix for FreeSurfer Users
Lesson 11 Exploring Microsoft Office 2007
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Development Environment
CS1010: Intro Workshop.
Getting started with CentOS Linux
...looking a bit closer under the hood
3.4 User Interfaces This tutorial will give you a first-hand experience of: Navigating the directory structure in a CLI and an unfamiliar GUI Running the.
Hands On UNIX AfNOG 2010 Kigali, Rwanda
Introducing… Microsoft Windows7
Chapter 3 Software Interfaces.
Hands On UNIX AfNOG X Cairo, Egypt
Intro to UNIX System and Homework 1
The Linux Command Line Chapter 2
Linux + Galaxy Server Tutorial
Microsoft Windows 7 Basics
Introduction Paul Flynn
Getting started with CentOS Linux
Getting Started with Dreamweaver
Review: Applying Computer Basics
RefWorks Presented by Suzanne van den Hoogen
Exit Ticket: Completion Verified
Chapter 1: Digital Communication Tools
Lab 2: Terminal Basics.
Presentation transcript:

Navigating the Filing System

Getting Started…. Go to https://www.codecademy.com Create an account by clicking the “Sign Up” tab and follow the directions. MAKE SURE YOU RECORD YOUR USERNAME AND PASSWORD AND DO NOT FOR GET IT !!!! (I do not have access to your account at all, so I cannot reset any passwords or find user names)

Now that you are Logged in Click on the “Catalog” tab in the top right hand corner of the website. Scroll Down and find “Learn the Command Line” Corner. There are four main topics we will cover so you can understand a bit about the command line: Navigate the file system Viewing and Changing the File System Redirecting Input and Output Configuring the Environment

Let’s Begin Click on the Navigating the File System, then click on the Navigation – Interactive Lesson icon. You are now in the interactive space of Code Academy. From here on in, the PowerPoint Lesson will indicate what you need to do on your screen, and will identify what is happening on your screen and what you accomplished.

The Command Line The command line is a text interface for your computer. It's a program that takes in commands, which it passes on to the computer's operating system to run. From the command line, you can navigate through files and folders on your computer, just as you would with Finder on Mac OS or Windows Explorer on Windows. The difference is that the command line is fully text-based. The advantage of using the command line is its power. You can run programs, write scripts to automate common tasks, and combine simple commands to handle difficult tasks - making it an important programming tool.

The LS Command In the terminal, after the $ type: ls Then hit Enter (always hit enter after you type the command you are inputting) You should see : 2014  2015  hardware.txt      In the terminal, first you see $. This is called a shell prompt. It appears when the terminal is ready to accept a command. When you type ls, the command line looks at the folder you are in, and then "lists" the files and folders inside it. The directories 2014,2015, and the File  hardware.txt are the contents of the current directory.

File System Note: When using the command line, we refer to folders as directories. Files and directories on your computer are organized into a filesystem. Click Next

File System A filesystem organizes a computer's files and directories into a tree structure: The first directory in the filesystem is the root directory. It is the parent of all other directories and files in the filesystem. Each parent directory can contain more child directories and files. Here blog/ is the parent of 2014/, 2015/, and hardware.txt. Each directory can contain more files and child directories. The parent-child relationship continues as long as directories and files are nested.

PWD Pwd stands for "print working directory". It outputs the name of the directory you are currently in, called the working directory. Here the working directory is blog/. In Codecademy courses, your working directory is usually inside the home/ccuser/workspace/directory. Now, print the working directory by typing pwd after the $ Type: cd 2015 Type: pwd You should now see /home/ccuser/workspace/blog/2015, you have just changed to the child directory 2015.

CD .. Type: pwd Type: cd jan/memory/ You just changed into the child directory memory. Type pwd to see the current working directory you are in Type: cd .. (Notce the space between the “D” and the “..”) Type: pwd (Notce what we did, we just moved back up one directory)

cd .. cd is used to change the working directory below or ahead, cd .. is used to change the working directory up or back one directory. Now change the directory to 2015/feb/ Type: pwd to identify the directory you are in… recall to get to the february child directory we have to go back to the 2015 directory and then go into the feb directory.                  

CD Go back to the blog directory by typing cd .. Until you get there Type: cd 2015/feb/ (this will put us in the february directory) Type: ls (this will list the directories we can move into) This directory has: circuit-board.txt  input-output.txt  power-supply.txt                         

mkdir Type mkdir media (this will make a media directory in the current working directory) Type ls to see if the new directory has been created, you will now see a media directory. The mkdir command stands for “make directory.” it creates a new directory in the working directory.

Touch Go back to the blog directory by typing cd .. Until you get there Type: cd 2014/dec Type: ls (you will see monitor.txt  mouse.txt) Type: touch keyboard.txt Type: ls (you will now see kyboard.txt has been added in this directory) The Touch command creates a new file inside the working directory. It takes in the filename you typed and creates an empty file. You could use .doc and it would create an empty word document, in our case we created a text file.

Summary The command line is a text interface for the computer's operating system. To access the command line, we use the terminal. A filesystem organizes a computer's files and directories into a tree structure. It starts with the root directory. Each parent directory can contain more child directories and files.

Summary From the command line, you can navigate through files and folders on your computer: pwd outputs the name of the current working directory. ls lists all files and directories in the working directory. cd switches you into the directory you specify. mkdir creates a new directory in the working directory. touch creates a new file inside the working directory.

Assignment Use the filing system from Code Academy and create the same filing system in the https://www.tutorialspoint.com/unix_terminal_online.php website. (The next slide has the hierarchy for reference) After doing that, create your own filing system on the https://www.tutorialspoint.com/unix_terminal_online.php website. Create a filing system that starts with your name at the top and has approximately 30 – 40 directories, files, images, videos and etc… Use http://www.freelinuxconsole.info/terminal/ if tutorialspoint.com does not work.

Hierarchy Blog 2014 2015 Hardware.txt Dec Jan Feb Motherboard.txt Monitor.txt Mouse.txt 2015 Jan Memory Cpu.txt Feb Circuit-board.txt Input-output.txt Power-supply.txt Motherboard.txt Hardware.txt