【问题标题】:why htpasswd from apache2-utils output redirect failed为什么来自 apache2-utils 输出重定向的 htpasswd 失败
【发布时间】:2020-03-04 13:51:52
【问题描述】:

当我尝试将 htpasswd 的输出重定向并输入到管道文件时,提示消息总是在不重定向的情况下打印。我尝试了很多方法,都失败了。有人帮忙吗?

mkfifo 管道

  1. htpasswd -m aaa 测试 &> 管道
  2. htpasswd -m aaa test 2>&1 >管道
  3. htpasswd -m aaa test 2>管道

总是提示地面打印。欢迎任何建议:)

【问题讨论】:

    标签: linux redirect pipe .htpasswd


    【解决方案1】:

    请关闭这个问题,因为我使用 purl shell 脚本。 htpasswd 可用作静音模式: htpasswd -b 就这些。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-06
      • 1970-01-01
      • 2016-07-08
      • 1970-01-01
      • 1970-01-01
      • 2014-10-19
      • 1970-01-01
      相关资源
      最近更新 更多