get last tag(shell)