


The difference between linux and ubuntu: 1. Linux is the GNU suite plus the linux kernel, while ubuntu is a desktop PC operating system based on the linux kernel; 2. linux is the kernel, and the kernel alone cannot be used, ubuntu is GNU/Linux distributions are available.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What is the difference between linux and ubuntu
Linux is the kernel, and the kernel alone cannot be used. Therefore, its peripheral environment software is also needed. Generally, the peripheral software for Linux that everyone sees is software from the GNU project. This combination is called a package, and the GNU software Linux kernel is called a GNU/Linux package. The Linux that everyone sees is released in this kind of package, also called a distribution version.
ubuntu is this GNU/Linux distribution. So does Fedora.
Correspondingly, there are GNU/FreeBSD and GNU/Hurd in this world. There used to be GNU/Darwin (darwin was the base system for MAC OS X). In addition, there are systems that are compatible with non-GNU software. For example, Andorid is a Linux Android software environment.
Let’s take a deeper look. First, let's look at what parts an operating system with a Linux kernel contains. Generally includes four parts: kernel, shell, file system and application. The kernel, shell, and file system together form the basic operating system structure that allows users to easily run applications, manage files, and use the entire system.
1. Linux applications
A good operating system will provide a set of applications that are convenient for users to use the system, such as text editors, office suites, Internet tools, databases, etc.
2. Linux file system
The file system is an organization method for files stored on storage devices (such as disks). Such as EXT2, EXT3, FAT, FAT32, VFAT, etc.
3. Linux Shell
Shell is the user interface of the operating system. It provides an interface for users to interact with the kernel and is a command interpreter. It receives commands entered by the user and sends them to the kernel for execution.
4. Linux kernel
The kernel is the core of the operating system. An operating system needs to perform some tasks, such as requesting memory resources, performing calculations, connecting to the network, etc. The Linux kernel is responsible for handling all such requests, just like the human brain.
Functionally speaking, the Linux kernel has five major modular functions: process management, memory management, file system management, device control and network management.
4.1 The embodiment of process management:
The Linux kernel is responsible for process creation and destruction, and completes communication between processes, as well as process input and output. Moreover, process management controls multiple processes The use of one or more CPU resources on the Soc
4.2 Memory management
The usage strategy of memory resources is particularly important for the performance of the operating system. The kernel establishes a virtual address space for each process based on limited memory resources. Different functional parts of the kernel interact with the memory management subsystem through a set of function calls, making communication efficient and simple.
4.3 File system management
In the Linux operating system, almost anything can be regarded as a file (everything is a file). The kernel uses a large number of structures such as kobject to organize a bunch of non- Structured hardware is organized into a multi-level data system. Additionally, Linux supports multiple file system types. Such as ext4, etc.
4.4 Device Control
Almost any operating system eventually runs on a physical platform. The kernel contains driver code that accesses the hardware devices on the platform.
4.5 Network functions
Most network operations are not associated with specific processes because the transmission of data packets is an asynchronous event. Before an application accesses a data packet, the kernel completes tasks such as collection, identification, and distribution of data packets.
What features does Ubuntu have as an operating system?
At present, it seems that Ubuntu respects "free open source and personalization", has a very user-friendly and beautiful interactive interface, strong software source support, and most mainstream drivers can be found in the installation package; in addition, because Ubuntu is Based on the Debian series, there is a dpkg package that can be used to obtain installation software online. It has a complete package management mechanism, good compatibility, and many applications. You can download many personalized gadgets and the personalized experience is great; it can be said that Ubuntu is a Linux distribution The best PC operating system in the world.
For these reasons, Ubuntu is often used as a platform for Linux enthusiasts to learn Linux application programming and Linux driver development.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What is the difference between linux and ubuntu. For more information, please follow other related articles on the PHP Chinese website!

The core components of Linux include kernel, file system, shell, user and kernel space, device drivers, and performance optimization and best practices. 1) The kernel is the core of the system, managing hardware, memory and processes. 2) The file system organizes data and supports multiple types such as ext4, Btrfs and XFS. 3) Shell is the command center for users to interact with the system and supports scripting. 4) Separate user space from kernel space to ensure system stability. 5) The device driver connects the hardware to the operating system. 6) Performance optimization includes tuning system configuration and following best practices.

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

Linux maintenance mode can be entered through the GRUB menu. The specific steps are: 1) Select the kernel in the GRUB menu and press 'e' to edit, 2) Add 'single' or '1' at the end of the 'linux' line, 3) Press Ctrl X to start. Maintenance mode provides a secure environment for tasks such as system repair, password reset and system upgrade.

The steps to enter Linux recovery mode are: 1. Restart the system and press the specific key to enter the GRUB menu; 2. Select the option with (recoverymode); 3. Select the operation in the recovery mode menu, such as fsck or root. Recovery mode allows you to start the system in single-user mode, perform file system checks and repairs, edit configuration files, and other operations to help solve system problems.

The core components of Linux include the kernel, file system, shell and common tools. 1. The kernel manages hardware resources and provides basic services. 2. The file system organizes and stores data. 3. Shell is the interface for users to interact with the system. 4. Common tools help complete daily tasks.

The basic structure of Linux includes the kernel, file system, and shell. 1) Kernel management hardware resources and use uname-r to view the version. 2) The EXT4 file system supports large files and logs and is created using mkfs.ext4. 3) Shell provides command line interaction such as Bash, and lists files using ls-l.

The key steps in Linux system management and maintenance include: 1) Master the basic knowledge, such as file system structure and user management; 2) Carry out system monitoring and resource management, use top, htop and other tools; 3) Use system logs to troubleshoot, use journalctl and other tools; 4) Write automated scripts and task scheduling, use cron tools; 5) implement security management and protection, configure firewalls through iptables; 6) Carry out performance optimization and best practices, adjust kernel parameters and develop good habits.

Linux maintenance mode is entered by adding init=/bin/bash or single parameters at startup. 1. Enter maintenance mode: Edit the GRUB menu and add startup parameters. 2. Remount the file system to read and write mode: mount-oremount,rw/. 3. Repair the file system: Use the fsck command, such as fsck/dev/sda1. 4. Back up the data and operate with caution to avoid data loss.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Chinese version
Chinese version, very easy to use

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software