$Echo

$Echo
gives a list of files and pipes to which all input is echoed.

DetailsDetails

  • You can use $Echo to keep a file of all your input commands.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Echo input to a temporary file:

In[1]:=
Click for copyable input

Get the file name:

In[2]:=
Click for copyable input
Out[2]=

Append the stream to the list of streams that input is being echoed to:

In[3]:=
Click for copyable input

Enter commands in cells with style:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Restore $Echo to its default, and close the stream:

In[6]:=
Click for copyable input
Out[6]=

Show the contents of the file:

New in 1
New to Mathematica? Find your learning path »
Have a question? Ask support »