Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Windows terminal + wsl is good, but I think the native terminal in MacOS is still much better to use. In the Win 11 beta the ease of use is pretty similar, but the unix terminal is just better integrated into MacOS. Probably my favourite terminal command is `open` which on MacOS lets me open any file in the associated application. I haven't found the same for WSL yet.


`<filename>` from Windows, or `explorer.exe <filename>` from WSL. As simple as that.


Hah, I was kinda hoping someone would know a trick I just hadn't found yet! Thanks for this. I set an alias so `open='explorer.exe'` which saves me some typing and muscle memory.


If you use powershell

  ii filename




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: