Questions tagged [terminal]

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the terminal to perform specific tasks.

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the Terminal to perform specific tasks.

Programming standards

Wikipedia articles

See also:

24127 questions
9
votes
6 answers

Emacs/xterm color annoyance on Linux

I'm using emacs in a console window both on my local Linux box and on the login node of a remote cluster. I use emacs regularly, and I've got the foreground color set to white in my .emacs file like so: (set-foreground-color…
Todd Gamblin
  • 58,354
  • 15
  • 89
  • 96
9
votes
1 answer

ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions'

I am quite new to programming so don't be mad if I get something wrong. I updated pip to its latest version (something like 21.x.x) and I tried to install the Detectron2 Git repo. But anything related with pip (even when checking its version) I get…
SchmidtiT
  • 133
  • 1
  • 1
  • 5
9
votes
4 answers

Unable to download data from http://rubygems.org/ - timed out

I'm using a Mac Mini with Big Sur (Version: 11.2.3 (20D91)) and when running this command: sudo gem install cocoapods I'm getting the following error ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download…
Savvy
  • 489
  • 4
  • 16
9
votes
1 answer

How can I permanently add Homebrew to my PATH?

I have an M1 Mac Mini. Every time I want to use brew in a new terminal, it tells me : zsh: command not found: brew So I always do this to solve it : export PATH=$PATH:/opt/homebrew/bin But then the next time I open a terminal, this has been…
SwammiM
  • 463
  • 6
  • 15
9
votes
3 answers

Jupyter Notebook: Terminals not available

Yesterday I had problems launching Jupyter Notebook (all of sudden I got the notification, that python was not working properly, but before everything was working well...). So I decided to upgrade to the latest python version. And now I can launch…
Fati
  • 91
  • 1
  • 3
9
votes
2 answers

Resize the terminal with Python?

I couldn't find anything with a quick Google search, nor anything on here, saving for this. However, it doesn't do the trick. So how exactly do you resize the terminal using Python?
Elliot Bonneville
  • 51,872
  • 23
  • 96
  • 123
9
votes
4 answers

How can I change the theme of my Hyper Terminal (downloaded from hyper.is)?

If you have any experience with the downloadable software "Hyper" which is basically just a terminal, then you might be able to help me. I can't change the theme, its look. I am on the newest version of MacOS. I tried opening the file hyper.js but…
user13801785
9
votes
2 answers

Hyper Terminal is showing ~% instead of $

After restarting my Mac which is running on MacOs Catalina 10.15.3, Hyper shows username@MacBook-Air ~ % instead of the regular $. Why is that and what does the percentage symbol mean? Im also not able to check the version of my hyper using the…
bmc
  • 99
  • 1
  • 1
  • 3
9
votes
4 answers

How can I use a git bash terminal profile in Visual Studio 2019?

Visual Studio 2019 has recently added a new (much-needed) terminal feature in its 16.6 version. It's really great, but I'm having a hard time integrating git bash in the profiles. I've tried a few variations of arguments and whatnot of the following…
DCardinal
  • 195
  • 1
  • 9
9
votes
2 answers

How to Avoid Arrow Key Values in Python Input?

I'm getting Arrow Key values in my Python Input using input(). This only happens during the time of execution of a Python Script. It doesn't happen if Input is taken from the Interpreter. The Arrow Key values I'm referring to: Why does the terminal…
Gagan Deep Singh
  • 372
  • 3
  • 13
9
votes
1 answer

macOS with APFS: Copy-On-Write in Terminal

I am writing some little script that assembles backup data into one directory. The directory content will then be uploaded to a cloud service and after that we can remove it. I was wondering how one could utilize APFS' copy-on-write feature with a…
Anticro
  • 685
  • 4
  • 12
9
votes
4 answers

Moving a folder from Desktop to the server?

I have a folder in my Desktop. I want to copy it to my server in Terminal. I tried this unsuccessfully [~/bin]# cp -r /Users/Sam/Desktop/tig-0.14.1 ~/bin/ cp: cannot stat `/Users/Sam/Desktop/tig-0.14.1': No such file or directory [edit] I run the…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
9
votes
3 answers

iterm2 issue : create new tab with same path of previous current tab BUT 2 tabs are clones and not indepedent

I have switched from default terminal on MacOS Mojave to iterm2. I have an issue about the opening of a new tab from the current tab. Indeed, I would like to be in the same path than the previous current tab. For this, I did the classical procedure,…
user1773603
9
votes
4 answers

Integrated terminal in visual studio code is opening externally and not internally

I have reinstalled Visual Studio Code and for some reason, when I do the Ctrl+Shift+` shortcut, instead of opening a terminal window inside VS Code, it's opening an external command window, which is very annoying. Anyone knows what setting it is to…
JMon
  • 3,387
  • 16
  • 63
  • 102
9
votes
3 answers

zsh: command not found: atom

This seems to be happening randomly, but every once in a while my "atom ." command in order to open a directory in atom won't work. I run into the following terminal error - "zsh: command not found: atom". Once I open up Atom manually, I can go…
Marc
  • 299
  • 1
  • 4
  • 10