<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>windows &#8211; Lhy&#039;s blog</title>
	<atom:link href="https://blog.lhyshome.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.lhyshome.com</link>
	<description>welcome</description>
	<lastBuildDate>Tue, 17 Mar 2026 10:23:45 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">219834889</site>	<item>
		<title>系统代理排除内网ip</title>
		<link>https://blog.lhyshome.com/2025/06/11/301/</link>
					<comments>https://blog.lhyshome.com/2025/06/11/301/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Wed, 11 Jun 2025 01:39:41 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[脚本]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[常用命令]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=301</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code"><code>localhost;127.<em>;10.</em>;172.16.<em>;172.17.</em>;172.18.<em>;172.19.</em>;172.20.<em>;172.21.</em>;172.22.<em>;172.23.</em>;172.24.<em>;172.25.</em>;172.26.<em>;172.27.</em>;172.28.<em>;172.29.</em>;172.30.<em>;172.31.</em>;192.168.*</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2025/06/11/301/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">301</post-id>	</item>
		<item>
		<title>windows系统 bat开机执行路径</title>
		<link>https://blog.lhyshome.com/2025/04/27/296/</link>
					<comments>https://blog.lhyshome.com/2025/04/27/296/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Sun, 27 Apr 2025 07:30:27 +0000</pubDate>
				<category><![CDATA[小技巧]]></category>
		<category><![CDATA[脚本]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=296</guid>

					<description><![CDATA[C:\Users\Administrator\AppData\Roaming\Microsoft\Window… <span class="read-more"><a href="https://blog.lhyshome.com/2025/04/27/296/">Read More &#187;</a></span>]]></description>
										<content:encoded><![CDATA[
<p>C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2025/04/27/296/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">296</post-id>	</item>
		<item>
		<title>查看指定位置多日志文件，根据关键字符检索</title>
		<link>https://blog.lhyshome.com/2025/04/02/287/</link>
					<comments>https://blog.lhyshome.com/2025/04/02/287/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Wed, 02 Apr 2025 06:14:44 +0000</pubDate>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=287</guid>

					<description><![CDATA[windows 在powershell中查看 D:\tmp\txtSplit下所有.txt格式文件中，“htt… <span class="read-more"><a href="https://blog.lhyshome.com/2025/04/02/287/">Read More &#187;</a></span>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">windows</h2>



<p><strong>在powershell中查看 D:\tmp\txtSplit下所有.txt格式文件中，“httpClientResult&#8211;nat result,”这个字符的相关信息，<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">输出在命令行中</mark></strong></p>



<pre class="wp-block-code"><code>Get-ChildItem "D:\tmp\txtSplit\**.txt" | Select-String "httpClientResult--nat result," | ForEach-Object {
Write-Host "文件: $($_.Path)"
Write-Host "行号: $($_.LineNumber)"
Write-Host "内容: $($_.Line)"
Write-Host "-----------------------"
}</code></pre>



<p><strong>在powershell中查看 D:\tmp\txtSplit下所有.txt格式文件中，“httpClientResult&#8211;nat result,”这个字符的相关信息，<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">输出在指定文件中</mark></strong></p>



<pre class="wp-block-code"><code>Get-ChildItem "D:\tmp\resource_collect*.log" |
Select-String "pool-23-thread-2" |
ForEach-Object {
"文件: $($_.Path)"
"行号: $($_.LineNumber)"
"内容: $($_.Line)"
"-----------------------"
} |
Out-File -FilePath "D:\tmp\monitor_collect_output.txt" -Encoding UTF8</code></pre>



<h2 class="wp-block-heading">Linux</h2>



<pre class="wp-block-code"><code>grep -rn 'ResourceFlavorStatistics.batchSave.resourceStatisticList.all:' ./</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2025/04/02/287/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">287</post-id>	</item>
		<item>
		<title>内网环境，windows文件目录挂载到linux下</title>
		<link>https://blog.lhyshome.com/2024/05/13/59/</link>
					<comments>https://blog.lhyshome.com/2024/05/13/59/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Mon, 13 May 2024 03:00:40 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[脚本]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=59</guid>

					<description><![CDATA[前提条件：windows和linux在同一内网下；或者windows共享目录暴露在公网下，且linux可以访问… <span class="read-more"><a href="https://blog.lhyshome.com/2024/05/13/59/">Read More &#187;</a></span>]]></description>
										<content:encoded><![CDATA[
<p>前提条件：windows和linux在同一内网下；或者windows共享目录暴露在公网下，且linux可以访问的到</p>



<p>windows文件目录开启共享，如下图，将Downloads目录共享</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="423" height="617" src="https://blog.lhyshome.com/wp-content/uploads/2024/05/image-16.png" alt="" class="wp-image-135" srcset="https://blog.lhyshome.com/wp-content/uploads/2024/05/image-16.png 423w, https://blog.lhyshome.com/wp-content/uploads/2024/05/image-16-206x300.png 206w" sizes="(max-width: 423px) 100vw, 423px" /></figure>



<p>开启共享后出现图1的网络路径 \WIN-7KODCUEMM31\Downloads</p>



<p>在需要挂载的linux服务器上输入如下命令，此处注意 WIN-7KODCUEMM31这个为服务器别名，命令行里需要转成对应网络ip</p>



<pre class="wp-block-code"><code> mount -t cifs -o username={user} //192.168.0.1/Downloads /mnt/Downloads</code></pre>



<p>命令行执行成功后 查看linux下mnt目录，就可以看到windows下对应目录文件及文件夹</p>



<p>删除挂载：</p>



<pre class="wp-block-code"><code>umount /mnt/Downloads</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2024/05/13/59/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">59</post-id>	</item>
	</channel>
</rss>
