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-338177

schrodingerscatcuriosity's questions

Martin Hope
schrodingerscatcuriosity
Asked: 2023-12-11 22:06:22 +0800 CST

Ubuntu 服务器 22.04 Postfix/Dovecot 错误:postfix/smtpd 致命:没有 SASL 身份验证机制

  • 4

当我运行时,遵循 Ubuntu 的官方指南安装和配置 Postfix

telnet localhost 25

我明白了

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

当我查看日志时我得到

$ sudo tail /var/log/mail.err
Dec  7 11:38:17 <host> postfix/smtpd[8477]: fatal: no SASL authentication mechanisms

上面的示例是在虚拟机中运行的,但同样的情况也发生在云中的服务器中,并且telnet远程运行到域中。(我尝试在虚拟机中复制该过程,看看是否可以更轻松地发现发生的情况)。

我已经阅读了所有新旧帖子、博客、文章,尝试了我能想到的所有配置,但错误仍然存​​在。我不明白出了什么问题。我的配置:

/etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on
# fresh installs.
compatibility_level = 3.6



# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_security_level = may

smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache


smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = <host>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = <host>, <host>.local, <host>, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128 [::ffff:127.0.0.0]/104 [::1]/128 192.168.30.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
home_mailbox = Maildir/
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous,noplaintext
smtpd_sasl_tls_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 4
smtpd_tls_received_header = yes

/etc/dovecot/conf.d/10-master.conf

service auth {
  unix_listener auth-userdb {
    #mode = 0666
    #user = 
    #group = 
  }

  # Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0660
    user = postfix
    group = postfix
  }

  # Auth process is run as this user.
  #user = $default_internal_user
}

我按照官方指南“安全-证书”创建了 VM 中的 SSL 文件。在我的云服务器中,我尝试使用 Let's encrypt/Certbot 文件。我将它们添加到/etc/dovecot/conf.d/10-ssl.conf文件中

ssl_cert = </etc/ssl/certs/server.crt
ssl_key = </etc/ssl/private/server.key

每次配置更改后,我都重新启动了 Postfix 和 Dovecot 服务。服务声明:

后缀

● postfix.service - Postfix Mail Transport Agent
     Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
     Active: active (exited) since Thu 2023-12-07 12:26:07 UTC; 9min ago
       Docs: man:postfix(1)
    Process: 3362 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
   Main PID: 3362 (code=exited, status=0/SUCCESS)
        CPU: 1ms

dic 07 12:26:07 <host> systemd[1]: Starting Postfix Mail Transport Agent...
dic 07 12:26:07 <host> systemd[1]: Finished Postfix Mail Transport Agent.

鸽舍

● dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-12-07 12:26:08 UTC; 12min ago
       Docs: man:dovecot(1)
             https://doc.dovecot.org/
   Main PID: 3372 (dovecot)
     Status: "v2.3.16 (7e2e900c1a) running"
      Tasks: 5 (limit: 2220)
     Memory: 3.1M
        CPU: 44ms
     CGroup: /system.slice/dovecot.service
             ├─3372 /usr/sbin/dovecot -F
             ├─3373 dovecot/anvil
             ├─3374 dovecot/log
             ├─3375 dovecot/config
             └─3381 dovecot/stats

dic 07 12:26:08 <host> systemd[1]: Starting Dovecot IMAP/POP3 email server...
dic 07 12:26:08 <host> dovecot[3372]: master: Dovecot v2.3.16 (7e2e900c1a) starting up without any protocols (core dumps disabled)
dic 07 12:26:08 <host> systemd[1]: Started Dovecot IMAP/POP3 email server.

我按照指南中的故障排除部分进行操作。我尝试了很多排列,但没有任何效果,并且日志没有提供我可以使用的任何细节。

这个问题已经太长了,因为我尝试了很多事情,所以我不想让它变得更长,请在评论中提问,如果需要,我将编辑添加相关信息。也许我错过了一些非常基本的东西。

ubuntu
  • 1 个回答
  • 104 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2022-04-28 16:10:44 +0800 CST

如果列有多个值,则分别复制每个值的行

  • 5

我有一个具有以下格式的文件,每列由制表符分隔:

C1  C2  C3
a   b,c d
e   f,g,h   i
j   k   l
...

现在我需要根据第二列中用逗号分隔的值的数量(如果是这种情况)来确定行数。这些行必须具有其中一个值,而不是其他值。结果将是这样的:

C1  C2  C3
a   b   d
a   c   d
e   f   i
e   g   i
e   h   i
j   k   l
...
...

由于这是由于尽快工作,我刚刚制作了一个不要在家执行此操作的脚本,用 逐行阅读while,因为我缺乏相关技能awk,或者没有使用其他工具探索其他可能的解决方案。脚本如下:

同时我正在修改剧本

# DON'T DO THIS AT HOME SCRIPT
> duplicados.txt
while IFS= read -r line; do
  # get the value of the column of interest
  cues="$(echo "$line" | awk -F'\t' '{ print $18 }')"
  # if the column has commas then it has multiple values
  if [[ "$cues" =~ , ]]; then
    # count the commas
    c=$(printf "%s" "$cues" | sed 's/[^,]*//g' | wc -c)
    # loop according to the number of commas
    for i in $(seq $(($c + 1))); do
      # get each value of the column of interest according to the position
      cue="$(echo "$cues" | awk -F',' -v c=$i '{ print $c; ++c }')"
      # save the line to a file substituting the whole column for the value
      echo "$line" | sed "s;$cues;$cue;" >> duplicados.txt
    done
    continue
  fi
  # save the single value lines
  echo "$line" >> duplicados.txt
done < inmuebles.txt

有了这个,我得到了想要的结果(据我所知)。正如你可以想象的那样,脚本很慢而且效率很低。我怎么能用awk或其他工具做到这一点?

真实数据的样本是这样的,感兴趣的列是数字 18:

1409233 UNION   VIAMONTE    Estatal Provincial  DGEP    3321    VIAMONTE                            -33.7447365;-63.0997115 Rural Aglomerado    140273900   140273900-ESCUELA NICOLAS AVELLANEDA
1402961 UNION   SAN MARCOS SUD  Estatal Provincial  DGEA, DGEI, DGEP    3029, 3311, Z11 SAN MARCOS SUD                          -32.629557;-62.483976 / -32.6302699949582;-62.4824499999125 / -32.632417;-62.484932 Urbano  140049404, 140164000, 140170100, 140173100  140049404-C.E.N.M.A. N° 201 ANEXO SEDE SAN MARCOS SUD, 140164000-C.E.N.P.A. N° 13 CASA DE LA CULTURA(DOC:BERSANO), 140170100-ESCUELA HIPOLITO BUCHARDO, 140173100-J.DE INF. HIPOLITO BUCHARDO
1402960 UNION   SAN ANTONIO DE LITIN    Estatal Provincial  DGEA, DGEI, DGETyFP 3029, TZONAXI, Z11  SAN ANTONIO DE LITIN    3601300101020009    360102097366    0250347         SI / SI -32.212126;-62.635999 / -32.2122558;-62.6360432 / -32.2131931096409;-62.6291815804363   Rural Aglomerado    140049401, 140313000, 140313300, 140483400, 140499800   140049401-C.E.N.M.A. N° 201 ANEXO SAN ANTONIO DE LITIN, 140313000-I.P.E.A. Nº 214. MANUEL BELGRANO, 140313300-J.DE INF. PABLO A. PIZZURNO, 140483400-C.E.N.P.A. DE SAN ANTONIO DE LITIN, 140499800-C.E.N.P.A. B DE SAN ANTONIO DE LITIN
awk text-processing
  • 5 个回答
  • 636 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2021-11-12 03:51:30 +0800 CST

链接在一起的两个范围之间的随机数输出

  • 4

这个问题是关于在一个范围之间生成随机数,这很好,但它不适合我的情况。

我将用 SQL 术语进行解释,因为在我看来这更容易理解,尽管问题是关于bash. 我的想法是用bash代码的结果构建一个 SQL 脚本。

我有两张 MySQL 表,一张是人,一张是地方。每条记录都有一个唯一的整数 id,从 1 到 139(地点)和 1 到 1519(人)。它们通过外键相互链接,意思是:一个地方可以有很多人,但一个人只能有一个地方。

# 1-139  # 1-1519
place1 → person1
       → person2
       → person3
       ... and so on

我现在拥有的数据是,在一个地方所有的人都联系在一起,而其他地方没有任何联系。

名额是139,人是1519,所以我有一个地方1519人。

我的目标是将人员随机分配到各个地方,并且每个地方至少有一个人。

到目前为止,我的代码是这样的:

$ c=1519
$ while [[ $c -ne 0 ]]; do 
    x=$((shuf -i 1-139 -n 1))
    [[ $x -gt 139 ]] && continue
    echo $x
    (( c-- ))
  done

此代码生成 1-139 之间的 1519 个随机数,因此现在我可以将每个人链接到一个随机位置。

我的问题是:

  • 有没有更有效的方法来实现这一点?
  • 如何控制每个地方至少有一个人?

我更喜欢在 中执行此操作bash,但我对其他不涉及它的解决方案持开放态度。

bash numeric-data
  • 3 个回答
  • 646 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2020-03-11 14:52:39 +0800 CST

Bash 函数名称与系统二进制文件冲突

  • 0

在我的脚本中,我有一个名为messages. 我在 Linux Mint 中编写它,运行它没有问题,当我将它移到 Debian Buster 站时,该功能与/usr/bin/messages.

我有一个调用脚本的启动脚本messages:

启动脚本

# call to messages script
. messages

消息

messages() {
  # reformat the arguments and return them
}

稍后在 startup_script

messages "This is a message"

哪个抛出

./startup_script: line 35: .: /usr/bin/messages: cannot execute binary file
messages: could not open mailbox `/path/to/my/script/<string passed to my function>': No such file or directory

所以我得到了一堆与/usr/bin/messages被调用而不是我的函数相关的错误。

添加后type messages "This is a message",相关输出为:

messages is /usr/bin/messages

我可以选择重命名我的函数¹,但也许有更好的方法来处理这种情况。

如何告诉我的脚本忽略系统二进制文件并使用我自己的函数?


¹ 该函数在多个脚本中多次调用,因此仅更改名称并不是最简单的选择。

bash shell-script
  • 2 个回答
  • 297 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2020-03-10 06:22:01 +0800 CST

从 find 命令引用 bash for 循环中的项目

  • 0

假设我有这个代码:

for i in $(find * -type f -name "*.txt"); do 
  # echo [element by it's index]
done

如果可能,我如何通过索引访问元素?

bash find
  • 1 个回答
  • 166 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-12-19 09:45:17 +0800 CST

文件为空,但显示一个字节大小

  • 2

我的脚本使用一个 tmp 文件来写入和删除数据。我使用重定向来写入和sed删除。

在某个时刻,我想检查文件是否存在并且为空,但是我的代码失败(文件存在并且没有数据):

[[ -s /tmp/tmp_file ]] && echo "not empty" || echo "empty"
not empty

当我检查文件大小时,它显示 1 个字节,尽管文件中没有数据。

如果我用 gedit 打开文件并保存文件,那么它显示 0 字节大小。

为什么会这样?

如何确保在删除内容时不会留下多余的字节?


添加 和 的输出ls -ld,od当文件为“空”(一个字节)时:

ls -ld tmp_file
-rwxr-xr-x 1 root root 1 dic 18 15:43 tmp_file

od tmp_file
0000000 000012
0000001

显示一字节大小的图像:

在此处输入图像描述

在 gedit 中打开的文件的图像:

在此处输入图像描述

bash shell-script
  • 2 个回答
  • 715 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-10-12 14:37:00 +0800 CST

查找命令、-exec tail 和文件浏览器

  • 1

我想使用该find命令并打开文件浏览器(Nemo)并显示结果:

这样做

find . -name "foo*" -exec nemo {} +

它为每个结果打开一个新窗口。因此,如果结果太多,为了避免打开大量的窗口,我想使用命令tail -<number>来限制窗口的数量。

这不起作用:

find . -name "foo*" -exec tail -1 {} \; -exec nemo {} +

既然打开了所有的窗户。

有没有办法让第二个-exec作为参数第一个-exec?还是我误解了什么?

用例:xfce 菜单 > 搜索命令,它将要查找的字符串作为参数:find /my/home/dir -name "*%s*" -exec tail -<x> {} \; -exec nemo {} +. 请注意,如果我(不小心)搜索字符串“a”可能有数百个结果。

find
  • 1 个回答
  • 964 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-09-06 16:12:33 +0800 CST

卸载:目标忙于变量

  • 0

我想检查 USB 是否忙并将结果存储在变量中:

$ foo=$(umount /dev/sdb1)
$ umount: /path/mounted: target is busy.

但是当我想打印时$foo,我得到一个空变量

$ echo $foo
$

我的最终目标是卸载 USB。如果目标正忙,则使用 向用户发出警告whiptail。所以:

$ [[ -z $foo ]] || whiptail --msbox "Cancel the operation that is maintaining your USB busy" 0 0

是否可以将错误存储在target is busy变量上,还是应该使用另一种技术?

shell-script variable
  • 1 个回答
  • 503 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-08-28 13:52:58 +0800 CST

Bash sed 替换双美元符号 $$ 扩展正则表达式

  • 3

这个命令:

echo '$$foo=bar' | sed -E "s/(\$\$foo=).*/\1$(echo hello)/"

输出:

$$foo=bar

如果我将sed' 引号更改为单引号并将命令括在双引号中:

echo '$$foo=bar' | sed -E 's/(\$\$foo=).*/\1'"$(echo hello)"'/'

它输出所需的结果:

$$foo=hello

所以我想问题在于扩展的正则表达式和引号,除非我遗漏了一些明显的东西。

  1. sed在命令替换中连接单引号和双引号是好习惯吗 ( sed 's/foo/'"$(command)"'/')?

  2. 如何sed使用扩展正则表达式转义双美元符号?

regular-expression sed
  • 1 个回答
  • 4675 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-08-10 09:01:00 +0800 CST

使用命令的 Sed 替换模式

  • 2

提出这个问题。

假设我想替换<number with commas>in <number>string something, "10,000", something。

数字可能是1,000, 10,000... 等等。

我正在试验是否可以使用命令进行替换:

echo 'something, "10,000", something' | sed "s/\(\".*\"\)/$(echo \\1 | sed 's/,//')/"

这不起作用,没有任何反应。

触发我的问题是,如果我只使用echo

echo 'something, "10,000", something' | sed "s/\(\".*\"\)/$(echo \\1)/"

参数\\1读取正常,但看起来无法通过管道传输到sed(或grep)。

这在某种程度上可能吗?

sed
  • 2 个回答
  • 693 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-07-06 06:22:00 +0800 CST

Bash 何时将变量用作全局变量

  • 0

假设我有两个功能,foo并且bar:

foo() {
  FOO=foo
}

我可以做这个:

bar() {
  echo $FOO
}

$ bar
$ foo

但我也可以这样做:

bar() {
  echo $1
}

$ bar $FOO
$ foo

和

foo() {
  local foo=foo
  return $foo
}

bar() {
  echo $1
}

$ bar foo
$ foo

如何确定变量的范围,当它可以用于不同的函数、相同的脚本或/和跨不同的脚本时是全局的?

关于如何在 bash 中使用变量管理函数,是否有正确的方法或约定?

bash shell-script
  • 1 个回答
  • 3180 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-06-26 11:05:54 +0800 CST

挂载未知文件系统类型 - Debian

  • 1

在live USB上使用Debian 9.9,并尝试从 de hdd 挂载一个分区

mount -t ext4 /dev/sda1 /mnt

我明白了

mount: unknown filesystem type 'ext4'

嗯,ext4 , ext3 , ext2类型不在/proc/filesystem

我已经安装了e2fslibs。e2fsprogs

debian filesystems
  • 1 个回答
  • 6591 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-06-07 13:51:49 +0800 CST

从脚本中退出 chroot

  • 2

我的脚本创建了一个chroot笼子来将 GRUB 安装到 USB,当然以 sudo 运行:

SYSTEM_DIRS=(etc bin sbin var lib lib64 usr proc sys dev tmp)

boot_partition=/media/user/boot

for dir in ${SYSTEM_DIRS[@]}; do
  mount --bind /$dir ${boot_partition}/${dir}
done

然后在里面执行一些命令chroot:

chroot ${boot_partition}/ touch foo # works fine
...

但是当我想执行命令时exit

chroot ${boot_partition}/ exit

我得到:

chroot: failed to execute the command <<exit>>: No such file or directory

为什么会发生这种情况并且有办法解决它?

bash chroot
  • 2 个回答
  • 5116 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-06-02 07:33:04 +0800 CST

Bash 差异或首选否定声明

  • 5

bash 是否有区别,或者否定语句的首选用法?

if ! [[ -z "${var}" ]]; then
  do_something
fi

相对

if [[ ! -z "${var}" ]]; then
  do_something
fi
bash shell-script
  • 2 个回答
  • 3750 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-05-30 11:09:39 +0800 CST

挂载 ISO 将所有者更改为没人

  • 2

我可以使用命令将所有类型的 ISOS 毫无问题地挂载mount到一个/tmp目录:

sudo mount -o loop my.iso /tmp/my_dir

如果我运行ls -l命令,我会得到

dr-xr-xr-x 1 root root 2048 abr 19 23:16 my_dyr

完美的。

但是我遇到了Hiren's Boot ISO的问题。我可以使用上面的命令挂载它,但是/tmp/my_dir 无法访问!再次运行ls -l我得到

drwx------ 3 nobody  401 2048 nov  7  2012 my_dir

我不能chmod,也不能chown。

我真的不知道这个特定 ISO 有什么特别之处,或者是否是我不知道的某些 ISOS 的功能。也许有人可以启发我。

谢谢。

mount iso
  • 1 个回答
  • 611 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-05-24 14:06:06 +0800 CST

挂载iso -o loop 选择循环设备

  • 0

我有一个 bash 脚本,我将 ISO 挂载到循环设备:

mount -o loop my.iso /tmp/foo

碰巧同时在我的操作系统(Linux Mint 19)中,我安装了一个 ISO 映像,使用此操作的 GUI 选项。

所以我得到了错误

mount: /tmp/foo: /dev/loop0 ya está montado o el punto de montaje está ocupado。

(...loop0 挂载点忙...)

问题:

我可以选择挂载 ISO 的循环吗,例如:

mount - loop3 my.iso /tmp/foo

所以我不需要卸载以前的ISO?

mount iso
  • 1 个回答
  • 1642 Views
Martin Hope
schrodingerscatcuriosity
Asked: 2019-05-16 11:51:04 +0800 CST

在bash中迭代字符串变量的行

  • 5

我有一个脚本,我想在其中使用命令列出 USB 设备lsblk。

命令:

$ lsblk -o NAME,TRAN,VENDOR,MODEL | grep usb

这导致

sdb   usb    Kingston DataTraveler 2.0
sdc   usb    Kingston DT 101 G2 

我想将结果保存在一个变量中以便以后工作,所以我写

$ usbs=$(lsblk -o NAME,TRAN,VENDOR,MODEL | grep usb)

我所期望的是变量usbs将结果存储在上面的两行中。但是如果我运行:

for i in ${usbs[@]}; do
  echo $i
done

我把结果分成几个词:

sdb
usb
Kingston
DataTraveler
2.0
sdc
usb
Kingston
DT
101
G2

问题: 有没有一种方法可以使用该grep命令将命令的结果存储为整行两行?

我更愿意知道是否有一个简单的解决方案,而不是将结果转储到文件中然后读取它。

bash grep
  • 3 个回答
  • 2947 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