ShotBox

How to take a screenshot in Terminal

A terminal is a normal window, so use your system shortcut: Win+Shift+S on Windows, Cmd+Shift+4 on Mac, or Print Screen on Linux. Check the output for secrets before you share it.

Updated 2026-11-27 ยท by the ShotBox team at Fullstack Partner

Terminal apps such as Windows Terminal, the macOS Terminal and GNOME Terminal do not have their own screenshot feature that you need. Your operating system captures them like any other window.

Windows

  1. Press Win+Shift+S and choose rectangle or window.
  2. Select the terminal area. The image is copied to the clipboard.
  3. Paste with Ctrl+V into a chat, ticket or email.

Alt+Print Screen captures only the active window, which avoids grabbing the rest of your desktop.

Mac

Linux

On GNOME (Ubuntu, Fedora), press Print Screen to open the capture tool, or Shift+Print Screen to select an area. KDE uses Spectacle, also on Print Screen. Keys differ between distributions and desktops, so check your keyboard settings if needed.

Phone

Terminal apps on phones, such as SSH clients, follow the normal phone method. On Android press Power + Volume Down. On iPhone press Side button + Volume Up (or Home + Side on models with a Home button). Some apps may hide their content from screenshots on purpose, and that is their choice to make.

Think before you share terminal output

Terminals show a lot of sensitive detail at a glance. Look for:

If a secret appears in a screenshot you already sent, assume it is exposed and rotate it.

Also consider whether you need a picture at all. For error messages and commands, copied text is easier for others to search, quote and run. Most terminals copy with Ctrl+Shift+C on Windows and Linux, and Cmd+C on Mac. A screenshot is best when the layout or colors matter, or when you want to show exactly what you saw.

Share the screenshot as a link

Paste the image into ShotBox with Ctrl+V. It runs in the browser, so there is nothing to install. Use the crop tool to keep only the relevant lines, the arrow or box to point at the error, and pixelate blur to hide hostnames and tokens.

When you upload, ShotBox creates a long random private link and copies it for you. The link is not listed or indexed. You can have it expire after 1 hour, 1 day, 7 days or 30 days, or delete it any time. Camera and GPS data are removed from every image.

ShotBox cannot capture your screen with a keyboard hotkey, because it is a web app. Use the system shortcut first, then paste. There are also embed codes for Markdown, HTML and BBCode if you want to put the image in a README or forum post.

Does a terminal block screenshots?

No, a normal terminal does not. If a screenshot comes out black, it is usually because another protected window, such as a video player, was on top of it.

Frequently asked questions

How do I take a screenshot of the terminal?

Use your system shortcut: Win+Shift+S on Windows, Cmd+Shift+4 on Mac, or Print Screen on most Linux desktops. Then paste the image where you need it.

How do I capture only the terminal window?

On Windows press Alt+Print Screen. On Mac press Cmd+Shift+4, then Space, then click the Terminal window.

Should I use a screenshot or copy the text?

Copy the text when you share commands or errors, because others can search and run it. Use a screenshot when colors or layout matter.

How do I hide sensitive info in a terminal screenshot?

Look for tokens, usernames, paths and server addresses, then pixelate them before sharing. ShotBox includes a pixelate blur tool.

Can I get a shareable link for my terminal screenshot?

Yes. Paste the image into ShotBox, and it gives you a private link that can expire after 1 hour, 1 day, 7 days or 30 days.