cmderdev / cmderdev/cmder

Question: Is there a way to get the output of the last command?

Open
#2,950 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

❔ Type: Question
Dominant language
PowerShell
Stars
27k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Question

I know this might be a silly question, but, is there a way to achieve the following?

λ command1
# command1 output
λ <shortcut_or_command>
# command1 output

Where shortcut_or_command would be what I'm looking for, a way to retrieve the last output (not the last exit code, just the last output).

I found a shortcut named "Show alternative console buffer (last command output)", but I don't know what it does.

Thanks!

Checklist
  • I have read the documentation and made sure what I'm looking for isn't present, or is unclear.
  • I have searched for similar issues, and either this question wasn't asked before, or I didn't find any that describe my question.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names only the “Show alternative console buffer (last command output)” shortcut and no source files or tests. Start by checking the Cmder documentation and behavior of that shortcut; done would mean clearly documenting whether the last command's output can be retrieved and how.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.