INLS102 Week3: UNIX Intro UNIX file directory system - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

INLS102 Week3: UNIX Intro UNIX file directory system

Description:

Instructor: Leo Cao. Objectives for today. listserv.unc.edu. Networking leftover-view ... Not as many compatible software. UNIX: basics ... – PowerPoint PPT presentation

Number of Views:45
Avg rating:3.0/5.0
Slides: 13
Provided by: ils93
Category:

less

Transcript and Presenter's Notes

Title: INLS102 Week3: UNIX Intro UNIX file directory system


1
INLS102 Week3UNIX IntroUNIX file directory
system
  • Date 9/13/05
  • Instructor Leo Cao

2
Objectives for today
  • listserv.unc.edu
  • Networking leftover-view
  • Knowing where you are in a file directory system,
    and how to move elsewhere
  • UNIX intro

3
Class Exercise for Network Configuration
  • Windows commands hostname, ipconfig, nslookup,
    ping, tracert, arp
  • Open Windows command interpreter Start / Run /
    type 'cmd'
  • hostname (hostname of a host computer) hostname
  • ipconfig (network configuration settings)
    ipconfig /all
  • nslookup (domain name server lookup) nslookup
    isis.unc.edu (nslookup 152.2.1.217)
  • ping (send an echo request to a host for response
    times) ping www.unc.edu
  • tracert (trace the route to a host) tracert
    www.ils.unc.edu (www.jomc.unc.edu,
    www.cs.unc.edu, www.lis.uiuc.edu)
  • arp (Address Resolution Protocol IP to Ethernet
    address map or to a physical machine address)
    arp -a
  • To get help, type 'command /help' ping /help,
    ipconfig /help, arp /help
  • type 'exit' or 'c' (CTRL-c) when in trouble

4
Unix file directory system
  • Picture the upside down tree, the first level is
    called the root
  • The branches, or folders, can contain sub-folders
  • You are currently located in one of those boxes,
    if you are in the mary folder, your current
    location is, /users/mary

5
Trees and trees
  • The windows file directory system is based off
    the unix one, so its just about the same
  • Burn the tree structure into your head, know
    where you are, and be able to move to where you
    want to be
  • the pwd command shows your current location in
    the directory

6
Roots and folders
  • pwd stands for print working directory
  • the displayed path is between the Root of the
    directory to your current folder.
  • Moving up and down the folders
  • Use cd (change directory)
  • cd .. Moves one level up
  • cd folder_name Moves one level down

7
Directory navigation exercise
  • Exercise A
  • Determine you current directory location, record
    the path
  • Move up to the root of the directory
  • Move back to the original location you started
    from
  • Exercise B
  • Navigate to my public folder, located at,
    /afs/isis.unc.edu/home/l/c/lcao/public

8
UNIX Intro
  • An operating system
  • First designed at ATT's Bell Laboratories in
    1969
  • Linux -- Linus Unix, open source variant of UNIX
  • 1991, a student named Linus Torwalds from Finland

9
Why UNIX?
  • Pros
  • Stable
  • Greater processing power
  • Higher security
  • Low cost (debatable)
  • Cons
  • Not as user friendly as windows.
  • Not as many compatible software

10
UNIX basics
  • The simplest and most important UNIX commands you
    have to know by heart by soul, or at least to
    pass this class,
  • Print working directory, pwd
  • Change directory, cd
  • List, ls

11
UNIX Basic Commands
  • telnet to isis, cd public_html, mkdir Inls102,
    makes a folder
  • display the current directory type pwd (print
    working directory)
  • cd (change directory)
  • display the directory list ls (ls -l or ls -a or
    ls -al)
  • copy
  • move
  • delete
  • rename
  • mkdir (make directory/folder)
  • rmdir (remove directory/folder)
  • Man (manual, help command)

12
For Thursday
  • Assignment 1 Due on Thursday
  • Readings as usual
Write a Comment
User Comments (0)
About PowerShow.com