请确定这是为了做什么 [英] Please identify what this is intended to do
本文介绍了请确定这是为了做什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
58..62 | %{nslookup 192.168.1。$ _}
我很困惑两个连续的时期代表什么。我理解管道和nslookup命令,但不了解其余部分。
谢谢。
什么我试过了:
58..62 | %{nslookup 192.168.1。$ _}
我很困惑两个连续的时期代表什么。我理解管道和nslookup命令,但不了解其余部分。
谢谢。
58..62 | % { nslookup 192.168.1."$_"}
I'm confused as to what the two successive periods represent. I understand the pipe and nslookup command but not the rest.
Thanks.
What I have tried:
58..62 | % { nslookup 192.168.1."$_"}
I'm confused as to what the two successive periods represent. I understand the pipe and nslookup command but not the rest.
Thanks.
推荐答案
_}
我对两个连续时期所代表的内容感到困惑。我理解管道和nslookup命令但不了解其余部分。
谢谢。
我尝试过:
58..62 |%{nslookup 192.168.1。
_"}
I'm confused as to what the two successive periods represent. I understand the pipe and nslookup command but not the rest.
Thanks.
What I have tried:
58..62 | % { nslookup 192.168.1."
_}
我很困惑至于两个连续的时期代表什么。我理解管道和nslookup命令,但不了解其余部分。
谢谢。
_"}
I'm confused as to what the two successive periods represent. I understand the pipe and nslookup command but not the rest.
Thanks.
所以,这似乎不是有效的bash代码,以58..62开头是无效的,因为它不是命令或快捷方式......但如果它是伪代码,我猜它正试图运行nslookup在一系列IP地址上。
这会让你的代码似乎试图做同样的事情:
So, that doesn't appear to be valid bash code, starting a line with "58..62" is invalid, as it's not a command or shortcut... but if it's pseudo-code I'd guess it's attempting to run nslookup on a range of IP addresses.
This gets you the same thing that your code appears to be attempting to do:
#!/bin/bash
for i in {58..62}; do nslookup 192.168.1.
这篇关于请确定这是为了做什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文