首页 > 解决方案 > 将 Linux grep 命令转换为 windows

问题描述

我想获得帮助将此搜索字符串转换为 Windows 命令:

grep taapAccessTokenTrustedAudiences * | grep -v 凭据 | grep -v 应用程序-cloud.yml

标签: linuxgrepfindstr

解决方案



你应该用 这个命令grep替换findstr和:-v/V

grep taapAccessTokenTrustedAudiences * | grep -v credentials | grep -v application-cloud.yml

在windows中会这样:

findstr "taapAccessTokenTrustedAudiences" * | findstr /V "credentials" | findstr /V "application-cloud.yml"

推荐阅读