"db2ilist" command is used to list all the instances in the system, while "db2 get instance" command is used to list the current active instance.