Windows includes cmd and powershell by default.
↓
People who are used to using shell scripts such as Linux and MacOS can improve work efficiency by installing Gitbash.
↓
I will explain how to change Windows CLI to Bash by using Power Shell and Chocolate.
↓
I will describe the terminal used this time. Reproducibility may be improved by using the same terminal.
↓
Microsoft Surface Laptop 3 – 13.5
New Microsoft Surface Laptop 3 – 15
NEW Microsoft Surface Pro X – 13
マイクロソフト Surface Laptop 3 13.5インチ
マイクロソフト Surface Laptop 3 15インチ
↓
Visual studio code zip download
↓
Open an internet browser, copy and paste the URL, and download the zip file.
↓
Unzip the downloaded zip file
↓
Double-click Code.exe in the unzipped file to execute
↓
Click on terminal
↓
Click New Terminal
↓
Confirm that it is a power shell
↓
Enter
choco install git
in powershell and enter
↓
Do you want to run ~ enter
y
and Enter
↓
After install, Click Powershell
↓
Click Select Default Shell
↓
Click Git Bash
↓
Close the VS code and reopen it.
↓
Is cheers for good work. The VS code terminal has been changed to Gitbash.
↓
I will explain how to uninstall Git Bash.
Click bash
↓
Click Select Default Shell
↓
Click power shell
↓
Close the VS code and reopen it.
↓
Enter
choco uninstall git
in powershell and Enter
↓
Would you like to uninstall~ enter
y
and Enter
↓
Do you want to run the script?~ enter
y
and Enter
↓
This is the end of the uninstallation procedure.
↓
↑ ↓ | Display command history in order
Ctrl + Shift + c | Copy in command
Ctrl + Shift + v | Paste into command
tab key | Predictive conversion of folders and file names
Ctr (control) + a | cursor at the beginning
Ctr + e | At the end of the cursor
Ctr + b | Move the cursor back one character
Ctr + f | advance cursor one character
Ctr + d | Erase the character at the cursor position
Ctr + h | Erase the character to the left of the cursor position
Ctr + w | Erase the word to the left of the cursor
Ctr + r | Search in command history
↓
ls | Display folder contents in list format
ls -a | Display all files including hidden files
cd [move to] | move directory (folder)
cd .. | Move to the previous layer
cd / | Move to root level
cd ~ | Move to the document root layer
mv [source] [destination] | move file
cp [source] [destination] | copy files and folders
rm [folder name] | delete file
mkdir [folder name] | create a folder
touch [file name] | create file
rmdir | remove folder
cat [filename] | display file contents
find [file name] | List contents of file
diff [old file name] [new file name] | Display differences between files and file contents
grep [Character you want to search] * [File name]
chmod [permission file name] | Change access permissions for files and folders
chown [user name you want to change] [file name you want to change] | Change the owner or group of a file or folder
ln [Link source file name] [Link destination file name / Folder name] | Set a link to a file or folder
less [file name] | Browse text files
more [file name] | Browse files by page
clear | Clean screen without erasing
pwd | display your current position
history | Display command history
↓
adduser [user name] | Create a new user
deluser [user name] | delete a user
groupadd [group name] | Create a new group
groupdel [group name] | Delete group
chfn [user name] | Change user information
↓
free | Display free memory and used memory
last | Display recently logged in user name
finger [user name] | Display user information
↓
route | Display and set routing
ftp | Transfer files by FTP
ssh | Log in with ssh
↓
This completes the setting. I'm glad if you can use it as a reference.
↓
Microsoft Surface Laptop 3 – 13.5
New Microsoft Surface Laptop 3 – 15
NEW Microsoft Surface Pro X – 13
マイクロソフト Surface Laptop 3 13.5インチ
マイクロソフト Surface Laptop 3 15インチ
↓
Thank you I'm glad if you can use it as a reference. Thank you for watching until the end.
お疲れさまでした。参考になれば幸いです。最後までご覧頂きありがとうございました。
↓
windows10 initial app uninstall
Windows 10 Privacy and Security Settings
Windows10 Cortana disable setting
Windows 10 extension display, hidden file display initial setting
Windows 10 hosts privacy setting
↓
Thank you for watching until the end. I'm glad if you can use it as a reference.
↓
We will continue to update useful information. If you don't mind, please donate. If you donate, I'll be happy to jump.