Oecs 204 Linux Operating System

Total Page:16

File Type:pdf, Size:1020Kb

Oecs 204 Linux Operating System OECS 204 LINUX OPERATING SYSTEM ASSIGNMENT 1 Linux History DOÑA ANA COMMUNITY COLLEGE THE HISTORY OF UNIX AND GNU-LINUX • Developed by Linus Torvalds while he was an undergraduate student • He released it to the world in September 1991 • The name Linux is a combination of Linus and UNIX THE HISTORY OF UNIX AND GNU-LINUX • He immediately made the source code available to others for free • Programmers around the world quickly extended the kernel and developed other tools • The Linux operating system, was developed through the cooperation of numerous people around the world What is “Free” Software • "Free software" is a matter of liberty, not price • To understand the concept, you should think of "free" as in "free speech," not as in "free beer" THE CODE Is FREE • The tradition of free software dates back to the days when UNIX was released to universities at nominal cost • This contributed to its portability and success. • This tradition eventually died as UNIX was commercialized and manufacturers came to regard the source code as proprietary • As each manufacturer tuned UNIX for a specific architecture, the operating system became less portable and too unwieldy for teaching and experimentation THE HERITAGE OF LINUX: UNIX • UNIX system was developed by researchers who needed a set of modern computing tools to help them with their projects • Universities and colleges played a major role in furthering the popularity of the UNIX operating system through the "four-year effect.“ • Schools started using it in their computer science programs, causing the CS students to see its potential • The students became acclimated to this programming environment • When they graduated and went into industry, they expected to work with a similar environment • As more of them worked their way up the ladder, the UNIX operating system found its way into industry GNU Project • Richard Stallman (http://www.stallman.org) announced the GNU Project for creating an operating system, both kernel and system programs • He also presented the GNU Manifesto, which begins as follows: • GNU, which stands for Gnu's Not UNIX, is the name for the complete UNIX-compatible software system which I am writing so that I can give it away free to everyone who can use it. • Some years later, Stallman added a footnote to the preceding sentence when he realized that it was creating confusion: • The wording here was careless. The intention was that nobody would have to pay for *permission* to use the GNU system. GNU Project • In 1991, when Linus Torvalds finished writing the Linux kernel, his friends looked around for free software to finish a UNIX-like system • What they found was the GNU system • The available “free software" added up to a complete system • The GNU Project had been working since 1984 to make a UNIX- like system Obtaining Linux • You can obtain Linux at no cost over the Internet • You can also obtain the GNU code via the U.S. mail at a modest cost for materials and shipping • You can support the Free Software Foundation (www.fsf.org) by buying the same (GNU)code in higher-priced packages • You can also buy commercially packaged releases of Linux that include installation instructions, software, and support GPL License • Linux and GNU software are distributed under the terms of the GPL (GNU General Public License • The GPL says you have the right to copy, modify, and redistribute the code covered by the agreement • When you redistribute the code, however, you must also distribute the same license with the code, thereby making the code and the license inseparable • If you download source code from the Internet for an accounting program that is under the GPL and then modify that code and redistribute an executable version of the program, you must also distribute the modified source code and the GPL agreement with it • Because this arrangement is the reverse of the way a normal copyright works (it gives rights instead of limiting them), it has been termed a copyleft. LINUX Is MORE THAN A KERNEL • Although technically Linux is the name of the kernel, the term Linux has come to mean much more • By itself, a kernel is not of much use, so the Linux kernel is typically packaged with utilities and application programs • Many of the utilities that are distributed with the Linux kernel were written as part of the FSF's GNU Project • Although the FSF prefers to refer to the combination of programs as GNU/Linux, most people simply call it Linux. • Click on this link to listen too Richard Stallman talk about his project: https://www.youtube.com/watch?v=UK52v6bCPvg Distribution • These packages of kernel and programs are distributions of Linux and are referred to simply as distributions or distros • A distribution typically includes word processors, spreadsheets, media players, database applications, and a program to install the distribution • A distribution also includes libraries and utilities from the GNU Project and graphics support from the X Window System OPEN-SOURCE SOFTWARE AND LICENSING • On January 22, 1998, Netscape announced it would make the source code for its next Web browser available for free licensing on the Internet • The month after that, Netscape staffed a project named Mozilla to coordinate the development of the Mozilla Application Suite OSI • Inspired by Netscape's bold move, a group of people got together the next month and held a strategy session that created the term open source • This term provided a label for Netscape's approach and contrasted with the term free software, which was used as a philosophical and political label rather than a pragmatic one • From that session, Eric Raymond and Bruce Perens founded OSI (Open Source Initiative) in late February 1998 to encourage the use of the new term FOSS/FLOSS • FOSS = Free and Open-Source Software • FLOSS (Free/Libre/Open-Source Software • the libre denotes freedom • Free software, the term coined and supported by the Free Software Foundation (FSF), suggests the freedoms it gives its users (as in free speech), whereas open-source software suggests the strengths of the peer-co-peer development model • The terms FOSS and FLOSS incorporate both free software and open-source software and can be used without indicating a preference for either term WHAT Is So GOOD ABOUT LINUX? • In recent years Linux has emerged as a powerful and innovative UNIX work-alike • Its popularity has surpassed that of its UNIX predecessors • Although it mimics UNIX in many ways, the Linux operating system departs from UNIX in several significant ways • The Linux kernel is implemented independently of both BSD and System V • The continuing development of Linux is taking place through the combined efforts of many capable individuals throughout the world • Linux puts the power of UNIX within easy reach of both business and personal computer users • Using the Internet, today's skilled programmers submit additions and improvements to open-source developers such as Linus Torvalds and the GNU Project. POSIX Standards • In 1985, individuals from companies throughout the computer industry joined together to develop the POSIX (Portable Operating System Interface for Computer Environments) standard • POSIX is based largely on the UNIX SVID (System V Interface Definition) • Released in1988, POSIX is a group of IEEE standards that define the API (application programming interface), shell, and utility interfaces for an operating system • With these standards, software developers are able to develop applications that run on all conforming versions of UNIX and Linux type systems Applications • Many applications are available for Linux; both free and commercial • A wide variety of tools is also available, such as: • Graphical, word processing, networking, security, administration, Web server, and many others. • Some large software companies now have on-staff programmers whose job it is to design and code the Linux kernel, GNU, KDE, and other Linux based software • This indicates that Linux is becoming mainstream and is respected as an attractive alternative to other popular operating systems Virtual machines • A virtual machine (VM or guest) appears to the user and to the software running on it as a complete physical machine • It is, however, one of potentially many such VMs running on a single physical machine LINUX Is POPULAR WITH HARDWARE COMPANIES AND DEVELOPERS • Two trends in the computer industry set the stage for the growing popularity of UNIX and Linux: • First, advances in hardware technology created the need for an operating system that could take advantage of available hardware power • PC’s began challenging the large mainframe computers because, in many applications, they could perform the same functions less expensively. • Second, with the cost of hardware continually dropping, hardware manufacturers could no longer afford to develop and support proprietary operating systems LINUX Is PORTABLE • A portable operating system is one that can run on many different machines • More than 95 percent of the Linux operating system is written in the C programming language • Because Linux is portable, it can be adapted (ported) to different machines and can meet special requirements. THE C PROGRAMMING LANGUAGE • Ken Thompson wrote the UNIX operating system in 1969 in PDP-7 assembly language • To make UNIX portable, Thompson developed the B programming language, a machine-independent language, from the BCPL language • Dennis Ritchie developed the C programming language by modifying B and, with Thompson, rewrote UNIX in C in 1973 • Originally, C was touted as a "portable assembler." The revised operating system could be transported more easily to run on other machines. • That development marked the start of C • C can be used to write machine-independent programs • C is a good systems language. • You can write a compiler or an operating system in C LINUX HAS A KERNEL PROGRAMMING INTERFACE • The Linux operating system is a control program for computers • It also has a family of utility programs and a set of tools that allow users to connect and use these utilities to build systems and applications.
Recommended publications
  • Backbox Penetration Testing Never Looked So Lovely
    DISTROHOPPER DISTROHOPPER Our pick of the latest releases will whet your appetite for new Linux distributions. Picaros Diego Linux for children. here are a few distributions aimed at children: Doudou springs to mind, Tand there’s also Sugar on a Stick. Both of these are based on the idea that you need to protect children from the complexities of the computer (and protect the computer from the children). Picaros Diego is different. There’s nothing stripped- down or shielded from view. Instead, it’s a normal Linux distro with a brighter, more kid-friendly interface. The desktop wallpaper perhaps best We were too busy playing Secret Mario on Picaros Diego to write a witty or interesting caption. exemplifies this. On one hand, it’s a colourful cartoon image designed to interest young file manager. In the programming category, little young for a system like this, but the it children. Some of the images on the we were slightly disappointed to discover it may well work for children on the upper end landscape are icons for games, and this only had Gambas (a Visual Basic-like of that age range. should encourage children to investigate the language), and not more popular teaching Overall, we like the philosophy of wrapping system rather than just relying on menus. languages like Scratch or a Python IDE. Linux is a child-friendly package, but not On the other hand, it still displays technical However, it’s based on Debian, so you do dumbing it down. Picaros Diego won’t work details such as the CPU usage and the RAM have the full range of software available for every child, but if you have a budding and Swap availability.
    [Show full text]
  • The Kernel Report
    The kernel report (ELC 2012 edition) Jonathan Corbet LWN.net [email protected] The Plan Look at a year's worth of kernel work ...with an eye toward the future Starting off 2011 2.6.37 released - January 4, 2011 11,446 changes, 1,276 developers VFS scalability work (inode_lock removal) Block I/O bandwidth controller PPTP support Basic pNFS support Wakeup sources What have we done since then? Since 2.6.37: Five kernel releases have been made 59,000 changes have been merged 3069 developers have contributed to the kernel 416 companies have supported kernel development February As you can see in these posts, Ralink is sending patches for the upstream rt2x00 driver for their new chipsets, and not just dumping a huge, stand-alone tarball driver on the community, as they have done in the past. This shows a huge willingness to learn how to deal with the kernel community, and they should be strongly encouraged and praised for this major change in attitude. – Greg Kroah-Hartman, February 9 Employer contributions 2.6.38-3.2 Volunteers 13.9% Wolfson Micro 1.7% Red Hat 10.9% Samsung 1.6% Intel 7.3% Google 1.6% unknown 6.9% Oracle 1.5% Novell 4.0% Microsoft 1.4% IBM 3.6% AMD 1.3% TI 3.4% Freescale 1.3% Broadcom 3.1% Fujitsu 1.1% consultants 2.2% Atheros 1.1% Nokia 1.8% Wind River 1.0% Also in February Red Hat stops releasing individual kernel patches March 2.6.38 released – March 14, 2011 (9,577 changes from 1198 developers) Per-session group scheduling dcache scalability patch set Transmit packet steering Transparent huge pages Hierarchical block I/O bandwidth controller Somebody needs to get a grip in the ARM community.
    [Show full text]
  • Studying the Real World Today's Topics
    Studying the real world Today's topics Free and open source software (FOSS) What is it, who uses it, history Making the most of other people's software Learning from, using, and contributing Learning about your own system Using tools to understand software without source Free and open source software Access to source code Free = freedom to use, modify, copy Some potential benefits Can build for different platforms and needs Development driven by community Different perspectives and ideas More people looking at the code for bugs/security issues Structure Volunteers, sponsored by companies Generally anyone can propose ideas and submit code Different structures in charge of what features/code gets in Free and open source software Tons of FOSS out there Nearly everything on myth Desktop applications (Firefox, Chromium, LibreOffice) Programming tools (compilers, libraries, IDEs) Servers (Apache web server, MySQL) Many companies contribute to FOSS Android core Apple Darwin Microsoft .NET A brief history of FOSS 1960s: Software distributed with hardware Source included, users could fix bugs 1970s: Start of software licensing 1974: Software is copyrightable 1975: First license for UNIX sold 1980s: Popularity of closed-source software Software valued independent of hardware Richard Stallman Started the free software movement (1983) The GNU project GNU = GNU's Not Unix An operating system with unix-like interface GNU General Public License Free software: users have access to source, can modify and redistribute Must share modifications under same
    [Show full text]
  • Bringing GNU Emacs to Native Code
    Bringing GNU Emacs to Native Code Andrea Corallo Luca Nassi Nicola Manca [email protected] [email protected] [email protected] CNR-SPIN Genoa, Italy ABSTRACT such a long-standing project. Although this makes it didactic, some Emacs Lisp (Elisp) is the Lisp dialect used by the Emacs text editor limitations prevent the current implementation of Emacs Lisp to family. GNU Emacs can currently execute Elisp code either inter- be appealing for broader use. In this context, performance issues preted or byte-interpreted after it has been compiled to byte-code. represent the main bottleneck, which can be broken down in three In this work we discuss the implementation of an optimizing com- main sub-problems: piler approach for Elisp targeting native code. The native compiler • lack of true multi-threading support, employs the byte-compiler’s internal representation as input and • garbage collection speed, exploits libgccjit to achieve code generation using the GNU Com- • code execution speed. piler Collection (GCC) infrastructure. Generated executables are From now on we will focus on the last of these issues, which con- stored as binary files and can be loaded and unloaded dynamically. stitutes the topic of this work. Most of the functionality of the compiler is written in Elisp itself, The current implementation traditionally approaches the prob- including several optimization passes, paired with a C back-end lem of code execution speed in two ways: to interface with the GNU Emacs core and libgccjit. Though still a work in progress, our implementation is able to bootstrap a func- • Implementing a large number of performance-sensitive prim- tional Emacs and compile all lexically scoped Elisp files, including itive functions (also known as subr) in C.
    [Show full text]
  • Version 7.8-Systemd
    Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites
    [Show full text]
  • Présentation Ligne De Commande
    Kit de survie en lignes de commandes ... pour les nuls. Ceci est la version légèrement corrigée, étendue et complétée de la présentation du jeudi 2 juin 2018. Pourquoi la ligne de commande ? La ligne de commande est une chose qui a, pour des raisons marketting et en lien avec la massification de l'usage de l'outil informatique, peu à peu disparue alors qu'elle faisait partie intégrante des ordinateurs dans les années 80 et jusqu'en 1995 pour le grand public. Actuellement, la ligne de commande est perçue par les néophytes comme un objet de toute puissance ou de diabolisation. Les stéréotypes véhiculés par les media traditionnels associent souvent la ligne de commande, et in extenso le terminal, à un outil de hacker. Alors que cela a été pendant longtemps le quotidien de beaucoup d'utilisateurs. Posons un peu de vocabulaire : Linux est un noyau c'est à dire un binaire qui communique avec le matériel. Autour de lui est le système GNU (pour GNU is Not Unix). Le système GNU a été pensé dans les années 80 comme étant une alternative Libre au système (gratuit) mais propriétaire Unix. Dans les années 80, à la préhistoire informatique, les systèmes d'ordinateurs n'avaient pour ainsi dire pas d'interface graphique (et encore moins de souris) : un noyau, un interpréteur de commande (shell) et quelques utilitaires suffisaient à faire un ordinateur fonctionnel. Ici le système Microsoft Disk Operating System fonctionnant avec les fichier : msdos.sys et io.sys (l'équivalent du noyau), config.sys et autoexec.bat, à partir de là l'interpréteur de commande (ou shell) : COMMAND.COM s'exécute et affiche l'image précédente.
    [Show full text]
  • Lightweight Distros on Test
    GROUP TEST LIGHTWEIGHT DISTROS LIGHTWEIGHT DISTROS GROUP TEST Mayank Sharma is on the lookout for distros tailor made to infuse life into his ageing computers. On Test Lightweight distros here has always been a some text editing, and watch some Linux Lite demand for lightweight videos. These users don’t need URL www.linuxliteos.com Talternatives both for the latest multi-core machines VERSION 2.0 individual apps and for complete loaded with several gigabytes of DESKTOP Xfce distributions. But the recent advent RAM or even a dedicated graphics Does the second version of the distro of feature-rich resource-hungry card. However, chances are their does enough to justify its title? software has reinvigorated efforts hardware isn’t supported by the to put those old, otherwise obsolete latest kernel, which keeps dropping WattOS machines to good use. support for older hardware that is URL www.planetwatt.com For a long time the primary no longer in vogue, such as dial-up VERSION R8 migrators to Linux were people modems. Back in 2012, support DESKTOP LXDE, Mate, Openbox who had fallen prey to the easily for the i386 chip was dropped from Has switching the base distro from exploitable nature of proprietary the kernel and some distros, like Ubuntu to Debian made any difference? operating systems. Of late though CentOS, have gone one step ahead we’re getting a whole new set of and dropped support for the 32-bit SparkyLinux users who come along with their architecture entirely. healthy and functional computers URL www.sparkylinux.org that just can’t power the newer VERSION 3.5 New life DESKTOP LXDE, Mate, Xfce and others release of Windows.
    [Show full text]
  • GNU Guix Cookbook Tutorials and Examples for Using the GNU Guix Functional Package Manager
    GNU Guix Cookbook Tutorials and examples for using the GNU Guix Functional Package Manager The GNU Guix Developers Copyright c 2019 Ricardo Wurmus Copyright c 2019 Efraim Flashner Copyright c 2019 Pierre Neidhardt Copyright c 2020 Oleg Pykhalov Copyright c 2020 Matthew Brooks Copyright c 2020 Marcin Karpezo Copyright c 2020 Brice Waegeneire Copyright c 2020 Andr´eBatista Copyright c 2020 Christine Lemmer-Webber Copyright c 2021 Joshua Branson Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". i Table of Contents GNU Guix Cookbook ::::::::::::::::::::::::::::::: 1 1 Scheme tutorials ::::::::::::::::::::::::::::::::: 2 1.1 A Scheme Crash Course :::::::::::::::::::::::::::::::::::::::: 2 2 Packaging :::::::::::::::::::::::::::::::::::::::: 5 2.1 Packaging Tutorial:::::::::::::::::::::::::::::::::::::::::::::: 5 2.1.1 A \Hello World" package :::::::::::::::::::::::::::::::::: 5 2.1.2 Setup:::::::::::::::::::::::::::::::::::::::::::::::::::::: 8 2.1.2.1 Local file ::::::::::::::::::::::::::::::::::::::::::::: 8 2.1.2.2 `GUIX_PACKAGE_PATH' ::::::::::::::::::::::::::::::::: 9 2.1.2.3 Guix channels ::::::::::::::::::::::::::::::::::::::: 10 2.1.2.4 Direct checkout hacking:::::::::::::::::::::::::::::: 10 2.1.3 Extended example ::::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • Antix Xfce Recommended Specs
    Antix Xfce Recommended Specs Upbeat Leigh still disburden: twill and worthful Todd idolatrizes quite deuced but immobilizing her rabato attitudinizedcogently. Which her Kingstonfranc so centennially plasticizes so that pratingly Odin flashes that Oscar very assimilatesanticlockwise. her Algonquin? Denatured Pascale Menu is placed at the bottom of paperwork left panel and is difficult to browse. But i use out penetration testing machines as a lightweight linux distributions with the initial icons. Hence, and go with soft lower score in warmth of aesthetics. Linux on dedoimedo had the installation of useful alternative antix xfce recommended specs as this? Any recommendations from different pinboard question: the unique focus styles in antix xfce recommended specs of. Not recommended for! Colorful background round landscape scenes do we exist will this lightweight Linux distro. Dvd or gui, and specs as both are retired so, and a minimal resources? Please confirm your research because of recommended to name the xfce desktop file explorer will change the far right click to everything you could give you enjoy your linux live lite can see our antix xfce recommended specs and. It being uploaded file would not recommended to open multiple windows right people won, antix xfce recommended specs and specs and interested in! Based on the Debian stable, MX Linux has topped the distrowatch. Dedoimedo a usb. If you can be installed on this i have downloaded iso image, antix xfce recommended specs and specs as long way more adding ppas to setup further, it ever since. The xfce as a plain, antix can get some other than the inclusion, and specs to try the.
    [Show full text]
  • Bash Guide for Beginners
    Bash Guide for Beginners Machtelt Garrels Garrels BVBA <tille wants no spam _at_ garrels dot be> Version 1.11 Last updated 20081227 Edition Bash Guide for Beginners Table of Contents Introduction.........................................................................................................................................................1 1. Why this guide?...................................................................................................................................1 2. Who should read this book?.................................................................................................................1 3. New versions, translations and availability.........................................................................................2 4. Revision History..................................................................................................................................2 5. Contributions.......................................................................................................................................3 6. Feedback..............................................................................................................................................3 7. Copyright information.........................................................................................................................3 8. What do you need?...............................................................................................................................4 9. Conventions used in this
    [Show full text]
  • Gentlemen's Argument
    Copyright © 2007, Chicago-Kent Journal of Intellectual Property A GENTLEMEN'S AGREEMENT ASSESSING THE GNU GENERAL PUBLIC LICENSE AND ITS ADAPTATION TO LINUx Douglas A. Hass" Introduction "Starting this Thanksgiving, I am going to write a complete Unix-compatible software system called GNU (for GNU's Not Unix), and give it away free to everyone who can use it." With his post to the Usenet 2 newsgroup net.unix-wizards, 3 Richard Stallman launched a sea change in software development. In 1983, he could not have known that his lasting contribution would not be the GNU operating system, but instead the controversial software license that he would develop as its underpinning: the GNU General Public License (GPL).4 Today, the operating system most closely associated with the GPL is Linux, developed originally by Linus Torvalds, a Finnish university student.5 Research group IDC's Quarterly Server Tracker marked Linux server revenue growth at three times Microsoft Windows server growth in the first quarter of 2006, its fifteenth consecutive quarter of double-digit revenue growth. 6 British research firm Netcraft's July 2006 Web Server Survey gives Linux-based 7 Apache Web servers the largest market share among Web servers queried in its monthly survey. With Linux gaining an increasingly larger position in these markets, the validity of the GPL takes on increasing importance as well. The open source community's commercial and non-commercial members are conducting a robust debate on the intellectual property issues surrounding the GPL and Linux, its most * Douglas A. Hass, Director of Business Development, ImageStream; J.D.
    [Show full text]
  • Texing in Emacs Them
    30 TUGboat, Volume 39 (2018), No. 1 TEXing in Emacs them. I used a simple criterion: Emacs had a nice tutorial, and Vim apparently did not (at that time). Marcin Borkowski I wince at the very thought I might have chosen Abstract wrong! And so it went. I started with reading the In this paper I describe how I use GNU Emacs to manual [8]. As a student, I had a lot of free time work with LAT X. It is not a comprehensive survey E on my hands, so I basically read most of it. (I still of what can be done, but rather a subjective story recommend that to people who want to use Emacs about my personal usage. seriously.) I noticed that Emacs had a nice TEX In 2017, I gave a presentation [1] during the joint mode built-in, but also remembered from one of GUST/TUG conference at Bachotek. I talked about the BachoTEXs that other people had put together my experiences typesetting a journal (Wiadomo´sci something called AUCTEX, which was a TEX-mode Matematyczne, a journal of the Polish Mathematical on steroids. Society), and how I utilized LAT X and GNU Emacs E In the previous paragraph, I mentioned modes. in my workflow. After submitting my paper to the In order to understand what an Emacs mode is, let proceedings issue of TUGboat, Karl Berry asked me me explain what this whole Emacs thing is about. whether I'd like to prepare a paper about using Emacs with LATEX. 1 Basics of Emacs Well, I jumped at the proposal.
    [Show full text]