Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Microsoft Releases Coreutils for Windows, Bringing Native Linux Commands to the OS

Дата публикации: 04-06-2026 08:02:11

Microsoft announced the release of Coreutils for Windows at its Build 2026 developer conference, adding many popular Linux command-line utilities as native appl
Thank you for being a Ghacks reader. The post Microsoft Releases Coreutils for Windows, Bringing Native Linux Commands to the OS appeared first on gHacks.


Основное содержимое страницы с новостью.

Microsoft announced the release of Coreutils for Windows at its Build 2026 developer conference, adding many popular Linux command-line utilities as native applications for Windows.

The project builds on the open-source uutils project, which is a cross-platform rewrite of GNU coreutils written in Rust. Its goal is to enable developers to switch between Linux, macOS, Windows, and WSL without needing to change their command-line workflows.

The project is available on GitHub as a package maintained by Microsoft that combines uutils, coreutils, findutils, and a GNU-compatible grep implementation into a single binary.

How to Install Coreutils and How the Single Binary Works

Coreutils for Windows offers many command-line tools familiar to Linux users, such as cat, cp, find, grep, hostname, ls, mv, pwd, rm, sleep, tee, and uptime. Its purpose is to enable existing scripts and tools to run smoothly on Windows without needing any modifications.

The package can be installed through WinGet with the following command:

winget install Microsoft.Coreutils

Instead of creating a separate executable for each program, Microsoft developed a single coreutils.exe that contains all the functionality.

During installation, the setup creates NTFS hardlinks for each supported command, such as ls.exe, cp.exe, cat.exe, and rm.exe, all pointing to coreutils.exe located in C:\Program Files\coreutils.

When a user runs one of these commands, Windows loads coreutils.exe, which then determines which utility to run based on the command name used.

This approach allows Microsoft to maintain a single executable while still offering individual Linux-style commands. When running commands, it’s common to see dozens of command names referencing the same file.

Shell Conflicts and Compatibility

Many Linux command names clash with those used in Command Prompt and PowerShell. Microsoft has published a compatibility table that explains how each utility behaves across various Windows shells.

Commands like ls, cat, cp, mv, rm, pwd, sleep, and tee are included in the table, but whether the Coreutils version is usable depends on the shell being used, the order of directories in the system PATH, and the PowerShell alias table.

Some commands such as dir, more, paste, and whoami are not included because they conflict with existing Windows commands.

What’s Not Included in Coreutils for Windows, and Why

Microsoft has not released several Unix utilities that rely on POSIX features not available on Windows. These include commands such as chmod, chown, chroot, nohup, tty, and who.

The kill and timeout commands also have not been made available, as Windows does not support POSIX signals. Microsoft has indicated that support for signals may be possible in the future.

The company cautions that there may be behavioral differences between the Linux and Windows versions of these commands. Such differences could be due to variations in line feeds, file permissions, and POSIX support.

Coreutils for Windows is part of Microsoft's broader effort to make Windows more appealing to developers. At Build 2026, the company announced WSL containers, which will allow users to create, run, and manage Linux containers on Windows using native command-line tools and APIs.

Coreutils for Windows is now available through WinGet and on GitHub as an open-source project maintained by Microsoft.

Add Ghacks as a preferred source on Google

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Microsoft Confirms Windows 11 26H2 as Enablement Package With Support Through October 202809.1121-06-2026
2Windows 11 Version 26H2 Restores Movable Taskbar and Adds Start Menu Section Toggles and Search Controls06.7427-07-2026
3Microsoft Extends Free Windows 10 Extended Security Updates Through October 202708.6326-06-2026
4Microsoft Releases Windows 11 Insider Builds With Unlimited Update Pause Extension and New 26H1 Branch07.8609-06-2026
5Microsoft Confirms Windows 11 Memory Optimization for 8GB PCs Among Four New Focus Areas06.4501-08-2026
6Microsoft Releases Windows 11 KB5101684 Preview Update With 42 Fixes014.4430-07-2026
7Leaked Video Reveals Microsoft Project Aion, an Internal Prototype OS Built Around Copilot0703-07-2026
8Windows 11 Version 26H2 Ships as an Enablement Package With No New Features Over 25H206.8820-07-2026
9Microsoft July 2026 Patch Tuesday Fixes Record 570 Flaws Including Three Zero-Days013.2915-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 6.77. Источник: www.ghacks.net.