Ubuntu Command Notes

Ubuntu Command Notes

On this post I will continue to add frequently used commands while using ubuntu OS

root@BlockChainHLF:~# uname -a

Linux BlockChainHLF 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

root@BlockChainHLF:~# lsb_release -a

 Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial

Store PATH Variable ~/.bashrc and then do source ~/.bashrc, echo $PATH to verify

root@BlockChainHLF:~/work/hlf/fabric-samples# git –version

git version 2.7.4

root@BlockChainHLF:~/work/hlf/fabric-samples# docker-compose version

docker-compose version 1.8.0, build unknown

docker-py version: 1.9.0

CPython version: 2.7.12

root@BlockChainHLF:~/work/hlf/fabric-samples# docker version

Client:

Version:      1.13.1

API version:  1.26

Go version:   go1.6.2

Git commit:   092cba3

Built:        Thu Nov  2 20:40:23 2017

OS/Arch:      linux/amd64

Server:

Version:      1.13.1

API version:  1.26 (minimum version 1.12)

Go version:   go1.6.2

Git commit:   092cba3

Built:        Thu Nov  2 20:40:23 2017

OS/Arch:      linux/amd64

Experimental: false

root@BlockChainHLF:~/work/hlf/fabric-samples# python –version

Python 2.7.12

 Install

To Install

$ sudo apt-get install golang-go

To Purge

sudo apt-get purge  golang-go

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s