AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-117409

Sollosa's questions

Martin Hope
Sollosa
Asked: 2025-01-22 23:45:25 +0800 CST

vimdiff 可以在打开的文件之间交换增量吗?

  • 5

因此 vimdiff 是一个针对 cli 环境的文件比较工具。我想知道它是否提供在两个选项卡之间交换代码行的功能?

vim
  • 1 个回答
  • 11 Views
Martin Hope
Sollosa
Asked: 2024-04-17 15:52:07 +0800 CST

在 ansible blockinfile 模块的块内使用选项卡

  • 6

我想使用 ansible 输出一些以制表符作为分隔符的文本

这是任务片段

- name: Create output file
  blockinfile:
    block: |
      Some text\tmore text
    path: '{{ playbook_dir }}/output.txt'
    create: true

电流输出

# BEGIN ANSIBLE MANAGED BLOCK
Some text\tmore text
# END ANSIBLE MANAGED BLOCK

期望的

# BEGIN ANSIBLE MANAGED BLOCK
Some text   more text
# END ANSIBLE MANAGED BLOCK
ansible
  • 1 个回答
  • 20 Views
Martin Hope
Sollosa
Asked: 2023-08-03 23:09:42 +0800 CST

ansible条件问题

  • 5

该剧本获取总 RAM,并在此基础上设置两个变量,例如 A 和 B A 是总 RAM 的 40% B 是总 RAM 的 60%

任务是,如果 A 大于或等于 32,则 A 必须为 32,但如果小于 32,则保留 A,因为总 RAM 的 40% 与 B 相同,如果 B 大于或等于32,则 B 必须为 32,但如果小于 32,则保留 B,因为是总 RAM 的 60%

- name: get total RAM
  set_fact:
    total_ram_mb: "{{ ansible_memtotal_mb }}"

- name: calculate min & max values
  set_fact:
    A: "{{ (total_ram_mb * 0.4 / 1024) | int }}"
    B: "{{ (total_ram_mb * 0.6 / 1024) | int }}"

- debug:
    var: A

- debug:
    var: B

- name: limit min value
  set_fact:
    A: "{{ 32 if A >= 32 else A }}"

- name: limit max value
  set_fact:
    B: "{{ 32 if B >= 32 else B }}"

- debug:
    var: A

- debug:
    var: B

但后来的任务AB总是设置为32,无论A更大、等于还是更小,我的虚拟机上的内存都是8G不知道问题出在哪里

这是该剧的输出

[root@autom ansible]# ansible-playbook -i inv.txt memory.yml

PLAY [es] ********************************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************************
ok: [es1]
ok: [es2]

TASK [memory : get total RAM] *****************************************************************************************************************
ok: [es1]
ok: [es2]

TASK [memory : calculate min & max values] ****************************************************************************************************
ok: [es1]
ok: [es2]

TASK [memory : debug] *************************************************************************************************************************
ok: [es1] => {
    "A": "3"
}
ok: [es2] => {
    "A": "3"
}

TASK [memory : debug] *************************************************************************************************************************
ok: [es1] => {
    "B": "4"
}
ok: [es2] => {
    "B": "4"
}

TASK [memory : limit min value] ***************************************************************************************************************
ok: [es1]
ok: [es2]

TASK [memory : limit max value] ***************************************************************************************************************
ok: [es1]
ok: [es2]

TASK [memory : debug] *************************************************************************************************************************
ok: [es1] => {
    "A": "32"
}
ok: [es2] => {
    "A": "32"
}

TASK [memory : debug] *************************************************************************************************************************
ok: [es1] => {
    "B": "32"
}
ok: [es2] => {
    "B": "32"
}
linux
  • 1 个回答
  • 37 Views
Martin Hope
Sollosa
Asked: 2023-05-08 16:32:39 +0800 CST

ansible比较2个目录中的所有文件并打印差异

  • 6

我有2个目录

$ tree dir{1..2}
dir1
├── file1
└── file2
dir2
├── file1
└── file2

我想使用 ansible 将 dir1 中的所有文件与 dir2 中的所有文件进行比较,并像这样打印差异

output:
${file1} from ${dir1}:
diff content

${file1} from ${dir2}:
diff content

它将遍历所有文件以打印它们的差异

下面是需要修改的ansible片段

---
- name: Compare files in two directories
  hosts: localhost
  gather_facts: false
  tasks:
    - name: Find files in directory 1
      find:
        paths: ~/dir1
        file_type: file
      register: dir1_files

    - name: Find files in directory 2
      find:
        paths: ~/dir2
        file_type: file
      register: dir2_files

    - name: Compare files
      shell: diff dir1/file1 dir2/file1 ## how can I make sure path changes but filenames stay same using variables
      loop: "{{ dir1_files.files }}"
      register: diff_output
      changed_when: false
      failed_when: diff_output.rc == 1

    - name: Print differences
      debug:
        msg: |
          {{ item.item.path }} from dir1:
          {{ item.stdout }}
          {{ item.item.path }} from dir2:
          {{ item.stdout }}
      loop: "{{ diff_output.results }}"
      when: item.stdout_lines | length > 0

对于 Vladimir 的回答中的建议代码,我得到以下输出

TASK [debug] *****************************************************************************************************************************************
ok: [localhost] => {
    "msg": "file2 from dir1: \n  1,2c1,2\n  < abc123\n  < def456\n  ---\n  > abc101\n  > def111\nfile2 from dir2: \n  1,2c1,2\n  < abc123\n  < def456\n  ---\n  > abc101\n  > def111\nfile1 from dir1: \n  1,2c1,2\n  < 123abc\n  < 456def\n  ---\n  > 101abc\n  > 111def\nfile1 from dir2: \n  1,2c1,2\n  < 123abc\n  < 456def\n  ---\n  > 101abc\n  > 111def\n"
}
diff
  • 1 个回答
  • 29 Views
Martin Hope
Sollosa
Asked: 2023-03-01 03:06:05 +0800 CST

ansible mysqldb 不接受 tagrget 选项中的项目

  • 6

我有一个数据库主机,上面有一些 sql 文件。我想使用 ansible 剧本将其来源到数据库中。所以我找到所有文件并在变量中注册,然后尝试使用以下代码获取这些文件。

- name: get schema files
  find:
    paths: "~/dbs/"
    recurse: no
    patterns: "*.sql"
  register: db_sql_files

- name: import schemas
  mysql_db:
    name: all
    state: import
    target: "{{ item['path'] }}"
    login_user: "{{ db_user }}"
    login_password: "{{ db_pass }}"
    with_items: "{{ db_sql_files['files'] }}"

当我运行剧本时,出现以下错误。

The task includes an option with an undefined variable. The error was: 'item' is undefined
find
  • 1 个回答
  • 15 Views
Martin Hope
Sollosa
Asked: 2022-12-10 06:16:53 +0800 CST

是否可以根据映射值为 ansible 角色指定主机?

  • 8

我有主机,我可以在其中在单节点架构或分布式架构上设置应用程序。所以我有一个库存。

[STG]
node1

[LIVE]
app_node
db_node
gateway_node

因此具有默认值的变量是single但可以在 CLI 上更改为distributed

我有一个角色定义

- hosts:
  gather_facts: no
  roles:
      - {role: setup, tags: ['setup', 'orchestra']}

所以我希望主机线根据地图值是动态的

- hosts: 'if single then host == STG else LIVE'
variable
  • 1 个回答
  • 31 Views
Martin Hope
Sollosa
Asked: 2022-10-10 07:29:05 +0800 CST

ansible lineinfile 模块以匹配 variable_value

  • 0

如何通过 lineinfile 模块中的正则表达式参数匹配变量的值?

- name: emptyline before search
  lineinfile:
    dest: ~/file
    insertbefore: '^{{ search_text }}$'
    line: ''

我在上面尝试了单引号/双引号,它似乎不起作用

ansible search
  • 1 个回答
  • 20 Views
Martin Hope
Sollosa
Asked: 2022-10-09 02:43:55 +0800 CST

带有循环的角色的ansible运行列表

  • 3

我有主文件,可以启动不同的个人角色。

---
- hosts: all
  gather_facts: False
  roles:
    - role: "{{ rnames }}"
...

当我运行个人角色时,它运行良好

ansible-playbook -i inv initiate.yml -e rnames=install_packages

但我更喜欢通过向rname变量提供角色列表来运行多个角色

ansible-playbook -i inv initiate.yml -e rnames=install_packages,config_merge

我尝试了with_items&loop构造,但似乎无法弄清楚。

variable ansible
  • 1 个回答
  • 26 Views
Martin Hope
Sollosa
Asked: 2022-06-26 11:11:28 +0800 CST

bash在拖尾日志时循环文件

  • 1

我正在运行一个处理特定目录中文件的守护进程。我想一一处理。所以我的想法是我将在守护进程目录中逐个复制文件,并尾随其日志,当日志文件首先完成处理时,第二个文件应该复制到守护进程目录,即日志文件停止更新。

我怎样才能做到这一点?说

daemon_dir=/var/daemon_dir/
daemon_log_file=/var/daemon/daemon_log

我有 5 个文件要处理,即文件 {1..5}

# ls -1
file1
file2
file3
file4
file5

所以我的循环应该按原样进行。

for file in file{1..5}
do
  cp ${file} ${daemon_dir}
  # daemon sees new file arriving in its dir, & starts processing
  # log is tailed
  tail -f ${daemon_log_file}
  # when log file stops updating say for 1minute or specified time, tail quits
done

并且循环从下一个文件开始。

bash logs
  • 1 个回答
  • 41 Views
Martin Hope
Sollosa
Asked: 2022-06-25 03:33:45 +0800 CST

如果值在 2 列中匹配,则 awk 从文件 2 中获取文件 1 的列值 [重复]

  • 1
这个问题在这里已经有了答案:
用循环中的变量替换特定字段中的文本 2 个答案
4 个月前关闭。

我有 2 个文件,当它们的列匹配时,尝试将从 file2 获取的列值设置为 file1

file1:
signup||20200620|A3332|en|LA||ACTIVE
signup||20200620|B4443|en|CA|66001|ACTIVE
signup||20200620|C2221|en|WC||ACTIVE
signup||20200620|D1110|en|LA||ACTIVE
signup||20200620|E5554|en|WC|66003|ACTIVE

file2:
A3332||99001
B4443|66001|99003
D1110|66004|99007
E5554||99004

标准: file1 的 $4 必须匹配 file2 的 $1,匹配后它应该设置 file1 的 $7 等于 file2 的 $3


期望:

signup||20200620|A3332|en|LA|99001|ACTIVE
signup||20200620|B4443|en|CA|99003|ACTIVE
signup||20200620|C2221|en|WC||ACTIVE
signup||20200620|D1110|en|LA|99007|ACTIVE
signup||20200620|E5554|en|WC|99004|ACTIVE

我正在尝试什么

awk 'BEGIN{ FS=OFS="|" } NR==FNR{a[NR]=$1; b[NR]=$3; next} {if (a[FNR] = $4); $7=b[FNR]; print}' file2 file1

我得到了什么

signup||20200620|A3332|en|LA|99001|ACTIVE
signup||20200620|B4443|en|CA|99003|ACTIVE
signup||20200620|C2221|en|WC|99007|ACTIVE
signup||20200620|D1110|en|LA|99004|ACTIVE
signup||20200620|E5554|en|WC||ACTIVE

如果这是逻辑错误或其他原因,我会摸不着头脑

awk search
  • 2 个回答
  • 82 Views
Martin Hope
Sollosa
Asked: 2022-06-24 09:46:33 +0800 CST

用循环中的变量替换特定字段中的文本

  • 0

我有一个巨大的文件要解析并需要搜索和替换文本,但在特定字段中,共享一个名为 dest 的小样本以供参考。第一行是标题供参考。

cat dest
ID|NAME|COMPANY|NUMBER
1001|Adam||15001
1002|eve|adam&eve|15002
1003|||
1004|||50000
1005|||50001

我有单独的文件,其中包含要匹配的模式、要替换的文本和要替换的文本

cat src
1003||15003
1004|50000|15004
1005|50001|15005

所以我可以使用 sed 运行下面给定的 while 循环来实现 src 文件中的最后 2 行。

cat src | while IFS=$'|'; read id old new; do sed -i "/^${id}/s/${old}/${new}/" dest; done

但是对于ID=1003我得到空字符串$old,它将替换该ID的dest文件中的所有空列。我想避免。我想要做的是只替换最后一个字段。

期望:

ID|NAME|COMPANY|NUMBER
1001|Adam||15001
1002|eve|adam&eve|15002
1003|||15003
1004|||15004
1005|||15005

当涉及到柱状数据时,我可以使用 awk,因为它更细化。但据我了解,awk 会多次打印到标准输出,这在我的情况下也不实用。

那么有没有一种方法可以让我以简洁明了的方式做到这一点?

awk sed
  • 2 个回答
  • 110 Views
Martin Hope
Sollosa
Asked: 2022-06-01 01:47:15 +0800 CST

BASH:是否可以根据其参数更改功能提示?

  • 2

我想构建一个函数,该函数将根据其参数更改其用户输入提示。

my_fucntiondb_host在提示用户输入后取 1 个参数:

function provide_host () {
    echo "Enter NAME OR IP OF ${function_param1} DATBASE HOST: "
    read global function_param1_db_host
}

所以如果我把这个函数称为

function provide_host (primary)

它应该提示为

echo "Enter NAME OR IP OF PRIMARY DATBASE HOST: "

但如果我使用

function provide_host (secondary)

它提示

 "Enter NAME OR IP OF SECONDARY DATBASE HOST: "

我的想法是我必须为此使用一个if语句,但我不确定是否可以将函数的参数用作在函数内部提示用户的变量。

bash function
  • 1 个回答
  • 160 Views
Martin Hope
Sollosa
Asked: 2022-05-22 12:55:28 +0800 CST

如果 file1 中的值与 file2 中的值不匹配,则 awk 不打印

  • -1

文件1:

G A 4
H B 3
I C 2
J D 1

文件2:

M H 6
N H 5
O K 4
P J 3
Q I 2
R I 1
S G 0
T L 1

期望:

M H 6
N H 5
P J 3
Q I 2
R I 1
S G 0

仅打印 file2 中的 $2 与 file1 中的 $1 匹配的行

我正在尝试构造 if 语句,但它给了我下面的语法错误

awk 'NR==FNR{a[NR]=$1; b[NR]=$2; next} ; {if{a[FNR]==b[FNR]}; {next}; { print }' file1 file2

syntax error at source line 1
 context is
    NR==FNR{a[NR]=$1; b[NR]=$2; next} ; >>>  if <<< {a[FNR]==b[FNR]; next}; { print }

或者如果不使用 if 动词则没有输出

awk 'NR==FNR{a[NR]=$1; b[NR]=$2; next} ; {a[FNR]==b[FNR]; next}; { print }' file1 file2
awk search
  • 2 个回答
  • 275 Views
Martin Hope
Sollosa
Asked: 2022-05-18 16:50:28 +0800 CST

awk 脚本用 if 将值替换为增量

  • 1

我有一个管道分隔文件

d1000|1000
d1001|100
d1002|10
d1003|1
d1004|
d1005|

如果长度小于 4 位,我想修改 $2,并且保留空格

所以试图通过 awk 脚本来做

BEGIN { FS="|"; OFS="\t" }

{
n=1100
{ if (length($2)!=4 && length($2)>0) {$2=++n}};

print $1, $2
}

但它一遍又一遍地打印相同的数字

d1000   1000
d1001   1101
d1002   1101
d1003   1101
d1004
d1005

而想要的输出

d1000   1000
d1001   1101
d1002   1102
d1003   1103
d1004
d1005

编辑:这是上面的代码,格式为gawk -o-:

BEGIN {
        FS = "|"
        OFS = "\t"
}

{
        n = 1100
        if (length($2) != 4 && length($2) > 0) {
                $2 = ++n
        }
        print $1, $2
}
awk text-processing
  • 2 个回答
  • 59 Views
Martin Hope
Sollosa
Asked: 2022-05-18 03:21:21 +0800 CST

awk 只打印修改的行

  • -1

我有这样的文件

d1000 1000
d1001 100
d1002 10
d1003 1

我想修改长度不等于 4 的第二列。但我只想打印已修改的行,因此第 2 列中的原始文本保留在第 2 列中,并且更改打印在第 3 列中,并增加一个数字。

期望的输出:

d1001 100 1101
d1002 10  1102
d1003 1  1103

我正在尝试这些方面,但无法获得语法或结果

awk -v n=1100 '((length($2)!=4 && length($2)>0) {new=($2=++n)}; {print $1, $2, new}' file
awk text-processing
  • 3 个回答
  • 155 Views
Martin Hope
Sollosa
Asked: 2022-05-11 01:07:07 +0800 CST

如果长度等于,awk 用增量值替换列值

  • 2

我有非标准数据,我想对其进行标准化

文件:

d101 11001
e101 9665
f101 9663
d102 11002
e102 11003
f102 11004
g102 11005

所需的输出:

d101 11001
e101 12001
f101 12002
d102 11002
e102 11003
f102 11004
g102 11005

所以逻辑应该是,如果 column2 = 4 的长度,它应该用提供的系列的增量编号替换它:在这种情况下,1200 是系列,& 1、2、3 .. 是增量。

awk text-processing
  • 2 个回答
  • 186 Views
Martin Hope
Sollosa
Asked: 2022-04-18 07:01:25 +0800 CST

awk 十进制除法

  • 0

我有一个包含值的文件,有些是整数,有些是小数

# cat file    
value1 100
value2 500.10
value3 2505
value4 35.4

我想将 field2 中的每个值除以一个固定的数字 = 1000,也将除法后的所有值相加。结果值必须在小数点后保留 5 位数字

# cat output.txt
value1 100 0.10000
value2 500.10 0.50010
value3 2505 2.50500
value4 35.4 0.03450
sum   3140.50000 3.14050   
awk text-processing
  • 3 个回答
  • 213 Views
Martin Hope
Sollosa
Asked: 2022-04-15 04:49:48 +0800 CST

如何将file1中的值与file2中的值匹配并获取相关信息以添加到file1中?

  • -2

我有 2 个文件,第一行是标题行供参考

  • file1

    userId  userContact parentId  parentContact
    200     0900200     100       -
    201     0900201     100       -
    300     0900300     101       -
    
  • file2

    userId  userContact parentId  parentContact
    100     0900100     100       -
    101     0900101     100       -
    

我想填充 的第 4 列file1,以便它必须搜索in $3of ,然后将from代替 of , 因此输出应如下所示:file1$1file2$2file2$4file1

  • output
    userId  userContact parentId  parentContact
    200     0900200     100       0900100
    201     0900201     100       0900100
    300     0900300     101       0900101
    

我更喜欢awk,因为它会更快。

awk text-processing
  • 2 个回答
  • 189 Views
Martin Hope
Sollosa
Asked: 2022-04-11 06:32:38 +0800 CST

如果值 1 完全匹配,则匹配 2 个文件中的 value2

  • 2

我有 2 个包含列表的文件。第 1 列是用户 ID,第 2 列是关联值

# cat file1
e3001 75
n5244 30
w1453 500

#cat file2
d1128 30
w1453 515
n5244 30
e3001 55

要考虑的事情。

  1. userIds 可能不会在两个文件中完全排序
  2. userId 的数量可能因文件而异

必需的

  • 首先,file1:column1 中的 userId 必须与 file2:column1 中的 UserId 匹配
  • 接下来将它们在 file1:column2 中的值与 file2:column2 进行比较
  • 打印值有差异的地方。如果有的话,还有额外的用户 ID

输出:

e3001 has differnece, file1 value: 75 & file2 value: 55
w1453 has differnece, file1 value: 500 & file2 value: 515
d1128 is only present in filename: file1|file2

欢迎使用 1liner-awk 或 bash 循环的解决方案

我正在尝试循环,但它在吐垃圾,猜想有一些错误的逻辑

#!/usr/bin/env bash

## VARIABLES
FILE1=file1
FILE2=file2
USERID1=(`awk -F'\t' '{ print $1 }' ${FILE1}`)
USERID2=(`awk -F'\t' '{ print $1 }' ${FILE2}`)
USERDON1=(`awk -F'\t' '{ print $2 }' ${FILE1}`)
USERDON2=(`awk -F'\t' '{ print $2 }' ${FILE2}`)

for user in ${USERID1[@]}
do
    for (( i = 0; i < "${#USERID2[@]}"; i++ ))
    #for user in ${USERID2[@]}
    do
        if [[ ${USERID1[$user]} == ${USERID2[i]} ]]
        then
            echo ${USERID1[$user]} MATCHES BALANCE FROM ${FILE1}: ${USERDON1[$i]} WITH BALANCE FROM ${FILE2}: ${USERDON2[$i]}
        else
            echo ${USERID1[$user]} 
        fi
    done
done

下面是从 linux 框中复制的文件。它是制表符分隔的,但据我所知,awk 也可以与制表符一起使用。

#cat file1
e3001   55
n5244   30
w1453   515
bash shell-script
  • 5 个回答
  • 315 Views
Martin Hope
Sollosa
Asked: 2022-04-09 08:42:21 +0800 CST

同时在 2 个数组的相同索引中回显值

  • 2

我有 2 个数组要同时在 bash 脚本中处理。第一个数组包含某种标签。第二个数组包含值,如下所示

LABELS=(label1 label2 label3 labe4 )
VALUES=(91 18 7 4)

需要的是:一个循环,它将回显 LABELS 数组 & 中的索引项,并在 VALUES 数组中该项的相应值前面,如下所示

label1 91
label2 18
label3 7
label4 4

我猜嵌套循环不起作用,我在下面尝试过,但它不会按语法工作

for label in {LABELS[@]} && value in {VALUES[@]}
do
    echo ${label} ${value}
done
bash shell-script
  • 5 个回答
  • 904 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve