I have Windows Subsystem for Linux, but I don't know which version I have, and many things won't work in version 1. How do I check my version?
I am running Ubuntu 18.04, as a Subsystem for Windows. I have done this in mutliple PCs and never had this problem. I try to to git clone <repo>
, and I get this:
Cloning into '<repo>'...
error: chmod on /mnt/c/Users/Efsta/Code/<repo>/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
I tried the following:
❯ git config core.fileMode false
, with this resultfatal: not in a git directory
❯ git config --global core.filemode false
❯ git config --add --global core.filemode false
Nothing seems to work. I already tried a couple of answers here, but WSL seems a little bit more tricky. Anyone have any idea about how to solve this?
I have also tried everything in this question : https://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes, nothing seems to work.
I've just lost my phone. I know it's here in my house cause I used it last night and my bluetooth speakers will connect to it this morning.
How can I text my phone using bash? Then the phone notification will sound and I can find my phone.
Note: I asked for a bash solution because it's simpler than installing and configuring a GUI. Also I am more comfortable working in bash than python, HTML, or java, etc. Finally a bash solution works in Windows 10 when you use the Windows Subsystem for Linux (WSL).
Note 2: Reply to comments:
- I don't have a landline so I can't simply call my smartphone.
- It was 6 am on Sunday morning when I lost my phone. People I could email to call my phone were sleeping. I was unsure of the battery charge level and if it died, I could never text it.
- A few weeks previously I had turned off email sound notifications on my smartphone so I couldn't email myself.
- I don't have
skype
or any VOIP service providers
After 30 minutes I did find the smartphone by texting it using the answer I posted below. It was hidden underneath 4" high-from-floor furniture shelf in the living-room...
What are the differences between Windows Bash and Cygwin?
The new update from Windows with "Linux" Bash is new, but what differences are there to Cygwin that might make you choose one over the other?
I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive?