


The difference between unix and linux: 1. UNIX is commercial, while Linux is open source, free and open source code; 2. Most UNIX systems are matched with hardware, which means that they cannot be installed on x86 servers and personal computers, while Linux can run on a variety of hardware platforms.
The operating environment of this tutorial: linux7.3 system, DELL G3 computer.
The difference between unix and linux:
1. Open source situation
UNIX is commercial, while Linux is open source Yes, it is free and open source.
2. Hardware Applicability
Most UNIX systems are matched with hardware. That is to say, most UNIX systems such as AIX, HP-UX, etc. cannot be installed on x86 servers and personal computers, while Linux can run on a variety of hardware platforms.
You can learn linux first and then unix, because linux can be easily run on a virtual machine to prevent misoperation by novices. As for the distribution version, you can choose Ubuntu, Linux Mint, etc.
Extended information:
The birth of unix
In 1965, Bell Labs joined a project led by General Electric A plan in cooperation with the Massachusetts Institute of Technology (MIT); the plan is to build a multi-user, multi-tasking, multi-level (multi-user, multi-processor, multi-level) MULTICS operating system.
Until 1969, the MULTICS project was stopped because the work progress was too slow. At that time, Ken Thompson (later known as the father of UNIX) already had a program called "Star Trek" running on the GE-635 machine, but the response was very slow. He happened to discover an idle PDP- 7 (Digital's host),
Ken Thompson and Dernis Ritchie transplanted the "Star Trek" program to the PDP-7. And this PDP-7 (shown in Figure 1-1) has left its name in the entire history of computers.
MULTICS is actually the abbreviation of "Multiplexed Information and Computing Service". In 1970, the PDP-7 could only support two users. At that time, Brian Kernighan jokingly said that their system actually It is:
"UNiplexed Information and Computing Service", abbreviated as "UNICS". Later, everyone took its homophony and called it "UNIX". 1970 can be called "the first year of UNIX".
Basic ideas of Linux
The basic ideas of Linux have two points: first, everything is a file; second, every software has a certain purpose. The first one is that everything in the system is boiled down to a file, including commands, hardware and software devices, operating systems, processes, etc. For the operating system kernel, they are all regarded as files with their own characteristics or types. .
As for the fact that Linux is based on Unix, it is largely because the basic ideas of the two are very similar.
Completely free
Linux is a free operating system that users can obtain for free through the Internet or other channels, and can modify its source code at will. This is something other operating systems cannot do.
It is precisely because of this that countless programmers from all over the world have participated in the modification and writing of Linux. Programmers can change it according to their own interests and inspirations, which has allowed Linux to absorb countless programmers. The essence of the company continues to grow.
Fully compatible with POSIX1.0 standard
This makes it possible to run common DOS and Windows programs through corresponding emulators under Linux. This lays the foundation for users to switch from Windows to Linux.
When many users consider using Linux, they think about whether programs that were commonly used under Windows can run normally. This eliminates their doubts.
Multi-user, multi-tasking
Linux supports multiple users. Each user has its own special rights for its own file device, ensuring that users do not affect each other. Multitasking is one of the most important features of today's computers. Linux can enable multiple programs to run simultaneously and independently.
Related learning recommendations: linux video tutorial
The above is the detailed content of What is the difference between unix and linux. For more information, please follow other related articles on the PHP Chinese website!

The five core components of the Linux operating system are: 1. Kernel, 2. System libraries, 3. System tools, 4. System services, 5. File system. These components work together to ensure the stable and efficient operation of the system, and together form a powerful and flexible operating system.

The five core elements of Linux are: 1. Kernel, 2. Command line interface, 3. File system, 4. Package management, 5. Community and open source. Together, these elements define the nature and functionality of Linux.

Linux user management and security can be achieved through the following steps: 1. Create users and groups, using commands such as sudouseradd-m-gdevelopers-s/bin/bashjohn. 2. Bulkly create users and set password policies, using the for loop and chpasswd commands. 3. Check and fix common errors, home directory and shell settings. 4. Implement best practices such as strong cryptographic policies, regular audits and the principle of minimum authority. 5. Optimize performance, use sudo and adjust PAM module configuration. Through these methods, users can be effectively managed and system security can be improved.

The core operations of Linux file system and process management include file system management and process control. 1) File system operations include creating, deleting, copying and moving files or directories, using commands such as mkdir, rmdir, cp and mv. 2) Process management involves starting, monitoring and killing processes, using commands such as ./my_script.sh&, top and kill.

Shell scripts are powerful tools for automated execution of commands in Linux systems. 1) The shell script executes commands line by line through the interpreter to process variable substitution and conditional judgment. 2) The basic usage includes backup operations, such as using the tar command to back up the directory. 3) Advanced usage involves the use of functions and case statements to manage services. 4) Debugging skills include using set-x to enable debugging mode and set-e to exit when the command fails. 5) Performance optimization is recommended to avoid subshells, use arrays and optimization loops.

Linux is a Unix-based multi-user, multi-tasking operating system that emphasizes simplicity, modularity and openness. Its core functions include: file system: organized in a tree structure, supports multiple file systems such as ext4, XFS, Btrfs, and use df-T to view file system types. Process management: View the process through the ps command, manage the process using PID, involving priority settings and signal processing. Network configuration: Flexible setting of IP addresses and managing network services, and use sudoipaddradd to configure IP. These features are applied in real-life operations through basic commands and advanced script automation, improving efficiency and reducing errors.

The methods to enter Linux maintenance mode include: 1. Edit the GRUB configuration file, add "single" or "1" parameters and update the GRUB configuration; 2. Edit the startup parameters in the GRUB menu, add "single" or "1". Exit maintenance mode only requires restarting the system. With these steps, you can quickly enter maintenance mode when needed and exit safely, ensuring system stability and security.

The core components of Linux include kernel, shell, file system, process management and memory management. 1) Kernel management system resources, 2) shell provides user interaction interface, 3) file system supports multiple formats, 4) Process management is implemented through system calls such as fork, and 5) memory management uses virtual memory technology.


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

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools
