Questions tagged [unix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

How to specify notebook's Saveable option from command line?

I've tried various ways to specify a notebook's Saveable option, all unsuccessful. For example, using an external editor, I edited ...
5
votes
1answer
183 views

How to recover WolframScript's former `-run` functionality?

With the 10.4 version of WolframScript, I could run something like ...
1
vote
1answer
70 views

How to specify $Path items on the command line?

On Unix, I can run Python scripts from the command line like this1: PYTHONPATH=lib/python path/to/script.py The setting of ...
3
votes
1answer
134 views

How to read *all* input from stdin?

The answers given to this similar question won't do, because those solutions read only one line from stdin. I want to read all available lines, pretty much in the ...
0
votes
1answer
37 views

Hide Or Add To Magnification Menu

Is there a way to hide or add to the Magnification menu at the bottom of each notebook. I understand if it can't be removed but then I would like to add to the menu because it takes up a lot of space....
3
votes
2answers
95 views

Polling Unix Commands Top

How might I display an up to date display of top inside of Mathematica? top is unique in that it updates itself every couple of ...
1
vote
1answer
113 views

Running an external simulation program from Mathematica

I have a physics simulation program which I run through a terminal window (I use a Mac) as shown below: user$ programName inputfile.ele I would like run a ...
0
votes
0answers
46 views

How to get a script to print MaxMemoryUsed[] upon getting a system signal?

I want to instrument a Mathematica script so that, upon receiving any system signal (e.g. SIGINT, aka Ctrl-C) it will print1 the ...
7
votes
1answer
524 views

WolframScript Unix - Script Parameters on Raspberry Pi

I'm currently trying to run a script with 2 parameters which gets called via a BASH script. The script runs fine however the list of passed parameters , ...
5
votes
1answer
248 views

Wolfram Script Not Completing when ran as cron job

I have a fairly simple Wolfram script called from within a shell script that I would like to run at certain times. The shell script calls a python script to get some recordings to from GPIO and saves ...
2
votes
0answers
29 views

How to make lines not wrapping in text-mode Mathematica? [duplicate]

When running Mathematica from Unix command line, i.e. pure text mode, the lines wrap at about 70 pr 80 characters, creating lots of visual clutter. How do I set it so that any outputs will not wrap ...
7
votes
3answers
532 views

Converting between AbsoluteTime and Unix time

By trial and error, I've found that the following gives the current Unix time: AbsoluteTime[] - UPOCH where UPOCH can be defined in any of the following ways: <...