Introduction to UNIX / Linux

This is part of the ASP 2014 African School of Fundamental Physics and its Application (Aug 3 - 23, 2014, Dakar, Sénégal at Université Cheikh Anta Diop)

Introduction

This 5 hour (3 sessions) supplemental lecture is part of the 2014 edition of the African School of Fundamental Physics taking place at Université Cheikh Anta Diop in Dakar, Sénégal, on Aug. 3 - 23, 2014).

This course is held for those students needing some intensive, hands-on training to introduce them to core UNIX operating system concepts as well as fundamental network concepts.

Topics covered include:

  • UNIX / Linux Operating System Overview
  • Operating System Commands
  • vi Editor Usage
  • Core Network Concepts
  • Network Addressing
  • Network Debugging Tools

Prerequisites: Basic computer experience.

Course Materials


Session 1: Mon., Aug 4 - 17h30 - 18h30

Welcome: PDF

Introduction to Unix: PDF

  • Some history
  • Kernel, shell, processes
  • Security model
  • File System, Directory Hierarchy, files

Session 2: Tue., Aug 5 - 16h00 - 18h30

Introduction to Commands: PDF

  • Command format
  • Examples
  • Pipes
  • Command line power tools
  • Editing the command line
  • Copy/paste
  • Auto-completion with tab

Lab: HTML | PDF

Editing: PDF

  • Using vi (why?)
  • Other editor options (ee, joe, pico, emacs, xemacs)
  • vi modes
  • vi tricks (search ,replace, movement)
  • Editing configuration files

References:

  • "Vi Quick Reference" PDF
  • "Vi Reference Card" PDF

Lab: HTML | PDF


Session 3: Wed., Aug 6 - 11h00 - 12h30

TCP/IP Networking: PDF

Layers:

  • Review the OSI layers
  • Packets TCP, IP, UDP, ICMP

Addressing:

  • Netmask calculations
  • IP Allocation Golden Rules

Routing/forwarding:

  • Route configuration
  • Gateway, network
  • Default vs static routes
  • Routing aggregation/supernetting
  • Longest Prefix Rule
  • Hop-by-hop forwarding
  • Asymmetric paths

Lab: HTML | PDF

References: "Agreggation Tree" [PDF]

  • "Aggregation Tree - Example of Use" [PDF]
  • "Decimal - Hex - Binary - Conversion" [html | PDF]
  • "Golden Rules for Allocating IP Numbers" [html | PDF]
  • "IP Addressing" [html | PDF]
  • "Netmask Table" [html| PDF]

Lab: [PDF | TEXT]

Additional Materials

Network Performance Definitions & Metrics: [PDF]

  • Planning
  • Common measurements: bps, pps, rtt, jitter, etc.
  • Channel capacity and utilization
  • 95th percentile
  • end-to-end delay
  • Types of delay
  • Packet loss
  • Flow control and congestion algorithms
  • Common tools: mtr, netstat, lsof, tcpdump, tshark (wireshark), iptraf, iperf

Reference

  • VI editor: reference cards: Card 1:PDF | Card 2:PDF
  • Networking References
    • Agreggation Tree: PDF
    • Aggregation Tree - Example of Use: PDF
    • Decimal - Hex - Binary - Conversion tables: html | PDF
    • Golden Rules for Allocating IP Numbers: html | PDF
    • IP Addressing: html | PDF
    • Netmask Table: html | PDF

Instructors

Last modified 5 years ago Last modified on Aug 6, 2014, 3:17:31 AM

Attachments (13)