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.
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.
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.
I think the GnuWin32 project is exactly what you're looking for. Unix command line tools ported to Windows.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With