Get started with Ubuntu bash in Win10, win10ubuntu
I hope you will understand that my first blog may not be well written!
Today, let's get started with bash in Windows 10. First, this bash is a migration based on the Ubuntu operating system, which facilitates the development and learning of shell commands in Linux. So let's demonstrate how to install bash. First, we need to enable the settings and find the updates and security in it. There is a mode in it called the developer mode. Open this mode and then close the settings, since there is no shortcut to the control panel in win10, we can open the control panel directly by running, press win + R to start running, and press "control" to open the control panel we need, next, click the program, enable or disable the Windows function in sequence. Find the Windows subsystem for Linux, and check the box above to complete the call to the basic Linux environment. Next we will install bash. Press win + R and Enter cmd to open the command prompt and enter bash to start bash installation. Wait for a while and the bash installation is complete. Next, we will get started with this bash.
Wim is the most commonly used editor in Linux. Let's enter vi to open this wim.
We found that vim can still be used to create a file using vi hello.
After pressing a, we found that we could enter the insert mode and found that it was not a decoration. Next, let's try to see if we can save it. we press the ESC key and enter: wq saves and exits the edited items, but where is the file created? Let's enter ls to see it.
Well, find it. It's under our current working directory.
In this way, we can use simple vim, and then look at other ones, such as the commonly used df-h to view the bucket.
I found that the size of the C drive is exactly the same as that of my C drive. Of course, for the most critical thing, GCC has not been successfully installed yet. It may be because of the network. After the installation is successful, continue to release the subsequent trial experience
There are so many simple trial experiences. As I am still learning, there will inevitably be errors. I hope you will criticize and correct me. Thank you.