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
10
votes
2 answers

Mac Terminal.app annoying bug - How to fix it?

Video showing the problem: http://www.mentaframework.org/download/TerminalBug.mov When I am typing on the Terminal.app and reach the end of the line, the next line starts on top of the first line, overwriting everything. Then if I use the delete…
TraderJoeChicago
  • 6,205
  • 8
  • 50
  • 54
10
votes
2 answers

How to get list of android emulators through terminal?

I want to retrieve a list of android emulators from the terminal. How do I achieve this? I'm using ubuntu.
Harshal Kshatriya
  • 5,630
  • 11
  • 44
  • 60
10
votes
5 answers

True Color (24 bit) in Terminal Emacs

I am looking for a good way to have 24 bit color in emacs when using a graphical terminal emulator. Konsole, for example, does support escape codes for true color, as documented here:…
grep
  • 726
  • 7
  • 13
10
votes
3 answers

Copy IP Tables rules from one server to another

I have a server with iptables rules setup. I want to use the same rules on a new server. Can I somehow copy/paste them or download/re-upload them using terminal? I'm on Ubuntu.
Jared Eitnier
  • 7,012
  • 12
  • 68
  • 123
10
votes
5 answers

Open a terminal window to a specified folder from a Cocoa app

I have seen this thread on how to execute terminal commands from within a Cocoa app. But I want to actually launch Terminal.app to a specified directory. I know that the following does not work: [[NSWorkspace sharedWorkspace] openFile:folderPath…
Corey Floyd
  • 25,929
  • 31
  • 126
  • 154
10
votes
3 answers

SSH: localhost closes connection after successful login

When I try to ssh into localhost, it accepts the public key and immediately closes the connection. I've been going through pages of Google results for hours now with no progress. Here's what I get after ssh -v user@localhost: OpenSSH_5.9p1,…
HypnoticSheep
  • 843
  • 1
  • 7
  • 16
10
votes
4 answers

device /dev/ttyusb0 lock failed: operation not permitted

I was playing around with a router earlier this evening using minicom and I must not have closed it cleanly. Here is the error message that I get when I try to open minicom: device /dev/ttyusb0 lock failed: operation not permitted I have two…
William Jia
  • 1,057
  • 2
  • 9
  • 12
10
votes
2 answers

Cannot push to remote git repository

So I have been having troubles pushing my most recent commits to a remote repository that I have set up on Bitbucket. I am originally using Xcode, and have asked this question and was recommended to use terminal to push instead of Xcode. Now, I…
Neil
  • 2,004
  • 3
  • 23
  • 48
10
votes
2 answers

Cursor color in vim terminal OS X Mountain Lion

I want to make the cursor and selected text easier to read in vim (white background, black foreground), so i've done hi Visual guibg=white guifg=black gui=NONE ctermfg=black ctermbg=white cterm=reverse hi Cursor guibg=white guifg=black gui=NONE…
Jose187
  • 449
  • 1
  • 7
  • 15
10
votes
2 answers

make GitX open via Terminal for the repo laying at the current path

I usually start gitx via the terminal command $ gitx Normally, when I'm at /path/to/repo as pwd in terminal, gitx was opening that repos log. I don't know if it was an update or if I changed some settings, but since some time, gitx opens blank,…
Nareille
  • 811
  • 2
  • 11
  • 30
10
votes
3 answers

Mac OS X: Bring (non-bundle) GUI applications to foreground when launched from the command line

When a GUI process is launched from the OS X terminal, the window shows up in the background, and you have to use command-tab to give it focus. Is there a way to make the terminal automatically give such GUIs focus after they are launched? For…
Stuart Berg
  • 17,026
  • 12
  • 67
  • 99
10
votes
2 answers

shift up-arrow doesn't highlight text emacs iterm2

I recently had help fixing M-left and so forth here: emacs in terminal meta arrow keybindings, but am unable to fix Shift-up using a similar solution. When I try shift-up I get an error