How to automatically backup files and directories in Linux

  • 10 February 2017
  • ADM

How to automatically backup files and directories in Linux using tar to archive and cron jobs.


log4j.properties basic examples

  • 09 February 2017
  • ADM

log4j.properties basic examples. Output to the console and to the file.


How to send emails using JavaMail

  • 08 February 2017
  • ADM

How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.


Java 8 forEach examples

  • 07 February 2017
  • ADM

Java 8 forEach examples. Map and list loop using lambda, method reference, stream and filter.


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.


How to open port for a specific IP address on CentOS 7

  • 02 February 2017
  • ADM

How to open port for a specific IP address on CentOS 7. Using the firewall-cmd command with add-rich-rule parameter.