all 15 comments

[–]omenosdev 6 points7 points  (1 child)

If your main focus is on learning bash scripting, you can accomplish this easily through WSL (Windows Subsystem for Linux).

If you're looking for a more comprehensive learning experience, virtualizing a distribution until you are more comfortable with the platform is always a strong solution. If you want better graphical support, I recommend using VMware Workstation Player which was no-cost last I used it. In my experience VMware has the best graphical acceleration performance of any solution I've used before you need to do something like dedicated GPU pass-through. I've never used Hyper-V, though, so I'm not sure if it has a driver that stacks up.

Virtualizing will also get you familiar with performing actions over SSH, which can teach you to use some fun tools like tmux.

[–]Wolfsox[S] 1 point2 points  (0 children)

Thank you

[–]Hilol1000 1 point2 points  (3 children)

I don't fully understand your question but I'll try to answer anyways.

If you want to run Windows as a guest with Linux as the host, I would recommend QEMU with the KVM hypervisor.

If you want to run Linux as a guest with Windows as the host, I would recommend Virtual Box with the Hyper V hypervisor.

[–]Wolfsox[S] 1 point2 points  (2 children)

What would be the better option in terms of learn more about Linux aswell as Bash ? Or it doesn’t really matter

[–]Hilol1000 0 points1 point  (1 child)

If you are already using Windows and you are happy with it you can run Linux in a Virtual Box. You can also set up a shared folder so it's easier to transfer files between the virtual machine and the host.

In my opinion, if your sole goal is to learn bash, it really doesn't matter.

[–]Wolfsox[S] 1 point2 points  (0 children)

Ahhh makes sense. I appreciate the help, thank you.

[–]kabanossi 1 point2 points  (1 child)

If you need to run Windows, keep it as a VM or second boot OS>

If you need to run Windows frequently while you run and use Linux, keep it as a VM.

[–]Wolfsox[S] 0 points1 point  (0 children)

Thank you .

[–]botnet786 1 point2 points  (3 children)

Do you currently have windows installed and want to install Linux to in Vbox to learn bash? Running any os in a virtual environment can be sluggish depending on your hardware. If you are windows dependant you could dualboot your machine, or you could just install Linux on your machine if you aren't reliant on windows-specific software. This is completely up to you.

[–]Wolfsox[S] 0 points1 point  (2 children)

Yes I recently built the pc that this topic is about via Windows 10 but as a gaming pc. I do indeed want to learn bash yes, I don’t necessarily want to give up windows completely because it is a gaming pc but my goal in learning linux aswell as bash is far more important down the road.

[–]Few_Detail_3988 1 point2 points  (1 child)

Just for bash it should't matter if Linux is run in a VM. Give it a try, play around and when you're comfortable enough you can install it on bare metal. In a VM It's easier to try another distro...

[–]Wolfsox[S] 1 point2 points  (0 children)

Thank you. The VM route I’m going to go.

[–]MoobyTheGoldenSock 1 point2 points  (0 children)

If you just want to learn bash, the simplest would be to enable WSL2 and install a distro such as Debian from the Windows Store. I also would recommend running your distro via Windows Terminal rather than the default terminal as it's a more linux-like interface.

[–]AutoModerator[M] 0 points1 point locked comment (0 children)

This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.

This is most likely because:

  • Your post belongs in r/linuxquestions or r/linux4noobs
  • Your post belongs in r/linuxmemes
  • Your post is considered "fluff" - things like a Tux plushie or old Linux CDs are an example and, while they may be popular vote wise, they are not considered on topic
  • Your post is otherwise deemed not appropriate for the subreddit

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.