Fundamental

Aphirak Jansang, D.Eng. http://www.cpe.ku.ac.th/~aphirak IWING Lab, Department of Computer Engineering, Faculty of Engineering, Kasetsart University

*Adapted from CS4315: “Quick UNIX Tutorial” A. Berrached::CMS::UHD

1 01204428 Wireless Embedded Systems Outlines

 Linux Overview & CLI  Process Management  vi Text Editor: vi  User Management  Ubuntu Package Management

2 01204428 Wireless Embedded Systems Linux

 Founded in 1991 by Linus Trovalds  Initially as a terminal emulator

 Linux Mascot: TUX

* from http://en.wikipedia.org/wiki/History_of_Linux 3 01204428 Wireless Embedded Systems GNU

 Launched in 1984 to develop the GNU system  “GNU’s Not Unix!”  To create “Unix-like operating system”  Kernel + Software collection

 GNU/Hurd = GNU+Kernel  Micro-kernel designed  Never finished yet

 For more information: http://www.gnu.org

4 01204428 Wireless Embedded Systems

 “Unix-like operating systems” built on top of the Linux kernel

*from http://en.wikipedia.org/wiki/Linux_distribution

5 01204428 Wireless Embedded Systems Type of Linux distribution

 Commercial or non-commercial  Designed for enterprise users, power users, or for home users;  Supported on multiple types of hardware  Designed for servers, desktops, or embedded devices  General purpose or highly specialized

6 01204428 Wireless Embedded Systems Well-known Linux distributions

 Slackware

 Debian

 Redhat/Fedora

 Ubuntu

 Gentoo

7 01204428 Wireless Embedded Systems Distribution Watch

 http://www.distrowatch.com

8 01204428 Wireless Embedded Systems Package Management System

 Tools for updating, upgrading, removing, configuring, and installing the software packages  Aware of software dependencies and version information

 Example  : debian-based distribution  rpm: redhat-based distribution  : gentoo-based distribution  tgz: slackware-based distribution  opkg: -based distribution

9 01204428 Wireless Embedded Systems Outlines

 Linux Overview & CLI  Process Management  vi Text Editor: vi  User Management  Ubuntu Package Management

10 01204428 Wireless Embedded Systems