> For the complete documentation index, see [llms.txt](https://cheatsheet.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cheatsheet.mrw0l05zyn.cl/linux-unix/terminal.md).

# Terminal

Listar variables de entorno.

```shell
printenv
```

Crear variable de entorno.

```shell
export <NAME>="<value>"
```

Eliminar variable de entorno.

```shell
unset <NAME>
```

Borrar el historial de la sesión actual (Zsh).

```sh
local HISTSIZE=0
```
