相关疑难解决方法(0)

Shell 命令查看 HTTP 标头

是否有 shell 命令可以查看 HTTP 请求的标头?

例如,我想知道从中检索的标头www.example.com/test.php是什么

我怎样才能做到这一点?

linux shell http-headers

40
推荐指数
5
解决办法
7万
查看次数

文件对于 /dev/null 来说太大了

在测试有问题的 LUN 的读取错误时,我遇到了以下问题:

find /mnt/problem_lun/ -type f -print -exec dd if={} of=/dev/null bs=8k \;
...
/mnt/problem_lun/a_file
dd: writing `/dev/null': File too large
33619977+0 records in
33619976+0 records out
275414843392 bytes (275 GB) copied, 804.171 s, 342 MB/s
Run Code Online (Sandbox Code Playgroud)

IBM 硬件,RHEL 6.6

谁是罪魁祸首,前提是可以读取此特定文件而不会出现任何错误?

linux find dd

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

标签 统计

linux ×2

dd ×1

find ×1

http-headers ×1

shell ×1