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
Editing: PDF
- Using vi (why?)
- Other editor options (ee, joe, pico, emacs, xemacs)
- vi modes
- vi tricks (search ,replace, movement)
- Editing configuration files
References:
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
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
- Fanta Bouba [FB] - (Sénégal/Tchad?)
- Khoudia Gueye Sy [KG] - (Sénégal)
- Phil Regnauld* [PR] - (Denmark/France?)
Attachments (13)
- intro-commands.pdf (382.4 KB) - added by admin 5 years ago.
- commands-exercises.pdf (155.5 KB) - added by admin 5 years ago.
- vi-quick-reference.pdf (26.9 KB) - added by admin 5 years ago.
- vi-reference-card.pdf (39.4 KB) - added by admin 5 years ago.
- editing-exercises.htm (30.6 KB) - added by admin 5 years ago.
- editing-exercises.pdf (170.8 KB) - added by admin 5 years ago.
- editing.pdf (1.0 MB) - added by admin 5 years ago.
- intro-unix.pdf (1023.4 KB) - added by admin 5 years ago.
- welcome.pdf (92.7 KB) - added by admin 5 years ago.
- commands-exercises.htm (30.0 KB) - added by admin 5 years ago.
- tcp-ip-exercises.htm (27.2 KB) - added by admin 5 years ago.
- tcp-ip-exercises.pdf (147.1 KB) - added by admin 5 years ago.
- intro-tcp_ip.pdf (730.6 KB) - added by admin 5 years ago.