How to execute shell command from Java

  • 20 June 2018
  • ADM

How to execute a shell command from Java using Runtime.getRuntime().exec() method.


How to change the hostname in Ubuntu

  • 11 June 2018
  • ADM

How to change hostname in Ubuntu. There are three options: temporary until the first restart and permanent by changing the hostname file or using command hostnamectl


How to Install GoLang 1.10 on Ubuntu

  • 10 March 2018
  • ADM

How to Install GoLang 1.10 on Ubuntu. This can be applied to any Golang version and for any Ubuntu version.


How to stop and remove all Docker containers

  • 16 March 2018
  • ADM

How to stop and remove all Docker containers using two commands. Useful for fresh restart or when you run out of disk space.


Copy and Paste is not working on Remote Desktop Connection

  • 06 February 2017
  • ADM

Copy and Paste is not working on Remote Desktop Connection. The simple solution is to restart the rdpclip application.


How to export and import a .sql file in MySQL from command line

  • 03 February 2017
  • ADM

How to export and import a .sql file in MySQL from command line. Simple commands with multiple parameters.