How to fix apt lock-frontend error in Ubuntu
How to fix the E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
error.
How to change DNS settings from command line
The command line tool used to change the DNS settings is netsh
which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator.
How to change computer's IP address from command line
The command line tool used to change the IP address is netsh
which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator
How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to change the hostname in Ubuntu
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 marshal a JAXB object into org.w3c.dom.Document
How to marshal a JAXB object into org.w3c.dom.Document
using Transformer class and formatted console print.