awk中的'数组'

awk中的'数组'是一种关联数组,又称作maps、字典,他的索引不需要连续, 可以使用字符串、数字做为索引, 此外,不需要事先声明数组的大小 - 数组可以在运行时扩展/收缩。 - 赋值: - 删除: - 多维数组(使用字符串模拟) - 遍历: 数据:Iplogs.txt total.awk: _注意下END后的{需要和…

2019-08-31 · 3 分钟

FTP ASCII上传下载

近期在进行AIX到Linux迁移,发现从windows终端ftp时,客户端设置ASCII传输模式, 服务端并不能自动转换换行符号,脚本出现^M,需要手工删除。 Linux环境为RedHat7.3+vsftpd3.0.2,vsftpd.conf中ascii_download_enable/ascii_u

2019-08-31 · 4 分钟

LeetCode – Binary Tree Inorder Traversal

Given a binary tree, return the _inorder_ traversal of its nodes\\' values. Example: Input: Output: Follow up: Recursive solution is trivial, could you do it…

2019-08-31 · 2 分钟

linux kernel documentation-CFS Scheduler

这篇文章 CFS Scheduler是Linux Kernel文档

2019-08-29 · 8 分钟

LeetCode – Target Sum

You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have symbols + and -. For each integer, you should choose one from + …

2019-08-20 · 2 分钟

LeetCode – Clone Graph

Given a reference of a node in a connected Connected_graph undirected graph, return a deep copy

2019-08-09 · 2 分钟

linux-sides-Timers and time management-Introduction

这篇文章 Timers and time management in the Linux kernel. Part 1

2019-08-07 · 15 分钟

sysctl-查询修改Linux内核参数

sysctl命令可以_实时_(runtime)查看和修改linux 内核参数。这个命令可以在大多数发行版本找到, 另外内核参数,也可以通过procfs 文件系统,在 /proc/sys/kernel下 进行查看和修改。

2019-08-06 · 2 分钟

LeetCode – Evaluate Reverse Polish Notation

Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, , /. Each operand may be an integer or another expression.…

2019-08-04 · 2 分钟

汇编文件中的CFI指令

这篇文章CFI directives in assembly file (18 Jan 2017),   是出自google 工程师Adam Langley - ###      函数调用栈 函数调用中 调用call指令时将call指令的下一条指令 return address 入栈, 其中return…

2019-07-09 · 2 分钟