In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use the Linux command in Windows". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn how to use the Linux command in Windows.
Using the Linux command in Windows
As an enthusiastic Linux user and promoter, I would like to see more and more people using "real" Linux, but I know that sometimes this is not a priority. If you just want to practice Linux to pass the exam, you can use one of these methods to run the Bash command on Windows.
1. Use Linux Bash Shell on Windows 10
Did you know that you can run Linux distributions in Windows 10? Windows's Linux subsystem (WSL) allows you to run Linux in Windows. The upcoming version of WSL will use the real Linux kernel inside Windows.
This WSL, also known as Bash on Windows, runs as a regular Windows application and provides a Linux distribution in command-line mode. Don't be afraid of command-line mode, because your goal is to run Linux commands. That's all you need.
Ubuntu Linux inside Windows
You can find some popular Linux distributions such as Ubuntu, Kali Linux, openSUSE, etc., in the Windows App Store. You just need to download and install it like any other Windows application. After installation, you can run all the Linux commands you need.
Linux distributions in Windows 10 Store
2. Run the Bash command on Windows using Git Bash
You might know what Git is. It is a version control system developed by Linus Torvalds, the creator of Linux.
Git for Windows is a set of tools that allow you to use Git from the command line and graphical interface. One of the tools included in Git for Windows is Git Bash.
Git Bash provides an emulation layer for the Git command line. In addition to the Git command, Git Bash supports many Bash programs, such as ssh, scp, cat, find, and so on.
Git Bash
In other words, you can use Git Bash to run many common Linux/Bash commands.
You can download and install the Git for Windows tool for free from its website to install Git Bash in Windows.
3. Use Cygwin to use the Linux command in Windows
If you want to run the Linux command in Windows, Cygwin is a recommended tool. Cygwin was founded in 1995 to provide a POSIX-compatible environment that runs natively in Windows. Cygwin is free and open source software maintained by Red Hat employees and many other volunteers.
For two decades, Windows users have used Cygwin to run and practice Linux/Bash commands. More than a decade ago, I even used Cygwin to learn Linux commands.
Cygwin
You can download Cygwin from the official website below. I also suggest you refer to this Cygwin memo to get started.
4. Use Linux in a virtual machine
Another way is to use virtualization software and install Linux in it. In this way, you can install the Linux distribution (with a graphical interface) in Windows and run it like a regular Windows application.
This approach requires your system to have a lot of memory, at least 4GB, but it's better if you have more memory than 8GB. The advantage here is that you can actually use desktop Linux. If you like this interface, you may decide to switch to Linux later.
Ubuntu Running in Virtual Machine Inside Windows
There are two popular tools to create virtual machines on Windows, Oracle VirtualBox and VMware Workstation Player. You can use either of the two. Personally, I prefer VirtualBox.
At this point, I believe you have a deeper understanding of "how to use Linux commands in Windows". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.