Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the Linux knowledge that should be solved?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "what is the Linux knowledge that should be solved?" in the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Several typical Linux systems

First of all, I have a general impression of the current Linux version, which is generally divided into Desktop version and Server version.

Ubuntu's most common Linux personal distribution, an affectionate South African tycoon, can do the same with money.

CentOS is the most commonly used Linux server to send a new version, an open version of RHEL, a wheel created by copyright.

Arch rolling upgrade, massive binary package, active community, personal favorite

Gentoo installation software needs to be compiled from the source code. It is stable, but it will be painful to use.

LFS builds Linux from scratch, and after doing it again, Linux can see every hair clearly.

Kali specializes in penetration and represents a development path of the release, that is, the domain.

The first concept to understand

KISS Keep it Simple and Stupid, it is said to be philosophy

Everything is usually a file called a file, processes, disks, etc., are also abstracted into files, more outrageous pipes, devices, socket, etc., are also files. This is the most important way Linux is organized.

Pipe | separated. The output of the previous command is used as the input of the following command, and multiple commands can be concatenated.

Redirect

< 将文件做为命令的输入 >

Output the output of the command to a file

Append the output of the command to the file

SHELL first confirm your shell, generally the most commonly used is bash, there are also a lot of csh,zsh, etc., through the echo $SHELL can see the current user's shell, the corresponding configuration file should be changed accordingly. For example, .zshrc, .bashrc

Four major elements

When entering linux, we first focus on four elements: memory, cpu, storage, and network. Linux provides enough commands for you to spy on every corner of it. The next orders are some of the most commonly used, proficient or not, can not remember to spank.

CPU

Use top to view the load of cpu, and shift+p to sort by cpu. You need to know what wa,us and so on mean.

What does it mean to use uptime to check the system startup time and load,load? What is system overload? It's a high-frequency problem. Don't blame me for not telling you.

Ps command is big and deep. In addition to checking the process number, you also need to know R, S, D, T, Z,

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report