What is Unix
1: What is Unix
The UNIX operating system was born in the late 1960s and is a computer The operating system has multi-tasking and multi-user features, is written in C, and can be modified quickly. It began as a one-man project under the leadership of Ken Thompson at Bell Labs and went on to become the most widely used operating system. Unix is a proprietary operating system. Unix operating system runs on CLI (Command Line Interface), but recently, GUIs have been developed on Unix systems, an operating system that is popular among big businesses in companies and universities.
2: What is LINUX
Linux is an operating system established in 1991 by Linus Torvalds of the University of Helsinki. The name "Linux" comes from the Linux kernel. Initially, Linux was The main function of the system on the computer is to enable applications and users to access the devices on the computer to perform certain functions.
Linux OS processes the instructions issued by the application and sends the results back to the application through Linux OS. It can be installed on different types of computer mobile phones. Currently, many have been released based on the Linux kernel. own operating system version.
Three: UNIX operating system
The UNIX operating system consists of three parts; kernel, shell and program.
Four: Disadvantages of Unix
1. The versions on various machines are slightly different, so there is a lack of consistency.
2.Unix OS is designed for slow computer systems, so fast performance cannot be expected.
3. Unfriendly, concise, inconsistent and non-mnemonic user interface.
4. The Shell interface can be dangerous because input errors can corrupt files.
Five: Directory Structure
All files are grouped together in a directory structure. File systems are arranged in a hierarchical structure, like an inverted tree. The top of the hierarchy is traditionally called root (written as slash /)
In the image above, we see that the main directory "ee51vn" contains two subdirectories ( documents and images) and a file called report.doc.
The full path of the file report.doc is "/home/its/ug1/ee51vn/report.doc"
The above is a complete introduction to what Unix is, if you want to know more For Linux video tutorial, please pay attention to php Chinese website.
The above is the detailed content of What is Unix. For more information, please follow other related articles on the PHP Chinese website!

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

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

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics



Unix is a multi-user, multi-process computer operating system that supports multiple processor architectures. According to the classification of operating systems, it is a time-sharing operating system. In addition to being a network operating system, Unix can also be used as a stand-alone operating system. The UNIX system provides a good user interface, which is easy to use, fully functional, clear and flexible, and easy to expand and modify.

GNU is a Unix-like operating system developed and designed based on Unix and is compatible with Unix. GNU consists of a set of software applications and developer tools and a program that allocates resources and communicates with hardware or the kernel. GNU can be used with other kernels, and is usually used with the Linux kernel. GNU programs can be ported to many other operating systems, including different platforms such as Mac OS X and Microsoft Windows.

After several pre-releases, the KDE Plasma development team unveiled version 6.0 of its desktop environment for Linux and BSD systems on 28 February, using the Qt6 framework for the first time. KDE Plasma 6.1 now comes with a number of new features t

The original intention of Linux was to replace UNIX and optimize its functions and user experience. Therefore, Linux imitated UNIX (but did not plagiarize the source code of UNIX), making Linux very similar to UNIX in appearance and interaction. Therefore, it can be said that "UNIX is the father of Linux". It is precisely because Linux and UNIX are inextricably linked that people call Linux a "UNIX-like system."

1Unix philosophy The Unix philosophy emphasizes practicality, comes from rich experience, and is not restricted by traditional methodologies or standards. This knowledge is more latent and semi-instinctive. The knowledge that Unix programmers accumulate through development experience can benefit other programmers. (1) Each program should focus on completing one task and start over when encountering a new task to avoid adding new functions to the original program, resulting in increased complexity. (2) Assuming that the output of a program will become the input of another program, even if the next program is not clear, make sure that the output does not contain irrelevant information. (3) Put the designed and written software into trial use as soon as possible, and discard low-quality code decisively and rewrite it. (4) Use tools prior to inefficient auxiliary means to reduce the burden of programming tasks and strive for excellence.

The differences are: 1. UNIX is open source, while Win is proprietary software, and its source code is not open to the public; 2. UNIX is designed for multi-user, multi-task environments, while Win is suitable for individuals; 3. Win is more powerful than UNIX Easy to get started; 4. UNIX performs better than Win in terms of performance and stability; 5. Win has wider application and software compatibility than UNIX; 6. UNIX licenses are usually more expensive than Win; 7. UNIX has better security Performance is better than Win in terms of performance; 8. UNIX installation is simpler than Win.

Imitate the find command in the Unix operating system and implement a myfind command. The myfind command starts from the specified directory and searches for the specified file recursively. The command format is as follows: myfindPATH-option parameter [-print][-exec command {};]PATH: starting directory to search. -option parameter: Used to control the search method, the details are as follows (only the ones I commonly use are given below): -name "file": Specify the file name to be searched for. The Linux command locates the file. It can be escaped?*, etc. -prune directory: Do not search this directory when emphasizing search. -mtime+n or -n: Search linux command location files by time, +n: means

Unix is not an application software, but an operating system that provides a series of basic commands and tools that can be used for tasks such as file management, process control, and network communication. Unix also provides powerful multi-user and multi-task support. This allows multiple users to use computer resources at the same time, and tasks can be executed in parallel.
