Introduction to UNIX
This is part of the AfNOG 2010 Workshop, held in conjunction with the AfNOG meeting in Kigali, Rwanda, on May 23rd 2010.
This one-day supplemental workshop is part of the AfNOG 2010 Workshop on Network Technology, held in conjunction with the AfNOG meeting in Kigali, Rwanda, on May 23rd 2010.
This course 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:
Who should attend: AfNOG 2010 attendees who are not proficient at with the use of the UNIX or Linux operating system and for those wishing for an introduction to fundamental networking.
Prerequisites: Basic computer experience.
SESSION I Welcome:[PDF | PowerPoint] Introduction to Unix: [PDF | PowerPoint] - Some history - Kernel, shell, processes - Security model - File System, Directory Hierarchy, files Introduction to Commands: [PDF | PowerPoint] - Command format - Examples - Pipes - Command line power tools - Editing the command line - Copy/paste - Auto-completion with tab Lab: [PDF | MS Word] Permissions in Unix: [PDF | PowerPoint] - User, Group, Other - Process permissions - 'root' user - Octal/Numeric vs. Symbolic mode - Some special cases (setuid/setgid/sticky bits) - Inherited privileges Lab: [PDF | MS Word] SESSION II Editing: [PDF | PowerPoint] - 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: [PDF | MS Word] Terminal and Console Access: [PDF | PowerPoint] - Virtual terminals (consoles) - Mouse daemon buffer - Copy/paste between terminals - OOB and Serial console access - Server/Switch console access with Minicom Lab: [PDF | MS Word] SESSION III TCP/IP Networking: [PDF | PowerPoint] - Review the OSI layers - Packet Headers - Packets TCP, IP, UDP, ICMP - IP Allocation Golden Rules - Netmask calculations - Gateway, network - Default vs static routes - Routing aggregation/supernetting - Interface(s) configuration - Route configuration 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 | MS Word] SESSION IV (Time Permitting) Network Performance Definitions & Metrics: [PDF | PowerPoint] - 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 - Local analysis - Common tools: vmstat, netstat, lsof, tcpdump and wireshark, iptraf, iperf References: Complete "Network Performance Analysis" presentation [PDF | PowerPoint] Complete "Network Performance Metrics" presentation [PDF | PowerPoint] Lab: [html]
Directory Listing of all files.