# Understanding a shell command — prompt for Gemma

Understand what an existing command does before running it and identify behavior dependent on environment and inputs.

Canonical URL: https://boswidget.ru/en/understanding-a-shell-command-prompt-for-gemma/

Model: Gemma

Category: Code

Tags: shell, team, explanation

![Understanding a shell command](https://boswidget.ru/assets/images/text-preview-gm-obyasnenie-shell-komandy-1200.f10e8d06cd84.webp)

Understanding a shell command

## Prompt

Explain this command for {shell}: {command}. Context: {context}. Break down arguments, redirections, pipes, substitutions and filename patterns. State what is read, what could change or be deleted, and how spaces in values affect it. Do not execute the command or claim an outcome. Suggest a safe way to check understanding with practice data, without deletion or network transmission. Include no secrets and do not replace example paths with real system directories.

## Template fields

- `{shell}` — Shell. Example input: For example: Bash or zsh and a known version
- `{command}` — Team. Example input: Text without passwords, tokens or personal information
- `{context}` — Context. Example input: What you want to do and what is known about the environment

## Launch

[Open Gemma in YesAI](https://yesai.su/en/gemma)
