Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to use linux utilities under windows? [closed]

Linux utilities like sed, awk and other shell scripting features are awesome and life becomes a lot harder when I am developing on windows and cant use any of these.

People suggest to use cygwin for those who want the linux like tools under windows. But I feel cygwin will be an overkill for someone who only wants to use the handful commands.

Some say that Windows Services for Unix can also be a good alternative.

I have used none of these. Can some experienced programmer suggest best/simplest way to do this? of course apart from switching to linux itself.

like image 555
Eastern Monk Avatar asked Aug 19 '10 07:08

Eastern Monk


People also ask

How do I run a Linux command in Windows PowerShell?

Run Linux tools from a Windows command line Run Linux binaries from the Windows Command Prompt (CMD) or PowerShell using wsl <command> (or wsl.exe <command> ). Binaries invoked in this way: Use the same working directory as the current CMD or PowerShell prompt. Run as the WSL default user.

How do I open a command prompt window in Linux?

Open Command Prompt Through the Start Menu Folder Another way to open Command Prompt in Windows 10 is to look in its Start menu folder: Select the Start button. Select the Windows System folder from the list. Choose Command Prompt from the folder group.


1 Answers

I think the GnuWin32 project is exactly what you're looking for. Unix command line tools ported to Windows.

like image 112
Mizipzor Avatar answered Oct 30 '22 21:10

Mizipzor