How to use sox in OS X [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I downloaded and installed sox using the Mac OS X binary.
I am trying to run it using sox in the terminal but I keep getting command not found.

Make sure its on your PATH if you are calling it as sox. If it's not you have 2 options:
Add the directory it was installed to to your PATH
Give a path to the sox binary as the call instead. For example (I used homebrew to install sox) my binary is at /usr/local/bin/sox so my command would start with that. If you'd like you can also use alias to shorten that.

Related

Where is nix.conf located when installed on OSX? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I installed nix on osx using this command:
$ sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
Following instructions here:
https://hydra.nixos.org/build/119559243/download/1/manual/#sect-macos-installation
I'm trying to build a project that uses the nix shell and it's telling me to edit something in a file called nix.conf. However the project documentation was setup using a linux or nixos distribution so not sure where this file is located on osx. (The docs say to look in /etc/nix/nix.conf, but this file doesn't exist in osx)
/etc/nix/nix.conf may not exist, you need to create it.

Where should I cp oc binary to on MacOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
In this documentation it says
unpack the archive and move the oc binary to a directory on your PATH
I tried echo $PATH and it returns:
bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Clearly there are multiple path here, which one should I move cp oc binary to?
/usr/local/bin would be the usual choice for user or third-party executables. That way it won't get wiped out when you update the OS.
See also: Where do you keep your own scripts on OSX? - the question is about scripts rather than binaries, but the same logic applies.

Force octave to use command line [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Before upgrading my ubuntu install to 16.04 invoking 'octave' would open the octave interpreter, useful as a powerful calculator.
Now, typing octave opens the octave gui. I need to type 'octave --no-gui' to get my interpreter back.'
Why does this happen? How can I restore 'octave' opening the interpreter?
Defaults change over time depending on typical usage. To fix it, just:
Add an alias to your ~/.bashrc
alias octave="octave --no-gui"
Now source your file to enable it.
source ~/.bashrc

Oh-my-zsh mac os X broken [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
This morning an Oh-my-zsh update.
Since then, each time I launch my terminal :
grep: unrecognized option `--exclude-dir=.cvs'
Idem when I try to use git-flow
any idea ?
Grep versions lower than 2.5.3 do not have this option. Try to upgrade your grep, or comment out the lines
for PATTERN in .cvs .git .hg .svn; do
GREP_OPTIONS+="--exclude-dir=$PATTERN "
done
at .oh-my-zsh/lib/grep.zsh line 9. Then it works fine again.

Where are the osx commands stored? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm writing a mac app (osx 10.9) that accesses the terminal commands using NSTask and I wanted to run some of the commands from my app. Where are the terminal commands (gcc, mkdir,git) stored?
Use which to determine this:
% which gcc
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc
% which mkdir
/bin/mkdir
% which git
/Applications/Xcode.app/Contents/Developer/usr/bin/git
They can be scattered all over the place. You can see where individual commands are by using which
which mv
/bin/mv
Also, you can see what are all the paths that are used to search for a given command with the following:
echo $PATH

Resources