---
title: "ktm shell list"
description: "Lister les actions shell récentes (dernières 24h par défaut)"
sidebarTitle: "list"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Lister les actions shell récentes (dernières 24h par défaut)

## Utilisation

```bash
ktm shell list [flags]
```

## Exemples

```bash
ktm shell list --product 123
ktm shell list --product 123 --status D
# Élargir la fenêtre par défaut de 24h : une durée en arrière depuis maintenant, ou des horodatages ISO
ktm shell list --product 123 --from-date 72h
ktm shell list --product 123 --from-date 2026-03-15T00:00:00Z --to-date 2026-03-16T00:00:00Z
# Interroger les événements asynchrones (attente SMS, push USSD) depuis le début de la session
ktm shell list --product 123 --owner 0789800356 --from-date 2026-03-15T19:29:17Z --ordering -created
```

## Flags

| Flag | Type | Défaut | Description |
| --- | --- | --- | --- |
| `--from-date` | string |  | Afficher uniquement les shells créés après ce moment : horodatage ISO 8601 ou durée comme 72h (autant de temps en arrière). Défaut : les dernières 24h |
| `--ordering` | string |  | Ordre de tri : '-created' (plus récent en premier), 'created' (plus ancien en premier) |
| `--owner` | string |  | Filtrer par identifiant d'appareil |
| `--product` | int |  | Filtrer par identifiant de produit |
| `--status` | string |  | Filtrer par statut (P/D/O/B/C/T/M) |
| `--to-date` | string |  | Afficher uniquement les shells créés avant ce moment : horodatage ISO 8601 ou durée comme 30m (autant de temps en arrière) |

## Voir aussi

- [`ktm shell`](/fr/cli/commands/shell)

<Note>
  Les flags globaux (`--output`, `--debug`, `--host`, ...) s'appliquent à toutes les commandes. Consultez la [vue d'ensemble de la référence des commandes](/fr/cli/commands/overview).
</Note>

## Et ensuite ?

<Columns cols={2}>
  <Card title="Toutes les commandes" icon="terminal" href="/fr/cli/commands/overview">
    Parcourir la référence complète du CLI.
  </Card>
  <Card title="Démarrage" icon="rocket" href="/fr/cli/getting-started">
    Installer le CLI et s'authentifier.
  </Card>
</Columns>
