Force octave to use command line [closed] - bash

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

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.

What is the simplest way to install vim on OS X with Arabic enabled? [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
Is there a way I can easily install vim with --with-features=huge or something along those lines?
It's not clear to me how I can do this using HomeBrew. Is there a way I can do this that doesn't involve downloading and compiling from source, or is that pretty much the only route?
MacVim has +arabic. It is the only reasonable way to get a proper Vim on MacOS.

Changing default shell in Linux Mint [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
Using chsh I can change my login shell. However, how do I change my non-login shell? I am using Linux Mint with Cinnamon desktop.
I found the answer on AskUbuntu:
Cinnamon uses gnome-terminal and one must edit their profile to run any other shell than the default (bash).

How to use sox in OS X [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
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.

How I save the history of my commands in Windows(7) Command Prompt? [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 9 years ago.
Improve this question
I have realized that when I log out from the computer, the Command Prompt history gets deleted (or at least when I press the arrow keys (or F7) nothing appears. How I can set the command promt to not to delete my command history.
There isn't an option to do so. However, you can use clink which has that feature (although it comes with readline-style line editing and several other bash-isms that might not be wanted or needed).

Resources