Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 575 Bytes

Ubuntu-commands.md

File metadata and controls

28 lines (17 loc) · 575 Bytes

Ubuntu commands

  • Check ubuntu version If lsb_release -a does not work, you can use cat /etc/*-release.

  • Create ssh keys

    ssh-keygen -t rsa

  • Copy public key to a remote server

    ssh-copy-id dockeradmin@remote-server

  • Upgrade git version (http://askubuntu.com/questions/568591/how-do-i-install-the-latest-version-of-git-with-apt)

    sudo apt-add-repository ppa:git-core/ppa
    sudo apt-get update
    sudo apt-get install git
    
  • Install ping

    apt-get install iputils-ping

  • Copy SSH key to clipboard

    pbcopy < ~/.ssh/id_rsa.pub