"Programmer under Windows, you really need to learn Linux"
Manual: Linux Command Manual (Troy version 2.0)
Link: Https://pan.baidu.com/s/1skrVSvV Password: tmf2
A bash manual is included:
Shell Programming Manual. CHM
Baidu Network disk: Http://pan.baidu.com/s/1dFI1UOL
-----------------------------cut----------------------------------------------.
Aside
Not to mention the power and merits of bash. We go directly to the Climax section.
WIN10 14316 Internal preview version.
Later versions of this version of WIN10 support the hosting of Ubuntu Linux in a Windows system, running the current Windows system as a subsystem for this Linux.
The equivalent of running two systems ....
Use native Linux bash tools to manage Windows files (not for interacting with the win program). Run bash under the command line to run support for the SH script.
Reference: Http://www.linuxidc.com/Linux/2016-04/130016.htm?mType=Group
Download and install the Linux system from the store.
Basic steps:
After the reboot is complete, enter the command-line program, the exciting moment is coming, the command line bash, will prompt you whether to continue, choose Yes, the system will install Ubuntu file system waiting to complete, the system will switch to your familiar Linux bash mode, try your familiar with the LS and other commands.
Note: The installation process is slightly slower ... The wall is too high to prevent you from knowing. Just be patient and wait ........
You can then go to the command line to bash the operation.
Here is my demonstration:
Remember: Enable bash mode to mount Windows as a subsystem of Linux on a Linux system.
All Windows files are mounted to the Linux/mnt/below the drive letter. If the C drive corresponds to a/mnt/c
Demo SH script:
1 #! /bin/bash2 cd/mnt/D3echo'ind'4 mkdir aaaaaaaa 5 Echo ' Success!!!!!!!!!! '
Execute command: bash/mnt/d/sh/a.sh
Report:
Install the Ubuntu subsystem installation file path:
%localappdata%\lxss
%localappdata%\lxss\rootfs
Enter the above command in the start-to-run to enter the corresponding installation directory!
"Late-night Rush, WIN10 Linux subsystem bash"