Posts

Showing posts with the label Git Bash

Adding Git-Bash To The New Windows Terminal

Image
Answer : Overview Open settings with ctrl + , You'll want to append one of the profiles options below (depending on what version of git you have installed) to the "list": portion of the settings.json file { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{00000000-0000-0000-ba54-000000000001}", "profiles": { "defaults": { // Put settings here that you want to apply to all profiles }, "list": [ <put one of the configuration below right here> ] } } Profile options Uncomment correct paths for commandline and icon if you are using: Git for Windows in %PROGRAMFILE% Git for Windows in %USERPROFILE% If you're using scoop { "guid": "{00000000-0000-0000-ba54-000000000002}", "commandline": "%PROGRAMFILES%/git/usr/bin/bash.ex...

Bash: Python3: Command Not Found (Windows, Discord.py)

Answer : In the python installed( "c:\\Installationpath\Python3.6.0" ) path you will find "python.exe" , just copy paste in the same place and rename it as "python3.exe" , now in the command prompt you can check python3 command should display your python installation. Don't forget to open a new terminal. On Windows the normal name for the python executable is python.exe (console program) or pythonw.exe (for GUI programs). The python executable is sometimes called python3 on some platforms, where the default ( python ) is the old python 2. On many UNIX-based (inc. Linux and OS X) systems, python 2 is used by system utilities, changing it could have bad consequences on those platforms, hence the name "python3". On Windows you should be fine - there are other issues on Windows but you won't get those unless you try to use more than one python version. In windows using git bash, python3 didn't worked for me: $ python --ve...

Can Not Use Command Telnet In Git Bash

Answer : That's because telnet is not provided with git. In windows, you need to go to control panel, programs, turn windows features on/off and enable the telnet client. To add on to @lostbard's answer and @signonsridhar's comment, telnet utility need to be invoked with winpty to work on git bash. Example: MINGW64 ~ $ which telnet /c/WINDOWS/system32/telnet MINGW64 ~ $ winpty telnet localhost 2181 Zookeeper version: 3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf, built on 03/06/2019 16:18 GMT