标签: coreutils

Linux: ls -l 只打印问号:

我在使用 ls -l 列出某个目录时遇到问题:

$ ls -l ./directory
-????????? ? ? ? ?            ? file001.txt
-????????? ? ? ? ?            ? file002.txt
Run Code Online (Sandbox Code Playgroud)

只是 ls 效果很好:

$ ls ./directory
file001.txt file002.txt
Run Code Online (Sandbox Code Playgroud)

怎么了?

linux ls coreutils

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

`locate` 通配符奇怪的行为 - 为什么?

locate "*.png".png按预期返回所有以 结尾的文件。

locate "test.*"不返回任何内容,但test在我的系统中有命名的文件。

locate "*test"test按预期返回所有以 结尾的文件。

locate "test*"不返回任何内容,但test在我的系统中有以 开头的文件。

为什么通配符似乎只适用于“以”结尾?

linux command-line locate wildcards coreutils

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

“uname”检索到的信息存储在哪里?

*nix 中的 Uname 实用程序可检索有关机器的精彩元信息。这些信息存储在哪里?

linux unix coreutils

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

MSYS2 dd 中的设备名称

这相当于:

dd if=/dev/sda   ...
dd if=/dev/sda1  ...
Run Code Online (Sandbox Code Playgroud)

for coreutilsdd.exe中的MSYS2

Chrysocome语法适用吗?

dd mingw msys coreutils

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

我怎样才能让 ls 跟随像 tail -f 那样对文件执行的目录的内容

我想基本上持续更新目录的文件列表,类似于 tail 处理-f文件上的标志的方式。

有什么合理的方法可以做到这一点吗?

bash command-line ls tail coreutils

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

GNU tar“--restrict”选项实际上限制了什么?

GNU tar 的手册仅指出--restrict

   --restrict
          disable use of some potentially harmful options
Run Code Online (Sandbox Code Playgroud)

谁能详细说明这些“有害”选项是什么?我在文档中找不到它。

gnu tar coreutils

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

GNU env 以什么顺序打印环境变量?

当不带参数调用时,来自 GNU Coreutils的envprintenv命令会打印每个环境变量的值。是什么决定了这些变量的打印顺序?这不是字母顺序,也不是设置变量的顺序。

linux gnu command-line environment-variables coreutils

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

标签 统计

coreutils ×7

linux ×4

command-line ×3

gnu ×2

ls ×2

bash ×1

dd ×1

environment-variables ×1

locate ×1

mingw ×1

msys ×1

tail ×1

tar ×1

unix ×1

wildcards ×1