help-gnu-emacs
[Top][All Lists]
Advanced

[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 16:28:58 +0200 (CEST)

I am getting some problem reading from the minibuffer with this command 



(cmd-excl (read-from-minibuffer "exclude: "))


From: Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Run terminal command with output in current buffer
Date: 16/07/2021 15:48:52 Europe/Paris

lisa-asket wrote:

> How can I run a terminal command and insert the output in
> the current buffer?

(shell-command "ls" t)

-- 
underground experts united
https://dataswamp.org/~incal





reply via email to

[Prev in Thread] Current Thread [Next in Thread]