小编417*_*754的帖子

Tmux Ranger 集成:在新窗格中打开文本文件

在这里,我们有一些很棒的工具:tmux、ranger、vim……配置 ranger 以在 tmux 新窗格中打开文件(当文本可编辑时)会很棒吗?这很容易吗?它是如何完成的?

linux vim tmux nano

6
推荐指数
1
解决办法
5593
查看次数

`seq` 和 bash 大括号扩展失败

IINM 我的系统在ing时出现故障bash

for i in {0..10000000}; #   Seven zeroes.
do
    false;
done #   `bash` exited and its `tmux` pane/window was closed.
Run Code Online (Sandbox Code Playgroud)

或者

for i in $(seq 0 10000000); #   Seven zeroes.
do
    false;
done #   `bash` exited and its `tmux` pane/window was closed.
Run Code Online (Sandbox Code Playgroud)

但不是什么时候

for i in {0..1000000}; #   Six zeroes.
do
    false;
done #   Finished correctly.
Run Code Online (Sandbox Code Playgroud)

您能否简要解释一下此行为的内部原理并提示完成任务的解决方法?

bash brace-expansion seq

5
推荐指数
1
解决办法
479
查看次数

你能提供一个使用 `zrun` 的例子吗?

我正在阅读 moreutils 包的手册页,但我不明白zrun.

我的手册页与die.net 的手册页几乎相同:

ZRUN(1)                                                                ZRUN(1)



NAME
       zrun - automatically uncompress arguments to command

SYNOPSIS
       zrun command file.gz [...]

DESCRIPTION
       Prefixing a shell command with "zrun" causes any compressed files that
       are arguments of the command to be transparently uncompressed to temp
       files (not pipes) and the uncompressed files fed to the command.

       This is a quick way to run a command that does not itself support
       compressed files, without manually uncompressing the files.

       The …
Run Code Online (Sandbox Code Playgroud)

command-line

1
推荐指数
1
解决办法
311
查看次数

nbtstat 命令

我正在尝试运行:

$ nbtstat -a 192.168.183.147
bash: nbtstat: command not found
Run Code Online (Sandbox Code Playgroud)

和:

$ sudo nbtstat -a 192.168.183.147
bash: nbtstat: command not found
Run Code Online (Sandbox Code Playgroud)

有谁知道为什么我收到此错误消息?一次!我刚刚安装了 nbtstat 工具。

谢谢

command

0
推荐指数
1
解决办法
1万
查看次数

标签 统计

bash ×1

brace-expansion ×1

command ×1

command-line ×1

linux ×1

nano ×1

seq ×1

tmux ×1

vim ×1