Introduction to Unix

0   This course

0.2   Syllabus

  • Unix file system
  • Processes
  • Network configuration, printers
  • Stream editing
  • Text editors
  • System start-up
  • Users and groups
  • Shell scripting

1   Introduction

2   File System (i)

3   File System (ii)

4   Processes

5   Network, Printers, Stream Editing

5.1   Configuring the network interfaces

  • ifconfig -a
  • ifconfig eth0 [up|down]
  • ifconfig eth0 192.168.0.2 netmask 255.0.0.0

5.2   IP route table

  • route -n
  • route add default gw 192.168.1.1 eth0

5.3   DNS

  • dig
  • /etc/resolv.conf

5.4   DHCP, ARP

  • dhclient eth0
  • arp -na

5.5   Debian package managers

  • dpkg -l
  • dpkg -L wget
  • apt-cache search tcp
  • apt-cache show netcat
  • apt-get install netcat
  • apt-get uninstall python3

6   Text Editors

7   System Administration

8   Shell scripting