《how linux work》A. 参考文献

2024-04-29
阅读 4 分钟
441
Abrahams, Paul W., 和 Bruce Larson, 《UNIX 快速入门指南》,第 2 版。波士顿:Addison-Wesley 专业出版社,1995年。

【Linux】《how linux work》第 十七 章 夯实基础

2024-04-29
阅读 13 分钟
355
The chapters in this book have covered the fundamental components of a Linux system, from low-level kernel and process organization, to networking, to some of the tools used to build software. With all of that behind you, what can you do now? Quite a lot, as it turns out! Because Linux supports n...

【Linux】《how linux work》第十六章 从 C 源代码编译软件入门

2024-04-29
阅读 33 分钟
355
Most nonproprietary third-party Unix software packages come as source code that you can build and install. One reason for this is that Unix (and Linux itself) has so many different flavors and architectures that it would be difficult to distribute binary packages for all possible platform combina...

【Linux】《how linux work》第十五章 开发工具

2024-04-29
阅读 48 分钟
555
Linux and Unix are very popular with programmers, not just due to the overwhelming array of tools and environments available but also because the system is exceptionally well documented and transparent. On a Linux machine, you don’t have to be a programmer to take advantage of development tools, ...

【Linux】《how linux work》第十四章 Linux 桌面简介

2024-04-27
阅读 31 分钟
554
This chapter is a quick introduction to the components found in a typical Linux desktop system. Of all of the different kinds of software that you can find on Linux systems, the desktop arena is one of the wildest and most colorful because there are so many environments and applications to choose...

【Linux】《how linux work》第十三章 用户环境

2024-04-26
阅读 23 分钟
412
This book’s primary focus is on the Linux system that normally lies underneath server processes and interactive user sessions. But eventually, the system and the user have to meet somewhere. Startup files play an important role at this point, because they set defaults for the shell and other inte...

【Linux】《how linux work》第十二章 在网络中移动文件

2024-04-24
阅读 35 分钟
401
This chapter surveys options for moving and sharing files between machines on a network. We’ll start by looking at some ways to copy files other than the scp and sftp utilities that you’ve already seen. Then we’ll briefly look at true file sharing, where you attach a directory on one machine to a...

【Linux】《how linux work》第十一章 Shell 脚本简介

2024-04-23
阅读 43 分钟
551
If you can enter commands into the shell, you can write shell scripts (also known as Bourne shell scripts). A shell script is a series of commands written in a file; the shell reads the commands from the file just as it would if you typed them into a terminal.

【Linux】《how linux work》第十章 网络应用和服务

2024-04-23
阅读 47 分钟
512
This chapter explores basic network applications—the clients and servers running in user space that reside at the application layer. Because this layer is at the top of the stack, close to end users, you may find this material more accessible than the material in Chapter 9. Indeed, you interact w...

【Linux】《how linux work》第九章 了解网络及其配置

2024-04-22
阅读 101 分钟
481
Networking is the practice of connecting computers and sending data between them. That sounds simple enough, but to understand how it works, you need to ask two fundamental questions:

【Linux】《how linux work》第八章 流程和资源利用的近距离观察

2024-04-16
阅读 44 分钟
445
This chapter takes you deeper into the relationships between processes, the kernel, and system resources. There are three basic kinds of hardware resources: CPU, memory, and I/O. Processes vie for these resources, and the kernel’s job is to allocate resources fairly. The kernel itself is also a r...

【Linux】《how linux work》第 7 章 系统配置 系统配置: 日志、系统时间、批处理任务和用户

2024-04-08
阅读 54 分钟
636
When you first look in the /etc directory, you might feel a bit overwhelmed. Although most of the files that you see affect a system’s operations to some extent, a few are fundamental.

【Linux】《how linux work》第六章 用户空间如何启动

2024-03-29
阅读 90 分钟
600
The point where the kernel starts its first user-space process, init, is significant—not just because that’s where the memory and CPU are finally ready for normal system operation, but because that’s where you can see how the rest of the system builds up as a whole. Prior to this point, the kerne...

【Linux】《how linux work》第五章 Linux内核的启动过程

2024-03-26
阅读 40 分钟
827
You now know the physical and logical structure of a Linux system, what the kernel is, and how to work with processes. This chapter will teach you how the kernel starts— or boots. In other words, you’ll learn how the kernel moves into memory up to the point where the first user process starts.

【Linux】《how linux work》第四章 磁盘和文件系统

2024-03-21
阅读 67 分钟
595
In Chapter 3, we discussed some of the top-level disk devices that the kernel makes available. In this chapter, we’ll discuss in detail how to work with disks on a Linux system. You’ll learn how to partition disks, create and maintain the filesystems that go inside disk partitions, and work with ...

【Linux】《how linux work》第三章 设备

2024-03-20
阅读 46 分钟
628
This chapter is a basic tour of the kernel-provided device infrastructure in a functioning Linux system.

【Linux】《how linux work》第二章 基本命令和目录层次结构

2024-03-01
阅读 74 分钟
999
This chapter is a guide to the Unix commands and utilities that will be referenced throughout this book. This is preliminary material, and you may already know a substantial amount of it. Even if you think you’re up to speed, take a few seconds to flip through the chapter just to make sure, espec...

【Linux】《How Linux Work》第一章 大局观(GPT翻译)

2024-02-11
阅读 23 分钟
777
At first glance, a modern operating system such as Linux is very complicated, with a dizzying number of pieces simultaneously running and communicating. For example, a web server can talk to a database server, which could in turn use a shared library that many other programs use. But how does it ...

【Linux】《The Command Line Handbook》 读书笔记(下半部分)

2023-04-06
阅读 45 分钟
1k
与其说是读书笔记,实际上更像是学学英语顺带学学Linux命令。这本书是通过每天挤一点时间边看边学边敲完成的,每天日常翻翻所以顺序和原始博客网站优点不一样。

【Linux】《The Command Line Handbook》 读书笔记(上半部分)

2023-04-06
阅读 37 分钟
1.3k
与其说是读书笔记,实际上更像是学学英语顺带学学Linux命令。这本书是通过每天挤一点时间边看边学边敲完成的,每天日常翻翻所以顺序和原始博客网站不太一样。

【Linux】awk命令介绍

2023-02-28
阅读 1 分钟
923
Awk是一种用于高级文本处理的通用脚本语言,其主要用作报告和分析工具,与大多数其他程序性编程语言不同,Awk是数据驱动的,也就是说需要定义一组针对输入文本要执行的操作,然后其获取输入数据,对其进行转换,然后将结果发送到标准输出。

【Linux】getline解释

2023-02-28
阅读 2 分钟
1.3k
知识点先说一下重要的知识点:getline;在awk中可以用于控制“循环”。getline;之后,awk会改变对应的NF,NR,FNR和$0等内部变量getline;拿到的是下一行而不是当前行,概念想象为++i操作即可。介绍getline命令改变了awk的运行逻辑,是awk命令不可或缺的一部分。awk本质上就是一个for循环,它每次对输入文件的一行进行处理,...

【Linux】jq 命令介绍和使用

2023-02-28
阅读 12 分钟
5.1k
jq 命令主要是和json文件的操作有关的辅助命令,可以实现对于Json数据的切片,过滤,映射和转换,在功能上毫不逊色于awk、sed、grep等命令。

【Linux】Linux命令快速学习神器tldr、cheat介绍和使用

2023-01-28
阅读 12 分钟
4.1k
本文介绍tldr和Cheat等实用工具的安装和使用,这些工具虽然本身不能替代man、info等命令,但是在很多时候想要快速学习和掌握命令但是忘记常见用法非常有帮助。
封面图

【Linux】Docker 中搭建Redis单节点以及集群

2023-01-19
阅读 12 分钟
1.7k
[[【RocketMq】RocketMq 4.9.4 Windows-docker 部署]]([链接]) 中提到了Windows安装Docker的一部分些细节,这里不再过多讨论,安装完成之后的Redis集群搭建同样可以参考本篇进行构建。

【Docker】Linux安装Docker(极简版)

2023-01-19
阅读 5 分钟
1.8k
概览整个配置大致分为下面的步骤:检查LInux内核版本,不能太老root权限更新yum清理旧版本。更换Docker镜像地址安装Docker1. 检查Linux内核版本建议使用centerOs 7.9 以上的版本,内核基本上可以满足Docker的需求。 {代码...} 2. root权限更新yum个人Linux虚拟机使用了具备sudo权限的普通用户,所以命令有些许不同。 {代...

【Linux】Linux - CenterOs 7.9中搭建Nacos 2.x

2022-12-25
阅读 16 分钟
1.7k
引言这里按照官方介绍进行Linux 中的Nacos快速搭建。整个安装主要依赖下面几个环境:64 bit OS,支持 Linux/Unix/Mac/Windows,推荐选用 Linux/Unix/Mac。64 bit JDK 1.8+;下载 & 配置。Maven 3.2.x+;下载 & 配置。安装JDKSelect the appropriate JDK version and click Download.根据自己的操作系统进行相关的环境下...

【Linux】拿到一台虚拟机Linux该干什么?

2022-09-07
阅读 7 分钟
2.1k
很多时候我们喜欢在自己电脑上装一台Linux虚拟机玩,但是每次装好之后基本都是两眼无神,不知道下一步干啥,所以这篇文章主要就是解决安装好Linux之后,建议做的一些操作,帮助快速构建本地可用环境。

《Linux是怎么样工作的》读书笔记

2022-05-02
阅读 27 分钟
5.4k
这本书是个人看过的讲操作系统底层里面讲的最通俗易懂的了,但是200多页的内容确实讲不了多深的内容,所以不要对这本书抱有过高期待,当一个入门书了解即可。
封面图