---
title: "Run commands"
description: "Run Linux commands in the Alpacon Websh terminal. Use sudo under your workspace's rules, review command records later, and replay recordings on a paid plan."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# Run commands

Execute all Linux commands in Websh terminal.

## Basic commands

All standard Linux commands available:

```bash
ls -la
cd /var/log
cat file.txt
top
```

## sudo access

Run `sudo` in the terminal as usual. Alpacon decides each `sudo` command by your workspace's sudo settings and access rules, and may ask you to verify with MFA first. See [sudo with MFA](/use/work-sessions/terminal/sudo-with-mfa/).

To work as `root` for the whole session instead, choose it under **Connect as** when you request the session, if your workspace allows direct root login. See [Account selection](/use/work-sessions/account-selection/).

## Session recording

The terminal session is recorded, with credentials masked. To review what ran, open the work session's **History** tab and play the terminal back. See [Terminal recordings](/use/audit/sessions/review/#terminal-recordings).

## Large output

Very large output—for example, `cat` on a huge file—may have older lines trimmed with an `[output truncated]` marker so the terminal keeps up and stays responsive. Recent output is never affected.

## Related docs

- [sudo with MFA](/use/work-sessions/terminal/sudo-with-mfa/)
- [Manage sessions](/use/work-sessions/terminal/sessions/)
- [Keyboard shortcuts](/reference/terminal-shortcuts/)

Source: https://docs.alpacax.com/use/work-sessions/terminal/commands/
