Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

shell commands in notebooks

  • To: mathgroup at
  • Subject: [mg22129] shell commands in notebooks
  • From: Wolfgang Schadow <schadow at>
  • Date: Wed, 16 Feb 2000 02:34:46 -0500 (EST)
  • Sender: owner-wri-mathgroup at


How can I execute shell commands from within a notebook? The book says




This works fine in a terminal session, but not in a notebook. It seems
the commands are executed but the output is going somewhere else. To see
this try

Run["date > foo"]

So what's happening with the output? (Mathematica 4.0 under Linux)

Thanks for your comments,

Wolfgang Schadow              Phone: +1-604-222-1047 ext. 6453 (office) 
TRIUMF                               +1-604-875-6066           (home)   
Theory Group                    FAX: +1-604-222-1074
4004 Wesbrook Mall
Vancouver, B.C. V6T 2A3       email: schadow at
Canada                        www  :

  • Prev by Date: Problems with PolyGamma
  • Next by Date: Re: algorithm to generate 1/f noise
  • Previous by thread: Problems with PolyGamma
  • Next by thread: Re: shell commands in notebooks