Skip to main content

Questions tagged [unix]

1 vote
1 answer
129 views

Question: Given a Unix path as a string: path = "/this/is/a/unix/path" Is there an idiomatic way to then programmatically create this path? ...
Conor Cosnett's user avatar
2 votes
1 answer
137 views

Many internal calls boil down to invocations like LibraryFunction["path/to/library", "funcName" , ...] I'm on a mac, so I can use the ...
Adam's user avatar
  • 4,293
1 vote
1 answer
71 views

I've tried various ways to specify a notebook's Saveable option, all unsuccessful. For example, using an external editor, I edited ...
kjo's user avatar
  • 11.9k
6 votes
1 answer
441 views

With the 10.4 version of WolframScript, I could run something like ...
kjo's user avatar
  • 11.9k
1 vote
1 answer
168 views

On Unix, I can run Python scripts from the command line like this1: PYTHONPATH=lib/python path/to/script.py The setting of ...
kjo's user avatar
  • 11.9k
4 votes
1 answer
447 views

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 ...
kjo's user avatar
  • 11.9k
0 votes
1 answer
74 views

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....
William's user avatar
  • 7,675
3 votes
2 answers
159 views

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 ...
William's user avatar
  • 7,675
2 votes
1 answer
242 views

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 ...
user1886681's user avatar
0 votes
0 answers
103 views

I want to instrument a Mathematica script so that, upon receiving any system signal (e.g. SIGINT, aka Ctrl-C) it will print1 the ...
kjo's user avatar
  • 11.9k
7 votes
1 answer
761 views

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 , ...
TheCheatsrichter's user avatar
5 votes
1 answer
432 views

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 ...
TheBlindSpring's user avatar
2 votes
0 answers
39 views

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 ...
user13253's user avatar
  • 8,764
7 votes
3 answers
854 views

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: <...
dreeves's user avatar
  • 746