<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Coreutils on 魔都水滴</title>
		<link>https://blog.margrop.net/tag/coreutils/</link>
		<description>Recent content in Coreutils on 魔都水滴</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Sat, 27 Jun 2026 08:00:00 +0800</lastBuildDate>
		
			<atom:link href="https://blog.margrop.net/tag/coreutils/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Windows 终于有了原生 Linux 命令：微软 coreutils 让你告别 WSL、Cygwin 和 Git Bash</title>
				<link>https://blog.margrop.net/post/windows-native-linux-commands-microsoft-coreutils/</link>
				<pubDate>Sat, 27 Jun 2026 08:00:00 +0800</pubDate>
				<guid>https://blog.margrop.net/post/windows-native-linux-commands-microsoft-coreutils/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;先问一个问题：&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;你有没有过这种体验——在 Windows 终端里想用 &lt;code&gt;grep&lt;/code&gt; 过滤一下日志，结果 PowerShell 告诉你 &lt;code&gt;grep&lt;/code&gt; 不是内部命令；想用 &lt;code&gt;find&lt;/code&gt; 批量查找文件，结果 Windows 的 &lt;code&gt;find&lt;/code&gt; 和 Linux 的 &lt;code&gt;find&lt;/code&gt; 完全是两个东西；写了个跨平台脚本，到了 Windows 上就得全部重写？&lt;/p&gt;&#xA;&lt;p&gt;这不是你的问题，这是 Windows 和 Linux 命令行之间那道&amp;quot;柏林墙&amp;quot;的问题。&lt;/p&gt;&#xA;&lt;p&gt;好消息是，微软自己动手拆墙了。2025 年底，微软在 GitHub 上开源了 &lt;strong&gt;coreutils&lt;/strong&gt; 项目——一个原生 Windows 版本的 Linux 核心命令集。不需要 WSL，不需要 Cygwin，不需要 Git Bash，一条 &lt;code&gt;winget install&lt;/code&gt; 就能让你的 Windows 终端直接听懂 &lt;code&gt;ls&lt;/code&gt;、&lt;code&gt;grep&lt;/code&gt;、&lt;code&gt;sed&lt;/code&gt;、&lt;code&gt;awk&lt;/code&gt;。&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
	</channel>
</rss>
