Tagged: linux

0

How to run node script from BASH?

Below shell script is running a node script, which gets an object from package.json, updates the app version and writes it back to the package.json using node API. // foo.sh node <<EOF var fs...

0

How to check your ubuntu version

Occasionally you might want to know the version of ubuntu when installing a package. I usually use the following command $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION=”Ubuntu Saucy Salamander (development branch)”

0

[Resolved] Remove Java completely from Mac / Linux

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from the root of your system cd /Library/ rm -rf Java/ Verify Java in uninstalled java...

0

[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...