---
title: Keep the commands you write often
project: TotalSSH
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalssh/latest/guides/commands/
updated: 2026-12-02T15:40:31.075Z
---

# Keep the commands you write often

> Keep a command once, such as a log to follow or a service to restart, and send it to a terminal with a click.

## Keep a command

1. Press **Commands** at the top of the window.
2. Press **New command**.
3. Write what it is for in **Name**, and the command in **Command**. Without a name, it takes the start of the command.
4. Choose whether it runs at once.
5. Press **Keep**.

**Run it at once** sends Enter after the command. Without it, the command is only written in the terminal, so you can read it or complete it before you press Enter. Leave it off for the commands that delete or restart something.

If a terminal on a server of your list is in front, you can also mark **Only for …**. The command then appears only with the terminals on that server.

> Do not write passwords in a command. Commands are kept with the settings of TotalSSH, and not in the keychain.

## Send a command

1. Go to the terminal where you want it.
2. Press **Commands** and click the command.

Each one says **Runs at once** or **Written, not run**. The commands cannot be clicked until the terminal in front is open.

A command goes only to the terminal in front, also when [you write in all of them](/totalssh/latest/guides/type-to-all/).

## Change or remove a command

Use the pencil or the bin of its row. The bin removes it at once, without asking.
