Just run “java -version”. if JAVA is installed in your system , it will display the version
Tag Archives: Linux
Installing GIMP in Ubuntu
From Ubuntu Terminal
1.Open terminal(Press CTRL+ALT+T or Applications->Accessories->Terminal)
2 Type the command sudo apt-get install gimp3.Wait for downloading and installation to complete.It may take few minutes.
From Ubuntu Software Center or Synaptic Package Manager(SPM)
1.Go to Ubuntu software Center or SPM and search for gimp.
2.Then click to install.
Command to install curl – ubuntu linux
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
After installing cURL you have to restart Apache using the below given command
sudo /etc/init.d/apache2 restart
How to completely remove Wine?
sudo apt-get remove wine
rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm
How to install Wine?
sudo apt-get install wine
Command to install JDK
apt-get install sun-java6-jdk sun-java6-jre
How To Change Password On Ubuntu Linux
$ passwd
Ouput
====
Changing password for user1
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
linux command to restart the network – CentOS
service network restart
Command to list hidden file – Linux
ls -a . The option -a will list the hidden files . css index.php .. detail.php js addedit_banner.php FCKeditor list_category.php admin footer-grade.php loadcategorylist.php adv_search.php footer.php loadcategory.php banner header.php searchbck07.php banner.php hostreview.sql search.php bck htaccess sidebar.php category.php .htaccess test.php
Short keys to list hidden file – Linux
Cntrl + H will list the hidden files