Showing posts with label command line interface. Show all posts
Showing posts with label command line interface. Show all posts

Thursday, March 5, 2020

SdkMan CLI

SDKMAN (Software Development Kit Manager CLI) is a tool for managing parallel Versions of multiple Software Development Kits on any Unix based system. It provides a convenient command line interface for installing, switching, removing and listing Candidates.

Installation:

 #curl -s "https://get.sdkman.io" | bash

 #source "$HOME/.sdkman/bin/sdkman-init.sh"

Check Version:

 #sdk versiokn

Development Kits
    Install:

     #sdk list <software> 
     #sdk list java

     #sdk install java 7.0.181-zulu
     #sdk install java 11.0.6.j9-adpt

     The installation could be find in: 
        <user.home>/.sdkman/candidates/

    Uninstall:
      #sdk uninstall java 7.0.181-zulu 
      
    User Version:
       #sdk use java 7.0.181-zulu 
      
    Default Version:
       #sdk default java 7.0.181-zulu 
    
    View Current Versions:
       #sdk current
    
    Upgrade Version:
       #sdk upgrade java
       #sdk upgrade
    
 for more reference http://sdkman.io


AWS EC2 - SSH locked with UFW

Need to update the instance's user data: 1. Stop the instance 2. Right click (windows) or ctrl + click (Mac) on the instance to open a c...