[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Run terminal command with output in current buffer
From: |
lisa-asket |
Subject: |
Run terminal command with output in current buffer |
Date: |
Fri, 16 Jul 2021 11:04:02 +0200 (CEST) |
It guided we to this command. I wonder how to call the command from my init
file, have my own
function for it.
(shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER)
What shall I do with output-buffer ?
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Run terminal command with output in current buffer
Date: 16/07/2021 09:07:21 Europe/Paris
> From: lisa-asket@perso.be
> Date: Fri, 16 Jul 2021 08:43:27 +0200 (CEST)
>
> How can I run a terminal command and insert the output in the current buffer?
"C-u M-! the command RET"
See the doc string of M-! for details.
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: Run terminal command with output in current buffer, Jean-Christophe Helary, 2021/07/16
- Re: Run terminal command with output in current buffer, Eli Zaretskii, 2021/07/16
- Run terminal command with output in current buffer,
lisa-asket <=
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: Run terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- Re: Run terminal command with output in current buffer, Stefan Monnier, 2021/07/16
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: Run terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: terminal command with output in current buffer, Felix Dietrich, 2021/07/16