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

今天 14:08
阅读 43 分钟
11
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》第十章 网络应用和服务

今天 13:42
阅读 47 分钟
8
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》第九章 了解网络及其配置

4 月 22 日
阅读 101 分钟
18
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》第八章 流程和资源利用的近距离观察

4 月 16 日
阅读 44 分钟
32
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 章 系统配置 系统配置: 日志、系统时间、批处理任务和用户

4 月 8 日
阅读 54 分钟
47
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》第六章 用户空间如何启动

3 月 29 日
阅读 90 分钟
44
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内核的启动过程

3 月 26 日
阅读 40 分钟
44
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》第四章 磁盘和文件系统

3 月 21 日
阅读 67 分钟
46
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》第三章 设备

3 月 20 日
阅读 46 分钟
59
This chapter is a basic tour of the kernel-provided device infrastructure in a functioning Linux system.

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

3 月 1 日
阅读 74 分钟
223
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翻译)

2 月 11 日
阅读 23 分钟
364
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 分钟
669
与其说是读书笔记,实际上更像是学学英语顺带学学Linux命令。这本书是通过每天挤一点时间边看边学边敲完成的,每天日常翻翻所以顺序和原始博客网站优点不一样。

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

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

【Linux】awk命令介绍

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

【Linux】getline解释

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

【Linux】jq 命令介绍和使用

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

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

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

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

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

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

2023-01-19
阅读 5 分钟
1.4k
概览整个配置大致分为下面的步骤:检查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.2k
引言这里按照官方介绍进行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 分钟
1.3k
很多时候我们喜欢在自己电脑上装一台Linux虚拟机玩,但是每次装好之后基本都是两眼无神,不知道下一步干啥,所以这篇文章主要就是解决安装好Linux之后,建议做的一些操作,帮助快速构建本地可用环境。

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

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