All about Information Technology!

terminal

How to use java 1.7 instead of java 1.6 from console

We have this scenario. We have installed JRE 1.6 and the developer issues the command java -version and he gets java version “1.6 …” But we have also installed JRE 1.7 and now our developer asks us to replace java 1.6 terminal command with java 1.7.   Let’s see how we can fix this issue [...]

>>

, , , , , , ,

Backup MySQL Database

If you would like to take a mysql database backup from the terminal, all you have to do is to type the command below: mysqldump –opt -h localhost –user=root –password=your_password database_name > database_name_backup.sql that’s it!

>>

, , ,