Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

maflynn

macrumors Haswell
Original poster
May 3, 2009
73,682
43,740
I've started playing around with the bash shell that is available in windows 10 anniversary addition.

So far, I was able to easily install fish, and midnight-commander. Its almost like I'm running ubuntu in a window. I'm getting more and more impressed.
 

I7guy

macrumors Nehalem
Nov 30, 2013
35,142
25,212
Gotta be in it to win it
I use Ubuntu. After reading through some information on the internet it seems the Bash shell is fairly restrictive in that it can't run programs with a gui. Can you give some examples of how you would use this feature?
 

lowendlinux

macrumors 603
Sep 24, 2014
5,459
6,786
Germany
I use Ubuntu. After reading through some information on the internet it seems the Bash shell is fairly restrictive in that it can't run programs with a gui. Can you give some examples of how you would use this feature?

SSH to one one my droplets, copy and move files, cron to schedule tasks like backup..

I'm going to have a play with it tonight after what will probably be hours of updates.
 
  • Like
Reactions: I7guy

JoelTheSuperior

macrumors 6502
Feb 10, 2014
406
443
I use Ubuntu. After reading through some information on the internet it seems the Bash shell is fairly restrictive in that it can't run programs with a gui. Can you give some examples of how you would use this feature?
Why would you want to run GUI applications? What killer GUI apps does Linux have that you can't run on Windows?

This is mostly useful for developers, particularly web developers who target Linux-running servers and find the Linux subsystem to be invaluable for testing and development in general. They'll still run Atom or Sublime Text or whatever other text editor / IDE they choose on Windows, just with the Linux subsystem to run their other development tools and test.

With that said, if you are feeling adventurous there's nothing stopping you installing a Windows-friendly X server and using that for GUI-based Linux applications. I got xeyes working at least.
 
  • Like
Reactions: I7guy

maflynn

macrumors Haswell
Original poster
May 3, 2009
73,682
43,740
  • Like
Reactions: JoelTheSuperior

ventmore

macrumors 6502a
Jul 13, 2008
792
343
I'm currently using it for Ruby on Rails development on a surface 3 (with external display) whilst I decide whether to buy a new Mac now or wait a little. Works great.

Also, I'm using the Linux version of Sublime with an X server so as not to potentially corrupt anything. From what I've read, you shouldn't use windows apps to edit files in the Linux file system. Don't know if that extends to my ruby code, but better safe than sorry! :)
 

boast

macrumors 65816
Nov 12, 2007
1,411
868
Phoenix, USA
I finally got it enabled this week.

Was pretty disappointed when I Cisco VPN into work but trying to SSH failed because it doesn't seem to redirect connections through the VPN :(

And also dragging files into the window to get the path doesn't work because the mount points are different.
 

jerryk

macrumors 604
Nov 3, 2011
7,421
4,207
SF Bay Area
I'm currently using it for Ruby on Rails development on a surface 3 (with external display) whilst I decide whether to buy a new Mac now or wait a little. Works great.

Also, I'm using the Linux version of Sublime with an X server so as not to potentially corrupt anything. From what I've read, you shouldn't use windows apps to edit files in the Linux file system. Don't know if that extends to my ruby code, but better safe than sorry! :)


For simple text editing give VS Code a try. Runs on windows, maxos, and linux native apps. And free forever. Very nice code/text editor. Tons of a add-ins for linting and other syntax checking. As much as I hate to admit it, Microsoft does build great coding tools.
 

ventmore

macrumors 6502a
Jul 13, 2008
792
343
For simple text editing give VS Code a try. Runs on windows, maxos, and linux native apps. And free forever. Very nice code/text editor. Tons of a add-ins for linting and other syntax checking. As much as I hate to admit it, Microsoft does build great coding tools.
Thanks for the suggestion. I Tried it a few months ago, and found it to be a perfectly good editor, but I'm very comfortable with sublime for now. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.