1

I was just curious if there are any tools out there that would allow me to practice shell scripting without dual booting my computer to half windows and half UNIX. I've heard of Cygwin but is that truly UNIX ?

Amber Roxanna
  • 1,665
  • 4
  • 24
  • 30

4 Answers4

2

Install Cygwin or install a Linux system under a virtual machine with emulators like VirtualBox.

Cygwin is not completely UNIX but it would be enough with not-too-system related scripting. There are differences though compared to a true UNIX system e.g. process managing wouldn't really work well. /proc too I think doesn't work as expected.

konsolebox
  • 72,135
  • 12
  • 99
  • 105
  • So you're saying that in order to get the complete UNIX experience, a VirtualBox environment triumphs over Cygwin ? – Amber Roxanna Aug 24 '13 at 19:19
  • @AmberRoxanna It certainly does as Cygwin could only try to imitate as much as it could under Windows which has a different concept over unices. – konsolebox Aug 24 '13 at 19:35
2

Cygwin is okay, but keep in mind that if you want to learn about UNIX, Cygwin won't help with learning about the Linux filesystem, which is important.

PanderZel
  • 23
  • 3
1

You could also have a look at How to develop in Linux-Like Shell (bash) on Windows?, maybe there are some helpful answers.

Personally, I think a Linux VM is your best option. Cygwin is a UNIX-like environment on top of Windows, it's not a UNIX emulator.

Community
  • 1
  • 1
Mario Lenz
  • 634
  • 3
  • 8
0

I generally install git with Windows installer. Not only it comes with bash (look for "git bash" in Start menu), it also comes with git (duh) and ssh.

Obviously that's not "truly unix", for that install Virtualbox and in it FreeBSD or some other *BSD (they are officially "unix", unlike Linux which is "just" unix-like).

hyde
  • 60,639
  • 21
  • 115
  • 176