sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
# to simplify life, install xclip and append the following lines to your .bashrc | |
alias "c=xclip" # copy to X clipboard (register *) | |
alias "cs=xclip -selection clipboard" # copy to system wide clipboard (register +) | |
alias "v=xclip -o" # output copied content (paste) | |
alias "vs=xclip -o -selection clipboard" # paste from system wide clipboard (equivalent to `v -selection clipboard`) | |
# examples: | |
# copy to X: | |
# go to the same directory in terminal 2 as in terminal 1 | |
# Terminal 1: |