What does it mean to pipe from the Net Start command to the Find command?

☆樱花仙子☆ 提交于 2021-01-28 05:30:40

问题


An example of this is:

NET START | FIND "MSSQLSERVER" > nul

回答1:


I don't think this command line does make a lot of sense, but any way:

NET START lists all running services, the output of this command is sent to the FIND tool, which searches for the string "MSSQLSERVER" in the input it has been given. If any line of the input matches the search condition find prints these lines an the screen, unless in a case like this, where the input is send to the null device. This is the part : > nul.



来源:https://stackoverflow.com/questions/10849838/what-does-it-mean-to-pipe-from-the-net-start-command-to-the-find-command

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!