Some quick tips on using Bash in Windows 10, based on my own experience.
First I followed the guide at HowToGeek to install Windows Subsystem on Linux (WSL). I picked the Ubuntu distro to install as I'm more familiar with apt-get.
After that, launch Ubuntu. It's only the shell, no GUI. That's fine for my usage though, I'm using it to batch rename files with regex, and command line programs to process audio for my Japanese learning.
Next I installed packages I needed. But you'll probably see error saying package not found.
The solution: (thanks to a post at SuperUser)
sudo apt update
Then only sudo apt-get install <package>
First I followed the guide at HowToGeek to install Windows Subsystem on Linux (WSL). I picked the Ubuntu distro to install as I'm more familiar with apt-get.
After that, launch Ubuntu. It's only the shell, no GUI. That's fine for my usage though, I'm using it to batch rename files with regex, and command line programs to process audio for my Japanese learning.
Next I installed packages I needed. But you'll probably see error saying package not found.
The solution: (thanks to a post at SuperUser)
sudo apt update
Then only sudo apt-get install <package>
Packages I use when I process files for Japanese learning:
rename
sox
libsox-fmt-mp3
ffmpeg
I also bumped into an annoying detail when using the Bash shell: the blue is too hard to read! Whoever thought of the default dark blue on black is not thinking about readability at all -_-
The solution: change to a lighter blue. Thank goodness for this post on SuperUser, I changed the color to a lighter blue so I can actually read the text.
Some additional random tips:
1. Launching a bash shell:
either run the Ubuntu
or
at Windows Explorer, type in "bash"
- you'll need to do the blue color change again
2. To go to a path
Replace C:\ disk with /mnt/c
Replace \with /
Or just open Bash shell in Windows Explorer (my preferred method)
Comments
Post a Comment