What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-22 03:21:02
updated git but still showing old version
Run the command: which git You'll probably see /usr/bin/git -- the Apple supplied version. This will be because /usr/bin appears in your PATH environment variable before /usr/local/git/bin. You can verify this by running the command: echo $PATH If that ... Add solution -
Other 2021-09-21 20:30:03
execute bash script from anywhere
you can modify the PATH environment variable in your .bashrc file and use the “source” command in order to refresh your current Bash environment. $ sudo nano ~/.bashrc export PATH="<path_to_script>:$PATH" Exit the file and so... Add solution -
Other 2021-09-15 07:44:02
install gradle
sudo apt update sudo apt install openjdk-8-jdk -y java -version wget https://services.gradle.org/distributions/gradle-5.0-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip ls /opt/gradle/gradle-5.0 sudo nano /etc/profile.d/gradle.sh ####/etc/p... Add solution