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

Gabriel Staples's questions

Martin Hope
Gabriel Staples
Asked: 2022-09-13 16:57:35 +0800 CST

Buildroot:syslog-ng 登录到“/var/log/messages.1”文件而不是“/var/log/messages”

  • 1

我正在使用 Buildroot 构建嵌入式 Linux 板(此处为用户手册)。

我已经syslog-ng在板上运行了。它的配置文件在此处的 buildroot 中指定:https://github.com/buildroot/buildroot/blob/master/package/syslog-ng/syslog-ng.conf:

@version: 3.37

source s_sys {
    file("/proc/kmsg" program_override("kernel"));
    unix-stream ("/dev/log");
    internal();
};

destination d_all {
    file("/var/log/messages");
};

log {
    source(s_sys);
    destination(d_all);
};

请注意,它将目标指定为"/var/log/messages",但板上的活动日志记录正在进入一个名为 的文件/var/log/messages.1,并且该/var/log/messages文件甚至不存在。这是为什么?有没有办法/var/log/messages代替登录到文件?

我们过去使用的 Syslog 登录到/var/log/messages,我们正试图保持这种行为以保持一致性。

补充说明

  1. ls -1 /var/log在运行的板上syslog包含以下messages文件:
    messages
    messages.1
    messages.2
    messages.2.gz
    messages.3
    messages.4
    messages.5
    messages.6
    messages.7
    
  2. ls -1 /var/log在运行的板上syslog-ng包含这些messages文件(缺少通知messages):
    messages.1
    messages.2
    messages.3
    messages.4
    messages.5
    messages.6
    messages.7
    
  3. 在syslog-ng板上,tail -f /var/log/messages.1显示它不断接收记录的消息,这是出乎意料的,因为当使用syslog“活动”文件时/var/log/messages。
linux embedded
  • 1 个回答
  • 47 Views
Martin Hope
Gabriel Staples
Asked: 2022-06-18 13:45:04 +0800 CST

当我尝试在嵌入式 Linux 板上使用 netcat 发送 UDP 数据包时,“连接被拒绝”

  • 0

我正在尝试通过 netcat ( nc) 将二进制数据包发送到本地进程,如下所示:

nc -w 1 -u localhost 10000 < my_binary_packet.bin

输出是:

read(net): Connection refused

有谁知道发生了什么?

我得到相同的结果nc -w 1 -u 127.0.0.1 10000 < my_binary_packet.bin

networking embedded
  • 1 个回答
  • 471 Views
Martin Hope
Gabriel Staples
Asked: 2022-05-05 14:14:03 +0800 CST

如何从 git clone 源安装 libcurl(有 configure.ac 但缺少 ./configure)

  • 0

我正在尝试从源代码安装 libcurl,但它缺少configure可执行文件,所以我无法运行./configure. 我如何生成它?

这是我的尝试:

time git clone https://github.com/curl/curl.git
cd curl

./configure
make 
sudo make install

我被困住了,./configure因为 repo 没有这个文件。

我的参考资料:

  1. https://curl.se/docs/install.html
  2. https://github.com/curl/curl

在 GitHub 存储库中,我看到一些看起来可能有用的文件,但我不知道如何处理它们:

configure.ac
curl-config.in

我也试过这个,但它报告了各种错误:

见:https ://earthly.dev/blog/autoconf/

aclocal
autoconf
automake --add-missing
time ./configure --with-openssl --with-gnutls
software-installation curl
  • 2 个回答
  • 50 Views
Martin Hope
Gabriel Staples
Asked: 2022-04-21 16:51:16 +0800 CST

如何将可选参数传递给`time`命令[重复]

  • 2
这个问题在这里已经有了答案:
使 bash 使用外部“时间”命令而不是 shell 内置 5 个答案
6 个月前关闭。

man time表明它有一些选项,像这样,只将time输出写入文件而不是stderr:

-o FILE, --output=FILE

所以,我尝试使用它

$ time -o out.txt ls
-o: command not found

real    0m0.081s
user    0m0.070s
sys 0m0.012s

这不起作用!它说-o: command not found。

证明out.txt不存在:

$ cat out.txt
cat: out.txt: No such file or directory

我究竟做错了什么?

如何使用 with 之类-o somefile.txt的选项time?

我在 Linux Ubuntu 18.04 上,bash用作我的终端。

bash time
  • 1 个回答
  • 277 Views
Martin Hope
Gabriel Staples
Asked: 2022-02-08 08:32:05 +0800 CST

bash:使`du`显示类似于`ncdu`的输出

  • 4

ncdu在 Linux 上,以下是NCurses 磁盘使用工具的一些示例输出:

命令:

ncdu /boot
ncdu 1.14.1 ~ Use the arrow keys to navigate, press ? for help 
--- /boot -----------------------------------------------------
  100.2 MiB [##########]  initrd.img-5.13.0-28-generic         
  100.2 MiB [######### ]  initrd.img-5.13.0-27-generic
   11.2 MiB [#         ]  vmlinuz-5.11.0-46-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-28-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-27-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-25-generic
    8.0 MiB [          ] /grub
    5.7 MiB [          ]  System.map-5.13.0-28-generic
    5.7 MiB [          ]  System.map-5.13.0-27-generic
    5.7 MiB [          ]  System.map-5.13.0-25-generic
    5.6 MiB [          ]  System.map-5.11.0-46-generic
  252.0 KiB [          ]  config-5.13.0-28-generic
  252.0 KiB [          ]  config-5.13.0-27-generic
  252.0 KiB [          ]  config-5.13.0-25-generic
  252.0 KiB [          ]  config-5.11.0-46-generic
  184.0 KiB [          ]  memtest86+_multiboot.bin
  184.0 KiB [          ]  memtest86+.elf
  180.0 KiB [          ]  memtest86+.bin
!  16.0 KiB [          ] /lost+found
!   4.0 KiB [          ] /efi
@   0.0   B [          ]  initrd.img.old
@   0.0   B [          ]  initrd.img
@   0.0   B [          ]  vmlinuz.old
@   0.0   B [          ]  vmlinuz

但是,它是一个人机交互程序,并且输出不可编写脚本。我想将它存储到一个变量中,那么,我怎样才能获得类似的输出du呢?

这是我的问题的后续问题:如何ncdu快速显示磁盘使用情况并退出?

最终用途将如下所示:

output_before="$(du /boot)"
# do a bunch of stuff here which reduces the size of /boot
output_after="$(du /boot)"
echo "Before:"
echo "$output_before"
echo ""
echo "After:"
echo "$output_after"

这是一个开始,但它没有以正确的从大到小的降序显示输出:

du --all --max-depth=1 -h /boot

我最想看到的:

--- /boot -----------------------------------------------------
  100.2 MiB [##########]  initrd.img-5.13.0-28-generic         
  100.2 MiB [######### ]  initrd.img-5.13.0-27-generic
   11.2 MiB [#         ]  vmlinuz-5.11.0-46-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-28-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-27-generic
    9.7 MiB [          ]  vmlinuz-5.13.0-25-generic
    8.0 MiB [          ] /grub
    5.7 MiB [          ]  System.map-5.13.0-28-generic
    5.7 MiB [          ]  System.map-5.13.0-27-generic
    5.7 MiB [          ]  System.map-5.13.0-25-generic
    5.6 MiB [          ]  System.map-5.11.0-46-generic
  252.0 KiB [          ]  config-5.13.0-28-generic
  252.0 KiB [          ]  config-5.13.0-27-generic
  252.0 KiB [          ]  config-5.13.0-25-generic
  252.0 KiB [          ]  config-5.11.0-46-generic
  184.0 KiB [          ]  memtest86+_multiboot.bin
  184.0 KiB [          ]  memtest86+.elf
  180.0 KiB [          ]  memtest86+.bin
   16.0 KiB [          ] /lost+found
    4.0 KiB [          ] /efi
    0.0   B [          ]  initrd.img.old
    0.0   B [          ]  initrd.img
    0.0   B [          ]  vmlinuz.old
    0.0   B [          ]  vmlinuz

但是,可接受的最低答案如下所示:

  100.2 MiB  /boot/initrd.img-5.13.0-28-generic         
  100.2 MiB  /boot/initrd.img-5.13.0-27-generic
   11.2 MiB  /boot/vmlinuz-5.11.0-46-generic
    9.7 MiB  /boot/vmlinuz-5.13.0-28-generic
    9.7 MiB  /boot/vmlinuz-5.13.0-27-generic
    9.7 MiB  /boot/vmlinuz-5.13.0-25-generic
    8.0 MiB  /boot/grub
    5.7 MiB  /boot/System.map-5.13.0-28-generic
    5.7 MiB  /boot/System.map-5.13.0-27-generic
    5.7 MiB  /boot/System.map-5.13.0-25-generic
    5.6 MiB  /boot/System.map-5.11.0-46-generic
  252.0 KiB  /boot/config-5.13.0-28-generic
  252.0 KiB  /boot/config-5.13.0-27-generic
  252.0 KiB  /boot/config-5.13.0-25-generic
  252.0 KiB  /boot/config-5.11.0-46-generic
  184.0 KiB  /boot/memtest86+_multiboot.bin
  184.0 KiB  /boot/memtest86+.elf
  180.0 KiB  /boot/memtest86+.bin
   16.0 KiB  /boot/lost+found
    4.0 KiB  /boot/efi
    0.0   B  /boot/initrd.img.old
    0.0   B  /boot/initrd.img
    0.0   B  /boot/vmlinuz.old
    0.0   B  /boot/vmlinuz
disk-usage ncdu
  • 3 个回答
  • 776 Views
Martin Hope
Gabriel Staples
Asked: 2022-01-15 17:04:18 +0800 CST

如何在 Linux 上获取整体 CPU 使用率(例如 57%)

  • 1

例如,我想知道如何获取系统 CPU 使用率并使用 bash 以百分比表示。

样本输出:

57%

如果有多个内核,最好能计算出平均百分比。

cpu cpu-usage
  • 1 个回答
  • 997 Views
Martin Hope
Gabriel Staples
Asked: 2021-12-03 22:15:54 +0800 CST

如何从 ripgrep 输出的路径列表中单独处理每个路径

  • 1

我在 Linux Ubuntu 18.04 和 20.04 上。

Ripgrep ( rg) 可以输出包含匹配的文件的路径列表,如下所示:

# search only .txt files
rg 'my pattern to match' -g '*.txt' -l
# long form
rg 'my pattern to match' --glob '*.txt' --files-with-matches

输出将是:

path/to/file1.txt
path/to/file2.txt
path/to/file3.txt

等等

然后我想在每个路径上运行另一个命令,例如tree $(dirname $PATH),以获取包含匹配文件的目录中所有文件的列表。我怎样才能做到这一点?

我觉得xargs可能是答案的一部分?但是像这样开始的管道xargs似乎只处理最后打印的文件:

rg 'my pattern to match' -g '*.txt' -l | xargs -0 -I {} dirname {}

注意:如果您也可以演示,grep那么对于没有 的人也可能有用ripgrep,尽管 ripgrep非常易于安装。

参考:

  1. ripgrep:只打印匹配模式的文件名
grep shell
  • 2 个回答
  • 169 Views
Martin Hope
Gabriel Staples
Asked: 2021-11-18 21:59:40 +0800 CST

相当于 Linux 上的 ping -o

  • 2

显然,MacOsping有一个-o选项,意思是“一旦收到第一个成功的响应就返回”或类似的东西。请参阅:https ://stackoverflow.com/a/6119327/4561887 。

Linux Ubuntu上是否有等价物?我们怎样才能最好地达到同样的结果?

我的版本ping utility, iputils-s20161105是ping -V.

更新:我在这里找到了 MacOs 文档:https ://ss64.com/osx/ping.html

-o         Exit successfully after receiving one reply packet.
linux ping
  • 3 个回答
  • 761 Views
Martin Hope
Gabriel Staples
Asked: 2021-11-12 14:28:30 +0800 CST

ssh,启动一个特定的 shell (ash),并在远程机器上获取你的环境

  • 0

这是这个问题的一种后续问题:ssh,启动特定的shell,并在远程机器上运行命令?, 除了更具体地关于ash, 并专注于采购 .bashrc 文件作为在 ssh 会话中启动 shell 的一部分对我不起作用的事实。

我在一个嵌入式 Linux 设备上,它有一个 busybox 版本的shand ash,但没有bash. 我们共享一个共同的用户名 ( root) 和一个共同的执行环境。

但是,我想要一些自定义别名和自定义PS1Prompt String 1 变量。

这是一个普通的 ssh 会话示例。请注意,我sshpass用于将密码传递给ssh,而我的密码存储在~/pw文件中。

你可以看到默认的shell是-sh并且没有别名。默认PS1提示字符串也没有显示路径。

$ sshpass -f ~/pw ssh [email protected]
[root@device]$ echo $0
-sh
[root@device]$ alias
[root@device]$ 

该设备没有bash,但它确实有ash,这显然是类似 bash 的。所以,我想在 ssh 中创建我的 shell。我还想将 Ubuntu 的默认~/.bashrc文件(位于/etc/skel/.bashrc我正在 ssh-ing 的 Ubuntu 机器上)复制到设备,/tmp/.bashrc以便我可以获取它,我想要我的 ssh 命令来做到这一点。我无法复制到~/.bashrc远程设备上,因为主目录是只读的。

我尝试了以下方法,但收到以下错误:

命令:

sshpass -f ~/pw scp /etc/skel/.bashrc [email protected]:/tmp/.bashrc \
&& sshpass -f ~/pw ssh -t [email protected] '. /tmp/.bashrc'

结果:

Connection to 192.168.0.2 closed.

没有建立 ssh 会话。

ash然后我尝试了以下命令,结果如下,表明虽然输入了 shell ,但 source 不起作用。

$ sshpass -f ~/pw scp /etc/skel/.bashrc [email protected]:/tmp/.bashrc \
&& sshpass -f ~/pw ssh -t [email protected] '. /tmp/.bashrc; ash'
~ # echo $0
ash
~ # alias
~ # 

不过我现在可以. /tmp/.bashrc手动运行,而且效果很好。请注意,在有效的采购之后,我有一个改进的提示字符串和新的别名:

~ # . /tmp/.bashrc
ash: /tmp/.bashrc: line 16: shopt: not found
ash: /tmp/.bashrc: line 24: shopt: not found
ash: /tmp/.bashrc: line 111: shopt: not found
root@device:~# alias
l='ls -CF'
alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '"'"'s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'"'"')"'
la='ls -A'
ll='ls -alF'

shopt由于未找到,您还会看到第 16、24 和 111 行的 ash 错误。即使我在发送过来的 .bashrc 文件中将它们注释掉,如上所示的结果仍然相同。

我怎样才能让我的上述命令工作?我希望它可以通过 ssh 进入,将 shell 设置为更像 bash 的东西,然后/tmp/.bashrc获取我的 scp'ed 文件。


在已安装的类似嵌入式设备上,bash此 cmd 运行良好,正如我在我的 repo 中记录的那样:

sshpass -f ~/pw scp /etc/skel/.bashrc [email protected]:/tmp \
&& sshpass -f ~/pw ssh -t [email protected] 'bash --rcfile /tmp/.bashrc'

对于bash,bash --rcfile /tmp/.bashrc在 ssh cmd 末尾使用是我需要的。但是,对于没有 OUT 的设备bash,我需要帮助来获得这种行为ash或类似行为。

bash shell-script
  • 2 个回答
  • 371 Views
Martin Hope
Gabriel Staples
Asked: 2021-11-09 18:07:49 +0800 CST

`ll /proc/self/fd/`(来自`ll /dev/fd`)的输出是什么意思?

  • -1

相关但不重复:

  1. /dev/fd 不一致
  2. /dev/fd 与 /proc/self/fd/ 有何关系?
  3. 为什么进程替换会生成一个名为 /dev/fd/63 的文件,它是一个管道?

在 Ubuntu 中alias ll='ls -alF'定义的Ubuntu 18.04 和 20.04 上,我看到“软盘驱动器”设备~/.bashrc的以下输出:/dev/fd

对于ls:

$ ls /dev/fd
0  1  2  3

对于ll:

$ ll /dev/fd
lrwxrwxrwx 1 root root 13 Nov  5 11:46 /dev/fd -> /proc/self/fd/

我可以看到/dev/fd是一个符号链接/proc/self/fd/,所以我ll看到了:

$ ll /proc/self/fd/
total 0
dr-x------ 2 username username  0 Nov  8 19:01 ./
dr-xr-xr-x 9 username username  0 Nov  8 19:01 ../
lrwx------ 1 username username 64 Nov  8 19:01 0 -> /dev/pts/6
lrwx------ 1 username username 64 Nov  8 19:01 1 -> /dev/pts/6
lrwx------ 1 username username 64 Nov  8 19:01 2 -> /dev/pts/6
lrwx------ 1 username username 64 Nov  8 19:01 3 -> 'socket:[8239772]'
lr-x------ 1 username username 64 Nov  8 19:01 4 -> /proc/29512/fd/
  1. 所有这些东西是什么意思?
  2. 软盘在这里是如何工作的?
  3. 什么是/dev/pts/6, 为什么0,1和2都指向它?
  4. 是什么'socket:[8239772]'?
  5. 是什么/proc/29512/fd/?
  6. 的历史用途和描述是/dev/fd什么?

有关的:

  1. 我之前的问题启发了我提出这个问题:'-sh:语法错误:在使用 `bash` 尝试在嵌入式 Linux 设备上进行进程替换时出现意外的“(”)
proc devices
  • 1 个回答
  • 2890 Views
Martin Hope
Gabriel Staples
Asked: 2021-11-09 16:34:07 +0800 CST

'-sh: 语法错误:在嵌入式 Linux 设备上尝试使用 `bash` 进行进程替换时出现意外的 "("'

  • 0

这使用“进程替换”(<())和“heredoc”(cat << EOF...EOF)打开一个新的 bash 进程,它运行--rcfile包含alias foo="echo hey you. 这是命令:

bash --rcfile <(
cat << EOF
alias foo="echo hey you"
EOF
)

它在 Ubuntu 上运行得很好,你可以在这里看到:

$ bash --rcfile <(
> cat << EOF
> alias foo="echo hey you"
> EOF
> )
$ foo
hey you
$ alias
alias foo='echo hey you'

但是,当我尝试在某些嵌入式 Linux 设备上运行它时,我收到以下错误。为什么?我如何让它也在那里运行?

-sh: syntax error: unexpected "("

完整输出:

$ bash --rcfile <(
-sh: syntax error: unexpected "("
$ cat << EOF
> alias foo="echo hey you"
> EOF
alias foo="echo hey you"
$ )
-sh: syntax error: unexpected ")"

如果这有帮助,这是我在 Ubuntuwhich bash与bash --version嵌入式 Linux 设备上的输出:

# 1. Ubuntu

$ which bash
/bin/bash
$ bash --version
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


# 2. Embedded Linux device

$ which bash
/bin/bash
$ bash --version
GNU bash, version 5.0.16(1)-release (aarch64-buildroot-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

不重复:

这是相关的,但似乎不是重复的:dash 报告 'Syntax error: "(" unexpected' when using process substitution。

有关的:

  1. [我自己的问题] https://stackoverflow.com/questions/69891328/what-is-the-syntax-in-shell-bash-and-how-do-i-search-for-it

给自己的笔记

我的最终目标是在我 ssh 时自动创建一些自定义别名,可能像这样:

ssh -t username@ip_address '/bin/bash --rcfile <(
cat << EOF
alias foo="echo hey you"
EOF
)'

更新:完成!这是我想出的:

# Store your password into a file
echo "my_password" > ~/pw

# Manually add something like this to your ~/.bash_aliases (recommended) or ~/.bashrc file on the PC
# you are ssh-ing FROM:
alias gs_ssh="sshpass -f ~/pw scp /etc/skel/.bashrc [email protected]:/tmp \
&& sshpass -f ~/pw ssh -t -o 'ServerAliveInterval 60' [email protected] 'bash --rcfile /tmp/.bashrc'"

在这里查看我的仓库:https ://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/tree/master/home/.ssh#optional-but-recommended-alias 。

bash shell
  • 2 个回答
  • 307 Views
Martin Hope
Gabriel Staples
Asked: 2021-09-15 14:34:16 +0800 CST

`wget -qO- 中破折号的用途 https://get.speedify.com | 重击-`

  • -1

在这个命令中:

wget -qO- https://get.speedify.com | bash -

来源: https: //support.speedify.com/article/562-install-speedify-linux

...第一个-q是“安静”模式的选项。什么是O-(注意是字母“O”,不是零)部分?为什么是字母O?为什么是尾随-?最后,在bash命令后面还有一个-. 为什么?

更新:现在我知道这是字母 O,而不是零,我从man wget手册页中看到了这一点:

  -O file
  --output-document=file
      The documents will not be written to the appropriate
      files, but all will be concatenated together and written
      to file.  If - is used as file, documents will be
      printed to standard output, disabling link conversion.

所以,和-qO, 一样-q -O,-O设置输出文件,-O-显然是说把文件打印到标准输出。我想知道他们为什么不这样做,-O=-或者-O -虽然......?

不重复:

这个问题回答了我的问题中最小、最不相关和最不重要的部分:命令行选项在选项名称和值之间采用等号吗?. 它没有回答我的问题。

bash wget
  • 1 个回答
  • 116 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