Free Software for Embedded Systems. Mail: Web: University of Nice - Sophia Antipolis

Size: px
Start display at page:

Download "Free Software for Embedded Systems. Mail: Web: University of Nice - Sophia Antipolis"

Transcription

1 Free Software for Embedded Systems Mail: Web: University of Nice - Sophia Antipolis

2 Introduction We must start with something Free Electrons - Stéphane Lavirotte 2

3 Linux for Embedded Systems Linux for embedded systems Is used more and more In use in many devices Mobile Phones PDA (Personal Digital Equipment) Network Equipments Have a look to: Used in limited resources systems uclinux, uclibc, dietlib, Easy to include free software inside that products sqlite, samba, thttpd, Free Electrons - Stéphane Lavirotte 3

4 Development Phases Configuration First, choose which features to include in the system Kernel configuration Choose the tools and applications to include Build Need to recompile the entire system for the target: Kernel Libraries Applications Deployment Installation of files in a filesystem Transfer on the target and start the new system Free Electrons - Stéphane Lavirotte 4

5 System Components Component Boot Loader Kernel Kernel Modules File Systems Libraries Applications Boot Loader Kernel Kernel Modules Libraries Applications File System Free Electrons - Stéphane Lavirotte 5

6 About Free Software Linux is and Open Source Free Software Free Software provides 4 freedom to the user: See The freedom to use the program as it sees fit The freedom to study how the program works and adapt it to its own needs (Get the source code is a precondition). The freedom to redistribute copies to help others The freedom to improve the program, and distribute the improvements to the public so that the community can benefit from advanced (Get the source code is a precondition). Free Electrons - Stéphane Lavirotte 6

7 The GNU General Public License (GPL) Copyleft licenses rely on copyright law to require that any modified version remains free software. For more details Copyleft: The GNU GPL requires that modifications and derivative works are also under GPL: Applies only to software distributed Any program using GPL code (statically or dynamically linked) is regarded as an extension of this code and therefore under the GPL For more details FAQ GPL: Free Electrons - Stéphane Lavirotte 7

8 Free Applications and Embedded Systems A collection of Software Tools Free Electrons - Stéphane Lavirotte 8

9 glibc C Library made by GNU project LGPL License Designed for Performances Respect standards Portability Necessary for all GNU/Linux systems But too big for embedded systems About 1,5-2MB are necessary Sur IPaQ: 1,2MB pour la libc et 500KB pour la libm Sur i386: 1,3MB pour la libc et 150KB pour la libm Possible alternatives Free Electrons - Stéphane Lavirotte 9

10 uclibc C Library made by CodePoet Consulting LGPL License Now supported by MontaVista, TimeSys, Wind River Designed For small and tiny embedded systems With a maximum of functionalities Provides most needs Debian Woody completely ported using uclibc Small: about 4 times smaller than glibc arm glibc: 1700 KB (libc: 1.2 MB, libm: 500 KB) uclibc:. 400 KB (libuclibc: 300 KB, libm: 55KB) Free Electrons - Stéphane Lavirotte 10

11 Comparison glibc (GNU C Library) Done for its performance and the respect of standards The best for workstation machines and servers uclibc Highly compatible Made for embedded systems with a small storage capacity and memory The others: diet libc, newlib, klibc Most suitable for all small systems, or initramfs and init ramdisk Free Electrons - Stéphane Lavirotte 14

12 A Toolbox for the Target THE Toolbox Free Electrons - Stéphane Lavirotte 26

13 BusyBox BusyBox Consolidates most Unix utilities into a single executable A web server if also included! Small size Statically compiled with uclibc: less the 500KB Statically compiled with glibc: less than 1MB An excellent choice for: Initramfs or initrd with complexes scripts Embedded systems with small and medium-sized storage Easy to configure the wanted functionalities Free Electrons - Stéphane Lavirotte 27

14 BusyBox Commands addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bunzip2, bzcat, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, devfsd, df, dirname, dmesg, dos2unix, dpkg, dpkgdeb, du, dumpkmap, dumpleases, echo, egrep, env, expr, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck.minix, ftpget, ftpput, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, iplink, iproute, iptunnel, kill, killall, klogd, lash, last, length, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsmod, makedevs, md5sum, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, msh, mt, mv, nameif, nc, netstat, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printf, ps, pwd, rdate, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod, route, rpm, rpm2cpio, runparts, rx, sed, seq, setkeycodes, sha1sum, sleep, sort, startstopdaemon, strings, stty, su, sulogin, swapoff, swapon, sync, sysctl, yslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat Free Electrons - Stéphane Lavirotte 28

15 Configuring BusyBox Get the latest stable version Configuring BusyBox (create a.config file): make defconfig To begin with BusyBox Configure Busybox with all the options (produce a huge system) make allnoconfig Unselect all the options Allow to include only wanted features (produce a small system) Same interface as the kernel configuration tool make menuconfig (texte) make xconfig (graphique) Possibility to configure the wanted commands and all the options and functionalities wanted for these commands Free Electrons - Stéphane Lavirotte 29

16 Compiling BusyBox When Cross-Compiling Choose the microprocessor architecture and the right crosscompiler in the Makefile (as for kernel) ARCH?= arm CROSS_COMPILE?= arm-linux-gnueabi- Add path to the cross-compiler in our PATH export PATH=/usr/local/arm/3.3.2/bin:$PATH BusyBox Compiling Make BusyBox Installing make install Just need to copy all files to the target filesystem cp -a _install/* /mnt/rootfs/ Free Electrons - Stéphane Lavirotte 30

17 Servers for the Target ssh, http, Free Electrons - Stéphane Lavirotte 33

18 Advantages of an Embedded Web Server Several devices need something to be able to configure it (for example, the network address) Gateway/ Modems, IP Camera, Printer, Advantages of an embedded Web Server No need to develop some specific drivers No need to develop a specific configuration application No need to support different OS Just need to develop some HTML pages (static or dynamic ones) to allow the configuration (with the power of java-script on client side) Reduce the hardware costs (no LCD screen, no need to have a lot of storage capabilities on device, ) Free Electrons - Stéphane Lavirotte 35

19 thttpd Tiny/Turbo/Throttling HTTP server: Simple Only implement the minimum of HTTP 1.1 protocol Small at all points of view 88KB for 2.25b version against 264KB for Apache Very low memory consumption (no fork) Portable Code Can compile on almost all Unix systems Very quick to answer Almost as fast as the complete servers Security Designed to protect Web servers from attacks Free Electrons - Stéphane Lavirotte 36

20 Other Embedded Web Servers BusyBox ( 9KB (BusyBox 1.5): includes CGI, authentication, and support for scripts (like php) Klone ( Can include dynamic page (in C/C++ <% code %> ) and compressed Only one executable (about 150KB) Boa ( Designed to be simple, fast and secured Lighthttpd ( Designed to manage high number of requests Free Electrons - Stéphane Lavirotte 37

21 Graphic Libraries for the Target Graphical Toolboxes Free Electrons - Stéphane Lavirotte 38

22 NanoX / Microwindows NanoX / Microwindows Graphical library running under Linux Framebuffer, X / Windows, SVGAlib, and some other graphical systems Advantages: Lisence: Mozilla Public License, allowing proprietary applications Very light (< 100KB) 2 APIs (C language) API Win32: allows Windows et Windows CE Naon-X API: small X server with an API of Xlib type Documentation of API, FAQs and Tutorials available Limitations Lack some support for themes Free Electrons - Stéphane Lavirotte 39

23 NanoX / Microwindows Free Electrons - Stéphane Lavirotte 40

24 MiniGUI MiniGUI Mature graphical toolbox Advantages Supported architectures: x86, arm, ppc, m68k, mips Support Linux / uclinux, ecos, some proprietary RT OS and Win32 Seams popular and used in many Asian devices Programming language: C About 700KB Limitations Needs a commercial license to create a product with Free Electrons - Stéphane Lavirotte 41

25 MiniGUI Terminals Industrial Tools Set Top Box Free Electrons - Stéphane Lavirotte 42

26 FLTK Fast Light ToolKit (pronounce «fulltick») Pronunciation: «fulltick» Advantages LGPL License Cross-platform: Unix X11, Windows et Max OS X Can create new applications in few minutes with the help of FLUID builder C++ Libraries Support for 3D graphical (OpenGL) Free Electrons - Stéphane Lavirotte 43

27 FLTK Free Electrons - Stéphane Lavirotte 44

28 Simple Direct media Layer Cross-platform multimedia library At the origin, created for video games programming Advantages Allow a very low level access: keyboard, mouse, joystick, sound, 3D display (via OpenGL) and 2D (via framebuffer) Now used for embedded systems Native C interface Several wrappers for many languages Many applications and demos available Free Electrons - Stéphane Lavirotte 45

29 SDL Free Electrons - Stéphane Lavirotte 46

30 DirectFB Advantages C library in user mode Designed for embedded systems Compact, powerful, flexible et easy to use Support for hardware acceleration (with fallback software for actions non hardware supported) Abstraction layer to entry possibilities Windowing system with transparency management Many applications and demos available Free Electrons - Stéphane Lavirotte 47

31 DirectFB Free Electrons - Stéphane Lavirotte 48

32 Qt Qt Embedded Advantages Same API as the desktop (easy to develop applications) Based on framebuffer (rather than X) with its own windowing system Can easily change Look and Feel Completely modular: so that, you can limit the size: Entre 1.7 et 4.1 MB compressed (3.6 et 9.0MB non compressed) Support for: arm, x86, mips, powerpc, windows ce Integrated with several Java VM Limitations Need a commercial license to create new products Free Electrons - Stéphane Lavirotte 49

33 Qt Free Electrons - Stéphane Lavirotte 50

34 GTK Projet GTK+ Advantages Exactly the same version as the desktop one C Library that we can include in several language Usable with X and DirectFB Based on Cairo for vector graphics Solutions for system without any FPU Limitations Important size with all libraries 4.4MB with DirectFB 13.4MB with X To see an application example: Free Electrons - Stéphane Lavirotte 51

35 GTK Free Electrons - Stéphane Lavirotte 52

36 Environments for Target A suite of standard applications Free Electrons - Stéphane Lavirotte 53

37 Opie. Open Palmtop Integrated Environment Based on Qt Embedded Advantages Based on framebuffer (rather than on X) Include an application suite for PDA Contacts, Calendar, (Personal Information Management) Multimedia applications for video and music playing Device configuration Misc: games, , Include beautiful icons and interfaces (themes) Limitations Lack a goo Web client (old Konqueror version) Free Electrons - Stéphane Lavirotte 54

38 Opie Free Electrons - Stéphane Lavirotte 55

39 Gnome Mobile. Gnome Mobile Advantages Huge community Free Electrons - Stéphane Lavirotte 56

40 Gnome Mobile Free Electrons - Stéphane Lavirotte 57

41 GPE. GPE Palmtop Environment Based on the GTK+ toolkit Advantages Based on X framebuffer X Easy to remotely display the screen of a PC Set of applications for PDA with LinPhone Standard GTK+ application can run with no or not much modifications Recognize handwriting on screen display Free Electrons - Stéphane Lavirotte 58

42 GPE Free Electrons - Stéphane Lavirotte 59

List of Linux Commands in an IPm

List of Linux Commands in an IPm List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir

More information

Rolling Your Own Building a REAL Internet Appliance

Rolling Your Own Building a REAL Internet Appliance Rolling Your Own Building a REAL Internet Appliance Triangle Linux Users Group Alan Porter porter@trilug.org http://www.alanporter.com September 2008 Agenda TMIO, company, background (video) Stealing with

More information

The RAM disk offers console-based access to the platform, either through serial line or using the telnet protocol over Ethernet.

The RAM disk offers console-based access to the platform, either through serial line or using the telnet protocol over Ethernet. The DNP/2486 MIN-Linux Features The DNP/2486 MIN-Linux system is using a RAM disk image based on the Debian Etch (4.0) distribution. The RAM disk has been built from scratch to support all features of

More information

EECS 473 Advanced Embedded Systems. Lecture 5 Evaluation boards & GPL Start on Linux (time allowing)

EECS 473 Advanced Embedded Systems. Lecture 5 Evaluation boards & GPL Start on Linux (time allowing) EECS 473 Advanced Embedded Systems Lecture 5 Evaluation boards & GPL Start on Linux (time allowing) Outline We are reviewing/finishing up the RTOS stuff from last time (10 minutes?) Off-the-shelf boards

More information

Intel MPSS transition to Yocto - FAQ. Revision 2.0

Intel MPSS transition to Yocto - FAQ. Revision 2.0 Intel MPSS transition to Yocto - FAQ Revision 2.0 Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY

More information

Intro ======= for proj in st surf tabbed sbase nldev; do printf "%%s - the past and the future.\n" "${proj}" done. Christoph Lohmann

Intro ======= for proj in st surf tabbed sbase nldev; do printf %%s - the past and the future.\n ${proj} done. Christoph Lohmann Intro ======= for proj in st surf tabbed sbase nldev; do printf "%%s - the past and the future.\n" "${proj}" done Christoph Lohmann st - History ============== 2008-05-11 - first check in

More information

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name LINUX Commands alias Create an alias apropos Search Help manual pages (man -k) awk Find and Replace text, database sort/validate/index break Exit from a loop builtin Run a shell builtin bzip2 Compress

More information

Bash command line for Linux. adduser Add a user to the system. addgroup Add a group to the system. Create an alias

Bash command line for Linux. adduser Add a user to the system. addgroup Add a group to the system. Create an alias Bash command line for Linux. adduser Add a user to the system addgroup Add a group to the system alias Create an alias apropos Search Help manual pages (man -k) apt-get Search for and install software

More information

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 CompTIA Linux+ Powered by LPI LX0-103 Objectives The Linux+ Powered by LPI Exam: LX0-103 exam covers the following topics. #

More information

LPIC-1 System Administrator

LPIC-1 System Administrator LPIC-1 System Administrator The world s largest and most recognized Linux Certification LPIC-1 is the first certification in LPI s multi-level Linux professional certification program. The LPIC-1 will

More information

PDF Downloaded from StuffPrime All Tech Stuff That Matters

PDF Downloaded from StuffPrime All Tech Stuff That Matters List Of Latest Kali Linux Commands In 2018 PDF Downloaded from StuffPrime All Tech Stuff That Matters Kali Linux Command (A-Z) Output From A apropos apt-get aptitude aspell awk Get Help Related Documents

More information

CSCM98 Lab Class #5 Getting familiar with the command line

CSCM98 Lab Class #5 Getting familiar with the command line CSCM98 Lab Class #5 Getting familiar with the command line Lab Class Description. Unix has some powerful commands that can be combined inside shell scripts. Today we will have a look at various commands

More information

Kali Linux Commands Cheat Sheet

Kali Linux Commands Cheat Sheet Kali Linux Commands Cheat Sheet Todos os comandos básicos de A a Z em Kali Linux. A apropos : Search Help manual pages (man -k) apt-get : Search for and install software packages (Debian/Ubuntu) aptitude

More information

KUROBOX/PRO Product Specifications. Product name: KUROBOX/PRO

KUROBOX/PRO Product Specifications. Product name: KUROBOX/PRO KUROBOX/PRO Product Specifications (Page) KUROBOX/PRO Product Specifications Product name: KUROBOX/PRO 2 1. Contents 1. Contents...2 2. Product Overview...4 3. Special Features...4 4. Individual Specifications...5

More information

Common UNIX Utilities Alphabetical List

Common UNIX Utilities Alphabetical List Common UNIX Utilities Alphabetical List addbib - create or extend a bibliographic database apropos - locate commands by keyword lookup ar - create library archives, and add or extract files at - execute

More information

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Filesystem Hierarchy Operating systems I800 Edmund Laugasson Filesystem Hierarchy Operating systems I800 Edmund Laugasson edmund.laugasson@itcollege.ee There has been used materials from Margus Ernits, Katrin Loodus when creating current slides. Current document

More information

BUE-801 & 803 Gateway User Manual

BUE-801 & 803 Gateway User Manual BUE-801 & 803 Gateway User Manual V1.0 Model Name: SPEC NO.: Date Version : : BUE-801(803) 2013-3- 11 1. 0 1 Content www.buenoptic.net 1:Introdution....4 1.1 Main feature.....4 1.2 Package List....5 1.3

More information

Embedded Systems. Mail: Web: Université de Nice - Sophia Antipolis

Embedded Systems. Mail: Web:   Université de Nice - Sophia Antipolis Embedded Systems Mail: Stephane.Lavirotte@unice.fr Web: http://stephane.lavirotte.com/ Université de Nice - Sophia Antipolis A Smart Object A Smart Object: What is it? The Nabaztag example 23 cm high 418

More information

Utilities. September 8, 2015

Utilities. September 8, 2015 Utilities September 8, 2015 Useful ideas Listing files and display text and binary files Copy, move, and remove files Search, sort, print, compare files Using pipes Compression and archiving Your fellow

More information

ADMINISTRATION AND DEPLOYMENT

ADMINISTRATION AND DEPLOYMENT ADMINISTRATION AND DEPLOYMENT OF WIRELESS MESH NETWORKS Masterarbeit der Philosophisch-naturwissenschaftlichen Fakultät der Universität Bern vorgelegt von Daniel Balsiger April 2009 Leiter der Arbeit:

More information

DTK2410 Specification

DTK2410 Specification version 1.0 DIGNSYS Inc. FEATURES Hardware DTK2410 reference board Reference board for embedded application SAMSUNG S3C2410 MCU NOR/NAND Flash and SDRAM USB host and device UART interface JTAG interface

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12. CIE- 25 Marks Government of Karnataka Department of Technical Education Bengaluru Course Title: Linux Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78 Type of Course: Tutorial, Practical s & Student

More information

Contents. xxvii. Preface

Contents. xxvii. Preface Preface xxvii Chapter 1: Welcome to Linux 1 The GNU Linux Connection 2 The History of GNU Linux 2 The Code Is Free 4 Have Fun! 5 The Heritage of Linux: UNIX 5 What Is So Good About Linux? 6 Why Linux Is

More information

Choosing free software graphical libraries for embedded devices

Choosing free software graphical libraries for embedded devices Embedded Linux Conference Europe Choosing free software graphical libraries for embedded devices Thomas Petazzoni Free Electrons http://free electrons.com/ 1 About this document This document is released

More information

1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo "\thola" 10. $ echo e "\thola" 11.

1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo \thola 10. $ echo e \thola 11. 1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo "\thola" 10. $ echo e "\thola" 11. $ cal 2015 12. $ uname a 13. $ script $(date +%F) script

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Linux Reference Card - Command Summary

Linux Reference Card - Command Summary Linux Reference Card - Command Summary adduser adduser dsoneil This command will automatically add a new user to the system The Bash script can be found in /usr/sbin if it needs to be changes alias alias

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

Saving Your Bacon Recovering From Common Linux Startup Failures

Saving Your Bacon Recovering From Common Linux Startup Failures Saving Your Bacon Recovering From Common Linux Startup Failures Mark Post Novell, Inc. Friday, August 12, 2011 Session Number 10105 Agenda How the boot process is supposed to work What things can go wrong

More information

Systems Programming/ C and UNIX

Systems Programming/ C and UNIX Systems Programming/ C and UNIX Alice E. Fischer September 6, 2017 Alice E. Fischer Systems Programming Lecture 2... 1/28 September 6, 2017 1 / 28 Outline 1 Booting into Linux 2 The Command Shell 3 Defining

More information

Contents. xxix. Preface

Contents. xxix. Preface Contents Preface xxix Chapter 1: Welcome to Mac OS X 1 The Heritage of Mac OS X: UNIX 2 The Open Source Connection 3 The Mach Kernel 3 The GNU Project 4 The BSD UNIX System 5 Darwin 5 Overview of Mac OS

More information

Embedded Systems Ch 3A Linux Development Environment

Embedded Systems Ch 3A Linux Development Environment Embedded Systems Ch 3A Linux Development Environment Byung Kook Kim Dept of EECS Korea Advanced Institute of Science and Technology Overview 1. Embedded Linux 2. Cross-Development System 3. Setting Linux

More information

TJU Syllabus for Linux Fundamentals and Applications

TJU Syllabus for Linux Fundamentals and Applications TJU Syllabus for Linux Fundamentals and Applications Code: 2160281 Title: Linux Fundamentals and Applications Semester Hours: 40 Credits: 2 Semester Structure Offered by: for: Prerequisite: Hour Lecture:24

More information

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing

More information

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days CompTIA Linux+ 2009 Exam Code: XK0-002 Course Length: 5 Days Course Overview This instructor-led course will prepare students for the 2009 CompTIA Linux+ certification exam. It provides a comprehensive

More information

Introduction to UNIX/Linux

Introduction to UNIX/Linux Introduction to UNIX/Linux Biochemistry Boot Camp 2018 Session #3 Nick Fitzkee nfitzkee@chemistry.msstate.edu Operating system (OS) Some terms Command-line interface (CLI) Graphical user interface (GUI)

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Development Environment Embedded Linux Primer Ch 1&2

Development Environment Embedded Linux Primer Ch 1&2 Development Environment Embedded Linux Primer Ch 1&2 Topics 1) Systems: Host and Target 2) Host setup 3) Host-Target communication CMPT 433 Slides #3 Dr. B. Fraser 18-05-05 2 18-05-05 1 Host & Target Host

More information

Open Source Operating Systems: Introduction to Command Line Administration (SCQF level 8)

Open Source Operating Systems: Introduction to Command Line Administration (SCQF level 8) Higher National Unit Specification General information Unit code: HT6W 35 Superclass: CD Publication date: July 2017 Source: Scottish Qualifications Authority Version: 01 Unit purpose This unit is suitable

More information

Poky Linux & OpenEmbedded based environment

Poky Linux & OpenEmbedded based environment & based environment Marcin Juszkiewicz marcin@juszkiewicz.com.pl http://marcin.juszkiewicz.com.pl ST-Ericsson Community Workshop 2009 Some information about me Bought Sharp Zaurus SL-5500 in February 2003

More information

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2)

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2) BANK ON & SHELL PROGRAMMING-502 (CORE PAPER-2) TOPIC 1: VI-EDITOR MARKS YEAR 1. Explain set command of vi editor 2 2011oct 2. Explain the modes of vi editor. 7 2013mar/ 2013 oct 3. Explain vi editor 5

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

LR-series User s Manual

LR-series User s Manual MANUAL LR-series User s Manual Doc no. 06-118 01 TagMaster AB Copyright The copyright and ownership of this document belongs to TagMaster AB. The document may be downloaded or copied provided that all

More information

Unix Tools / Command Line

Unix Tools / Command Line Unix Tools / Command Line An Intro 1 Basic Commands / Utilities I expect you already know most of these: ls list directories common options: -l, -F, -a mkdir, rmdir make or remove a directory mv move/rename

More information

The table below lists the domains measured by this examination and the extent to which they are represented in the examination.

The table below lists the domains measured by this examination and the extent to which they are represented in the examination. Introduction The Linux+ Certification is designed to measure the competencies of the Linux Professional with six to twelve months experience with the Linux operating system. This person provides basic

More information

for more :-

for more :- JNTU ONLINE EXAMINATIONS [Mid 1 - UNIX] 1. C programmers in the unix environment has complete access to the entire system call library as well as the a. static library functions b. dynamic library functions

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

Topics. Installation Basics of Using GNU/ Linux Administration Tools

Topics. Installation Basics of Using GNU/ Linux Administration Tools GNU/ Linux Basics Topics Installation Basics of Using GNU/ Linux Administration Tools Installation Installing Using the GUI Disc Partitioning Allocation of swap space Selection of packages to install Configuring

More information

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.

More information

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview

More information

Shell Programming Systems Skills in C and Unix

Shell Programming Systems Skills in C and Unix Shell Programming 15-123 Systems Skills in C and Unix The Shell A command line interpreter that provides the interface to Unix OS. What Shell are we on? echo $SHELL Most unix systems have Bourne shell

More information

Freescale FAE75 Training Genesi Pegasos II LinuxTraining. Maurie Ommerman June 10, 2004

Freescale FAE75 Training Genesi Pegasos II LinuxTraining. Maurie Ommerman June 10, 2004 Freescale FAE75 Training Genesi Pegasos II LinuxTraining Maurie Ommerman June 10, 2004 FAE75 Part 3 Debian Linux Maurie Ommerman June 10, 2004 Open Firmware boot script Boot Options Upon PowerUP, this

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

Introduction of Linux

Introduction of Linux Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

LOG ON TO LINUX AND LOG OFF

LOG ON TO LINUX AND LOG OFF EXPNO:1A LOG ON TO LINUX AND LOG OFF AIM: To know how to logon to Linux and logoff. PROCEDURE: Logon: To logon to the Linux system, we have to enter the correct username and password details, when asked,

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Oracle DB 11gR2 - što je novo? Antun Vukšić, Principal Consultant Oracle Hrvatska

Oracle DB 11gR2 - što je novo? Antun Vukšić, Principal Consultant Oracle Hrvatska Oracle DB 11gR2 - što je novo? Antun Vukšić, Principal Consultant Oracle Hrvatska Table of Contents Storage management challenges Extending ASM to manage general purpose files ASM volume manager ASM Cluster

More information

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242 Index A Advanced Linux Sound Architecture (ALSA) device, 214 Airplay amixer command, 252 boot, 255 build script, 254 Build.PL script, 254 central controlling system, 251 lsmod command, 252 make command,

More information

1- Session 1: An Introduction to the Computer & Windows Basics

1- Session 1: An Introduction to the Computer & Windows Basics 1- Session 1: An Introduction to the Computer & Windows Basics How to power on/off the computer. How to log on/off the Windows. General Windows features, including, but not limited to: o Accessing different

More information

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2 CSE Linux VM For Microsoft Windows Based on opensuse Leap 42.2 Dr. K. M. Flurchick February 2, 2017 Contents 1 Introduction 1 2 Requirements 1 3 Procedure 1 4 Usage 3 4.1 Start/Stop.................................................

More information

Introduction to UNIX. Introduction. Processes. ps command. The File System. Directory Structure. UNIX is an operating system (OS).

Introduction to UNIX. Introduction. Processes. ps command. The File System. Directory Structure. UNIX is an operating system (OS). Introduction Introduction to UNIX CSE 2031 Fall 2012 UNIX is an operating system (OS). Our goals: Learn how to use UNIX OS. Use UNIX tools for developing programs/ software, specifically shell programming.

More information

Introduction to UNIX. CSE 2031 Fall November 5, 2012

Introduction to UNIX. CSE 2031 Fall November 5, 2012 Introduction to UNIX CSE 2031 Fall 2012 November 5, 2012 Introduction UNIX is an operating system (OS). Our goals: Learn how to use UNIX OS. Use UNIX tools for developing programs/ software, specifically

More information

LINUX FUNDAMENTALS (5 Day)

LINUX FUNDAMENTALS (5 Day) www.peaklearningllc.com LINUX FUNDAMENTALS (5 Day) Designed to provide the essential skills needed to be proficient at the Unix or Linux command line. This challenging course focuses on the fundamental

More information

Linux crash lecture by Andrey Lukyanenko

Linux crash lecture by Andrey Lukyanenko Linux crash lecture by Andrey Lukyanenko T-110.5102 Laboratory Works in Networking and Security 20.1.2015 Otaniemi based on material of Miika Komu, 2013 Traversing Directories cd Change Directory Change

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018 GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux

More information

Outline. Background. Embedded Linux (common but not required attributes) Legal issues, versioning, building, user basis, FHS, booting

Outline. Background. Embedded Linux (common but not required attributes) Legal issues, versioning, building, user basis, FHS, booting Embedded Linux Linux? A POSIX-compliant and widely deployed desktop/server operating system licensed under the GPL POSIX Unix-like environment (shell, standard programs like awk etc.) Desktop OS Designed

More information

Lecture 02: Linux Command Line

Lecture 02: Linux Command Line BI296: Linux and Shell Programming Lecture 02: Linux Command Line Maoying,Wu ricket.woo@gmail.com Dept. of Bioinformatics & Biostatistics Shanghai Jiao Tong University Spring, 2017 Quick Recaps Decimal/Binary/Octal/Hexadecimal

More information

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the

More information

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (( )) (( )) [ x x ] cdc communications, inc. [ x x ] \ / presents... \ / (` ') (` ') (U) (U) Gibe's UNIX COMMAND Bible ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The latest file from the Cow's

More information

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r 1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A) ^pat B) $pat C) pat$ D) pat^ 2. Which command is used to sort the lines of data in a file in reverse

More information

DM&P X-Linux Developer's Manual

DM&P X-Linux Developer's Manual DM&P X-Linux Developer's Manual 2008-11-24 Table of Content What s X-Linux...2 Update History...3 Environment Overview...5 Install X-Linux...5 Setup Files...7 Utilities...8 Using X-Linux...10 Disable Booting

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes

More information

Introduction To Linux. Rob Thomas - ACRC

Introduction To Linux. Rob Thomas - ACRC Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

The student will have the essential skills needed to be proficient at the Unix or Linux command line.

The student will have the essential skills needed to be proficient at the Unix or Linux command line. Table of Contents Introduction Audience At Course Completion Prerequisites Certified Professional Exams Student Materials Course Outline Introduction This challenging course focuses on the fundamental

More information

Unix System Architecture, File System, and Shell Commands

Unix System Architecture, File System, and Shell Commands Unix System Architecture, File System, and Shell Commands Prof. (Dr.) K.R. Chowdhary, Director COE Email: kr.chowdhary@iitj.ac.in webpage: http://www.krchowdhary.com JIET College of Engineering August

More information

CENG393 Computer Networks Labwork 1

CENG393 Computer Networks Labwork 1 CENG393 Computer Networks Labwork 1 Linux is the common name given to a large family of operating systems. All Linux-based operating systems are essentially a large set of computer software that are bound

More information

2. UDP Client, UDP Server

2. UDP Client, UDP Server 2. UDP Client, UDP Server VI Case study on designing network topology A case study to design and configure any organization network eg. College network or campus network, using any packet tracer or network

More information

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit Starting & Stopping shutdown -h now Shutdown the system now and do not reboot shutdown -r 5 Shutdown the system in 5 minutes and reboot shutdown -r now Shutdown the system now and reboot reboot Stop all

More information

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions 1Z0-409 Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-409 Exam on Oracle Linux Fundamentals (Oracle Partner Network)... 2 Oracle

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : XK0-002 Title : Linux+ Certification (2004 Objectives) Version : DEMO 1 / 6 1. At boot time, the computer reported that there are problems with inodes and blocks. Which of the following

More information

Linux Distribution: Kernel Configuration

Linux Distribution: Kernel Configuration Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Linux Distribution: Kernel Configuration The central element of a GNU/Linux

More information

Linux Fundamentals (L-120)

Linux Fundamentals (L-120) Linux Fundamentals (L-120) Modality: Virtual Classroom Duration: 5 Days SUBSCRIPTION: Master, Master Plus About this course: This is a challenging course that focuses on the fundamental tools and concepts

More information

Raspberry Pi Network Boot

Raspberry Pi Network Boot Raspberry Pi Network Boot @Phenomer October 22, 2014 1 Raspberry Pi SD initrd 2 /srv/pxe ( ) /srv/pxe /srv/pxe/tftp - TFTP /srv/pxe/tftp/pxelinux.cfg - /srv/pxe/repo - /srv/pxe/initrd - initrd % sudo mkdir

More information

Rebuild Linux and Buildroot for the DCP-SH7785 board

Rebuild Linux and Buildroot for the DCP-SH7785 board 2 Rebuild Linux and Buildroot for the DCP-SH7785 board Contents 2.1.............................................. 1 2.2......................................... 1 2.3 Buildroot.........................................

More information

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX 15th Jan. 2000 / 3:55 am Part 1: Working with files and rights ------------------------------------- cp

More information

Lecture 03. Shell programming Part 1. CSC 320: Systems Programming

Lecture 03. Shell programming Part 1. CSC 320: Systems Programming Lecture 03 Shell programming Part 1 CSC 320: Systems Programming What is Shell? Shell is a UNIX term for the interactive user interface with an operating system. The shell is the layer of programming that

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill ALL a IN ONE LPIC-l/CompTIA t Lmux+ TM Certification EXAM GUIDE (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy TECHNISCHE INFORMATIONSBiBLIOTHEK UNIVER! ivjc Graw Hill BIBUOTHEK VER New York Chicago San

More information

X COMMAND LINE. basename Converter um caminho completo para apenas uma pasta do. caminho. Bourne-Again SHell. Send to background

X COMMAND LINE. basename Converter um caminho completo para apenas uma pasta do. caminho. Bourne-Again SHell. Send to background X COMMAND LINE basename Converter um caminho completo para apenas uma pasta do caminho bash Bourne-Again SHell bg Send to background bind Vinculações Display chave readline e função bless Ajuste de volume

More information

Unix Introduction to UNIX

Unix Introduction to UNIX Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various

More information

Presented by Bill Genske Gary Jackson

Presented by Bill Genske Gary Jackson Quintessential School Systems Session C Linux Presented by Bill Genske Gary Jackson Copyright Quintessential School Systems, 2009 All Rights Reserved 867 American Street --- Second Floor --- San Carlos,

More information

Chap2: Operating-System Structures

Chap2: Operating-System Structures Chap2: Operating-System Structures Objectives: services OS provides to users, processes, and other systems structuring an operating system how operating systems are designed and customized and how they

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information