windows - 在 Windows 安装中标配的最接近 grep 的东西是什么?

标签 windows shell command-line grep

我想在无法安装任何东西的 Windows 机器上执行类似“dsquery * | grep asdf”的操作。有什么想法吗?

谢谢。

最佳答案

findstr :

dsquery * | findstr "asdf"

关于windows - 在 Windows 安装中标配的最接近 grep 的东西是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/864013/

相关文章:

c++ - 安装 C++ 编译器

C++ Win API 函数 'not declared in this scope'

调用异步行为的外部程序的 Java 程序?

command-line - 使用 sed 或 awk 从标签搜索模式并将其插入到下一行

bash - 您最喜欢使用 Bash 的命令行技巧是什么?

linux - 用于调用 bash 命令的文本编辑器模式

c# - WMI 关闭磁盘

python - 如何在 Windows 上将 python 请求与 Putty SOCKS 代理一起使用?

bash - 为什么我的两个相同字符串的 bash 字符串比较总是错误的?

json - 使用shell动态添加json对象中的键值对