linux - 将 Linux grep 命令转换为 windows
问题描述
我想获得帮助将此搜索字符串转换为 Windows 命令:
grep taapAccessTokenTrustedAudiences * | grep -v 凭据 | grep -v 应用程序-cloud.yml
解决方案
嗨
你应该用
这个命令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"
推荐阅读
- future - 取消异步未来是否有用?
- angular - 如何检查是否从订阅()中调用了服务方法
- c# - 为类及其后代的所有属性添加属性
- java - “简单”If 语句在一小段代码中不起作用 [初学者] [Java]
- python - auto-py-exe - 无法转换 (.py) 脚本 - “一个二进制文件添加了两个内部名称”
- javascript - POST 后使用 Vue.js 解码 href URL 链接和重定向页面
- javascript - webpack 块和 vue.js 组件的浏览器缓存问题
- python - 关于 ipython 需要一个缩进块
- r - 寻求有关处理可变长度文本文件的建议
- shell - 用于递归查找和列出最大文件的 Shell 脚本,要求确认删除它们,如果确认,则删除它们