Introduction to Linux and UNIX History
33 Questions
0 Views

Introduction to Linux and UNIX History

Created by
@HardyChrysocolla

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What was a significant contribution of the students and faculty at Berkeley University to UNIX?

  • They standardized UNIX commands globally.
  • They created various tools and revisions to UNIX. (correct)
  • They developed the first UNIX version.
  • They sold UNIX to AT&T.
  • Which company created the AIX version of UNIX?

  • Santa Clara Organization
  • Hewlett Packard
  • Sun Microsystems
  • IBM (correct)
  • What is the official name given to the combination of the Linux kernel with GNU tools?

  • GNU/Linux (correct)
  • LINUX Core
  • Linux Distribution
  • GNU-OS
  • Who initiated the GNU project aimed at creating a free UNIX-like operating system?

    <p>Richard Stallman</p> Signup and view all the answers

    In what year did Linus Torvalds release the Linux kernel?

    <p>1991</p> Signup and view all the answers

    What command is used to change the IP address of the Ethernet 0 interface to execute with root privileges?

    <p>sudo ifconfig eth0</p> Signup and view all the answers

    Which command would you use to halt a Linux system if you have root privileges?

    <p>shutdown -h now</p> Signup and view all the answers

    What must precede commands for a normal user to execute shutdown or reboot?

    <p>sudo</p> Signup and view all the answers

    Which of the following commands is associated with restarting the system using systemd?

    <p>systemctl reboot</p> Signup and view all the answers

    What does 'sudo' stand for in Linux commands?

    <p>Super User Do</p> Signup and view all the answers

    What is the main source of revenue for Canonical?

    <p>Sale of technical support and related services</p> Signup and view all the answers

    Which Linux distribution is specifically known for its security tools?

    <p>Kali Linux</p> Signup and view all the answers

    What differentiates Freeware from Free and Open Source Software (FOSS)?

    <p>Freeware requires adherence to strict license terms despite being free to use</p> Signup and view all the answers

    What is implied by Public Domain Software?

    <p>The author has relinquished all rights to the software</p> Signup and view all the answers

    Which statement accurately describes the concept of FOSS?

    <p>Software that is free to use but maintains ownership rights from the author</p> Signup and view all the answers

    What is the primary role of the kernel in an operating system?

    <p>To maintain the important abstractions of the operating system</p> Signup and view all the answers

    Which of the following statements about system libraries is true?

    <p>They implement operating system functionality that does not require full kernel privileges.</p> Signup and view all the answers

    What distinguishes a shell from a graphical user interface?

    <p>A shell is a command interpreter that processes text-based commands.</p> Signup and view all the answers

    Which of the following shells is the most popular in Linux environments?

    <p>bash - Bourne Again Shell</p> Signup and view all the answers

    How do most administrative tasks in Linux environments typically get performed?

    <p>Through the command line interface (CLI)</p> Signup and view all the answers

    What is the default administrative account on a Linux system?

    <p>root</p> Signup and view all the answers

    Why do most Ubuntu distributions prevent the root account from being used for logging in?

    <p>To enforce strict user permissions for security</p> Signup and view all the answers

    Which of the following statements about command line tools in Linux is accurate?

    <p>Many Linux tools are command line tools due to their flexibility.</p> Signup and view all the answers

    What aspect of the Linux kernel code execution is essential for its functionality?

    <p>It executes in kernel mode with full access to physical resources.</p> Signup and view all the answers

    What is a key feature of a permissive free software license?

    <p>It allows users to modify and distribute the software with minimal restrictions.</p> Signup and view all the answers

    What is NOT one of the criteria for the distribution terms of open-source software?

    <p>Distribution must be limited to educational purposes</p> Signup and view all the answers

    Which freedom is specifically related to accessing and modifying the source code?

    <p>The freedom to study how the program works</p> Signup and view all the answers

    What does CopyLeft allow users to do?

    <p>Use software but with restrictions on proprietary changes</p> Signup and view all the answers

    How does the GPL license differ from shareware licenses?

    <p>GPL allows charging fees for distribution of copies</p> Signup and view all the answers

    Which condition is NOT mentioned as part of the essential freedoms of open-source software?

    <p>Permission to sell the software for profit</p> Signup and view all the answers

    What is a requirement for derived works under open-source software?

    <p>Must maintain the original author's integrity</p> Signup and view all the answers

    Which condition must an open-source license meet to be considered technology neutral?

    <p>It cannot favor a specific operating system</p> Signup and view all the answers

    What is the primary philosophy behind open-source software?

    <p>Ensuring freedom, rather than cost</p> Signup and view all the answers

    Study Notes

    Introduction to Linux

    • UNIX was developed in 1969 at AT&T Bell Labs by Dennis Ritchie and Ken Thompson.
    • UNIX was written in the C programming language and placed in the public domain.
    • Berkley University developed tools, services and revisions to UNIX in 1975.
    • In 1975, AT&T sold a commercial version of UNIX.
    • An open source version of UNIX was named BSD UNIX, developed by Berkley Science Department.
    • Many companies created their own versions of UNIX, including IBM with AIX, Sun Microsystems with Solstice, Hewlett Packard with HP-UX and Santa Clara Organization with SCO UNIX.
    • Each version of UNIX had varying commands and syntax.

    GNU Project and Linux Kernel

    • The GNU project was started by Richard Stallman, aiming to standardize a UNIX-like operating system that was not proprietary and was freely available.
    • GNU is a recursive acronym for "GNU's Not Unix!", chosen because GNU's design is Unix-like, but differs from Unix by being free software and containing no UNIX code. The GNU project includes an operating system kernel”.
    • The GNU kernel was named HURD but Linux kernel was released before HURD was completed.
    • GNU/LINUX became the official name for the combination of the Linux kernel with GNU tools.

    Linux Distributions

    • In 1991, Linus Torvalds wrote a POSIX compliant kernel for an x386 computer.
    • POSIX is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems.
    • Ubuntu is a popular Linux distribution named after "Ubuntu" which is a Southern African philosophy meaning "human-ness".
    • SuSE was one of the first server distributions.
    • Kali Linux includes security tools not found in other distributions.
    • Linux Mint is based on Ubuntu/Debian and includes many multimedia tools.

    Software Licensing

    • Proprietary Software is owned by a specific vendor, users must purchase a license to use the software, for example Microsoft Windows operating system and Office suite of tools.
    • Free and Open Source Software (FOSS) is free to use but under conditions set by the author or vendor, the author retains copyright and ownership.
    • Public Domain Software is software where the author has given up all rights, allowing users to freely copy, distribute, and modify it.

    Open Source Software Criteria

    • Open source software must adhere to the following criteria, according to the Open Source Definition by the Open Source Initiative:
      • Free Redistribution (no royalty or fee)
      • Source Code (must be provided)
      • Derived Works (allow modifications to be distributed)
      • Integrity of the Author’s source code
      • No Discrimination Against Person or Group
      • No Discrimination Against Fields of Endeavour
      • License Must not be Specific to a Product
      • License Must not be Restrictive to Other Software
      • License Must be Technology Neutral

    Free Software Philosophy

    • The philosophy of free software emphasizes freedom over cost.
    • The four essential freedoms:
      • The freedom to run the program as you wish, for any purpose.
      • The freedom to study how the program works, and change it so it does your computing as you wish.
      • The freedom to redistribute copies so you can help your neighbor.
      • The freedom to distribute copies of your modified versions to others.

    CopyLeft

    • CopyLeft allows others to use software but under certain restrictions.
    • If someone uses the software and makes any alterations or enhancements, they must make the changes available to others.
    • They cannot make these changes proprietary.

    GPL

    • The GNU General Public License (GPL) is a copyleft license that allows others to use, modify, and distribute software as long as they adhere to the terms of the GPL license, including the need to make all modifications available to others.

    Permissive Free Software Licenses

    • Permissive licenses have minimal restrictions and prioritize freedom of use and modification.
    • Examples include the BSD license and the MIT license.

    Linux Architecture

    • Linux is composed of three main bodies of code:
      • User programs
      • Shared libraries
      • Linux kernel

    Kernel

    • The kernel is responsible for maintaining the important abstractions of the operating system.
    • Abstractions provide a common interface (API) that programs use to interact with computer hardware, without having to know the exact code required by each piece of hardware.
    • Kernel code executes in kernel mode with full access to all physical resources.
    • All kernel code and data structures are kept in the same address space.

    Libraries & Utilities

    • System libraries define a standard set of functions applications use to interact with the kernel, implementing much of the OS functionality that doesn't need kernel privileges.
    • System utilities perform individual specialized management tasks.
    • User-mode programs include shells like bash (Bourne Again Shell).

    Shells

    • A shell is a command interpreter program (CLI).
    • From a Graphical User Interface (GUI), opening a terminal window gives access to a shell.
    • TTY refers to a terminal window.

    Shell Types

    • Linux offers various shells with different command syntax and built-in functions:
      • bash - Bourne Again Shell
      • sh - Bourne shell
      • csh – C shell
      • ksh – Korn Shell
      • Tsh – compatible to Berkley UNIX shell

    Command Line Interfaces

    • Most Linux server installations do not have GUIs.
    • Many Linux tools, especially administrative tools, are command line tools.
    • Many GUI-based tools are less flexible than their command line equivalents.
    • Remote admin access to Linux systems is almost always done using CLI:
      • Telnet
      • ssh

    Root Account

    • The administrative account on Linux is named root.
    • For security, the root account on most Ubuntu distros does not have a password and cannot be used for logging onto a system.
    • The system administrator has an unprivileged account that is used for initial login.
    • The administrator's unprivileged account is made a member of a group that has permission to run the sudo command to temporarily gain administrative privileges.

    SUDO Command

    • SUDO stands for "Super User Do" and allows users to execute commands with root privileges.
    • The ifconfig command, used to change the IP address on an interface, requires root privileges.
    • To change the IP address of the Ethernet 0 interface, use the command: sudo ifconfig eth0.
    • A list of commands and associated users is maintained in the sudoers file.

    System Shutdown & Restart

    • A Linux system can only be shut down by root:
      • shutdown –h now ( -h for halt)
      • systemctl poweroff (systemd new in 2013)
      • init 0 (older versions systemV, replaced by systemd)
    • A Linux system can be restarted by the root user:
      • shutdown –r now ( -r for reload )
      • systemctl reboot (systemd new in 2013)
      • init 6 (older versions, replaced by systemd)
    • If logged in with a normal user account, the above commands would need to be preceded with sudo.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Lesson 7-1 Intro to Linux PDF

    Description

    Explore the origins of UNIX and the progression to Linux in this quiz. Learn about the key developments from AT&T Bell Labs to the GNU Project initiated by Richard Stallman. Understand the various versions of UNIX and their impact on modern operating systems.

    More Like This

    Use Quizgecko on...
    Browser
    Browser