The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

3
votes
1answer
487 views

Why does Option+Left Arrow work in Vim, but not Right Arrow on Mac OS X?

Using Vim in Terminal on Mac OS X, my Option+Left Arrow skips words as expected, but my Option+Right Arrow does nothing. How can I fix this?
1
vote
0answers
61 views

How can I use kickstart or something else at the command line to view ARD settings?

I know I can use kickstart to configure Apple Remote Desktop from the command line, but, I can't find anything on the Internet or in kickstart's help message indicating how I can view the current ...
0
votes
1answer
63 views

Mac OS X Terminal garbles text

Not sure what you would call this. Glitch, jarble, destruxxored. But my text looks like this: That's my cursor where they grey box is. Pressing up adds more text in random places, and my cursor ...
2
votes
1answer
116 views

Open current bash location explicitly in Finder

When double clicking a bundle folder (folder called *.bundle), a Terminal window opens as expected. However, $ open . does not then open a Finder window but another Terminal. Is there a way ...
1
vote
4answers
3k views

How to have multiple windows in a SSH terminal session?

From Mac OSX I login to a remote server that handles parallel computing jobs. I am not able to install anything on this server as it is administered by the university. I have multiple jobs running and ...
1
vote
2answers
141 views

terminal.app: how to read the terminal window title

I have seen many questions about how to set the tab (or window) name, but how to get it? I have setup terminal to open 8 tabs, each tab having its own name (dev1, dev2, ... dev8) Is there any way for ...
0
votes
0answers
59 views

Under which domain is the Finder sidebar “Devices” category setting for “User's MacBook Pro”?

Trying to verify that "User's MacBook Pro" is in the Finder's sidebar from the Terminal. I can't find a correlating setting under com.apple.finder, com.apple.sidebarlists, or even ...
0
votes
2answers
296 views

Verifying my password on OS X via dscl

If I know my password is foobar how can I use dscl to verify this on my machine? Of course the password is encrypted (Password: ********) in the output of dscl . -read /Users/myuser. It's fine if I ...
1
vote
0answers
58 views

Emacs and Gnu Screen Causing Line Wrap Problems

I have gnuscreen on with multiple "tabs" open. Emacs is on tab 0. When I tab to a different screen and return to Emacs, the lines do not wrap properly anymore. They blend into each other. If I have a ...
0
votes
2answers
4k views

How to use Terminal to navigate into a desktop shortcut or folder in applications?

I'm on a Mac and watching a tutorial on setting up Git. I'm in the terminal and currently on the Desktop. I can us ls to list all the items on my desktop, and cd into any of the folders on my ...
3
votes
1answer
116 views

Add sound to keystrokes in iTerm2 / zsh

I've been searching for quite a while now, but haven't found anything. I want to spice my terminal up a bit more than just colorizing it – I also want to add specific sounds to keystrokes, newlines ...
0
votes
1answer
280 views

How to make terminal title to stick on Macs

I'm not sure if this is a problem with my mac, of which I'm a noob with, or if it's a setting of the server I'm sshing into. What I'm doing is this: Open a new window in terminal SSH into a CentOS ...
3
votes
0answers
19 views

How do I skip the requirement to hit tab twice on a soft link autocomplete? [duplicate]

When I am in the bash terminal (Mac) and I am selecting a file, I can easily type the first part of a directory and hit tab to have it auto complete, for example: cat ~/Desk [tab] -> cat ...
1
vote
1answer
48 views

How do I change the name of my mac in the terminal app? [duplicate]

The computer name is displayed as "unknown-" at the command prompt. How do I change this?
7
votes
4answers
3k views

Any way to prevent Dropbox from opening the Camera Uploads folder when an iPhone is connected?

When I connect my iPhone to my MacBook Pro, Dropbox always launches its Camera Uploads folder in Finder. Is there any way to turn this off (some command I can run in Terminal, perhaps)? EDIT: To be ...
1
vote
1answer
69 views

Key and cursor glitch in Terminal.app

I am having a problem with Terminal. It is triggered when I do something that involves the Command key, Cmd-C, Cmd-V etc. It causes my keyboard actions to not be recognized until I click somewhere ...
2
votes
1answer
289 views

Mac lsof command find all processes for all users

A while ago my teacher asked me to create a script that would kill Minecraft anytime it came up. It worked when the user themselves ran it, but it didn't if it was at root level. Is there a command ...
1
vote
1answer
121 views

Way of finding input devices?

In terminal is there a way for me to find all the input devices, eg keyboard and mouse? And more specifically get their thread id?
1
vote
0answers
90 views

How to use Terminal.app for an xterm session

I am on Mac OS X 10.8. When I open Terminal.app and connect to a remote machine with ssh -X user@remote.machine.net the XQuartz application launches. When I type xterm into Terminal.app, an X11 ...
0
votes
0answers
148 views

How can I send a command to two separate screen sessions simultaneously?

I'm monitoring two measurement devices (usbserial1 and usbserial2) over RS232 (via an USB adapter). I do this in the following way: I open two terminal windows. In one window I write the following ...
2
votes
0answers
99 views

Binding .inputrc on Mac?

On Linux I had this line on my .inputrc: "\C-/": undo which doesn't work on Mac. Is there a way to make it work? On another note, is there a way to bind command keys on inputrc?
0
votes
2answers
1k views

On startup, how can I configure Terminal.app to open in fullscreen?

When my mac reboots, I would like to have Terminal open in full-screen mode (not full window size). I'm on OS X 10.8.2. How can I configure this?
3
votes
1answer
544 views

Terminal.app opens different theme when launching a new shell window

So I set Terminal.app to open up with certain defaults. I like a specific theme (Homebrew) with a default size of 140×50. However if I click the close icon (red X) to close the window and ...
15
votes
3answers
13k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
1
vote
0answers
53 views

MySQL formatting problems with UTF8 on Mac terminal

When I do a select in MySQL on a column in Terminal on Mac, it appears like this: +-------------------+ | my_iso8859_column | +-------------------+ |.. ....... | | ..... .... | | .. ...
1
vote
1answer
185 views

Find Samba Mount location on OS X

If I connect to a Samba Share through the 'Connect to Server' dialogue in the finder in OS X Mountain Lion (10.8.2), I can use this in the finder to drag/drop files etc etc. But if I want to access ...
47
votes
2answers
6k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
1
vote
1answer
217 views

How do I get command+left go to the beginning of the line in terminal?

I know I can do control+a but I want command+left. I'm using the fish shell. I tried creating an apple script to call control+a when I hit command+left but that caused it to call command+control+a ...
0
votes
1answer
346 views

Where is the scrollback location for the mac terminal?

Title says all. (the one when you use the scrollwheel to see the old commands and results) I do not wish to clear it for sure as some data I have lost is within some old scrollback.
3
votes
1answer
93 views

Mac OS X Doesnt run .bashrc by itself

When I open a new terminal I don't get the prompt I setup in ~/.bashrc or my aliases etc... If I run exec $SHELL then everything applies like it should for example: Last login: Mon Jan 7 09:02:00 on ...
4
votes
2answers
5k views

How to reset mac PRAM through the command line in Lion/Mountain Lion?

I'm trying to write a script to automate a PRAM reset and I've seen a lot of old guides that tell me to use the following command to reset the Mac's PRAM via the terminal: nvram boot-args="-p -r" ...
1
vote
1answer
207 views

Vim text messed up on remote server

I often work on remote servers. There is one server that seems to get "confused" about the number of available columns (my best guess), but only when working in Vim (not bash). Specifically, when I ...
3
votes
1answer
79 views

Is there a way to disable closing panes in Tmux?

I am using tmuxinator. Here is my project file. project_name: Network project_root: ~/Code/Network tabs: - editor: vim - worker: layout: ...
1
vote
1answer
324 views

OS X terminal login takes lot of time

From earlier this week my MacBook Pro's terminal is taking a lot of time (about 20 seconds) to see the bash prompt. How do I reduce this time? EDIT: While the login is in progress I tailed the ...
4
votes
1answer
152 views

'subl -w' doesn't ever un-block when running under tmux on OS X

On my mac, I have $EDITOR set to 'subl -w'. If I run my shell session under tmux, it opens the editor fine, but the command on the terminal never exits. However, this works fine on a terminal by ...
3
votes
2answers
354 views

How to make ls command not show Icon? files?

I have a folder (say, Downloads) with a custom icon. When I execute cd Downloads and then ls, it displays Icon? Subfolder1 Subfolder2 How can I make the ls command skip (thus not showing) ...
2
votes
2answers
2k views

OSX: Possible to use Total Terminal with iTerm2?

As I understand it, Total Terminal is a thin layer on top of Terminal.app that adds some Yakuake-like features. My question is: Is it possible to use Total Terminal with iTerm2 as the "backend" ...
0
votes
1answer
112 views

Have to repeatedly press enter for Terminal commands to work — OS X 10.7.3 Lion

I've encountered a very, very strange error. Whenever I type a command, I must press enter several times before the Terminal executes the command. Note that this is not a hardware error: I can still ...
1
vote
1answer
140 views

cd to last directory in oh-my-zsh

Is there anyway to get oh-my-zsh and Terminal to load up my last used directory? For example I cd into ~/Desktop then close my terminal. I'd like it to open back up into the ~/Desktop folder.
1
vote
1answer
1k views

Cleanly Remove MAMP Pro

I'm trying to cleanly remove MAMP Pro from my Mac and I'm following the steps outlined in the SO article http://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall. I have been ...
2
votes
1answer
199 views

Change keyboard shortcuts for for next and previous tab on OS X

I am on Mac OS X and when I used Bash (the default shell) before, to change tabs in the terminal I used Cmd← or Cmd→. Now I switched to to zsh and I have to do Cmd} or Cmd{. How do I change ...
3
votes
1answer
1k views

“There are stopped jobs” when I try to quit terminal

I am using terminal.app on a MacBookPro running Mac OSX Lion 10.7.5. When I try to exit the terminal, I get a message "There are stopped jobs" and the exit fails. What does this error message mean, ...
0
votes
2answers
3k views

View Shared Folders from Terminal

How can one list the shared folders of a server from the OSX Terminal? For example, I know that on server1, there are several shared folders, but to mount them, I need to know the name of these ...
2
votes
1answer
252 views

How can I make hyperlinks in Irssi/Terminal.app be underlined?

I'm using Irssi via Terminal.app on a Mac. I realise you can open links in the default browser using CMD + Double-click but I'd like some visual indication in Irssi that links are, well, links (such ...
2
votes
1answer
98 views

Can I remotely monitor printf results of a C program?

I have a long running C program in which I've started from the Terminal.app using: gdb program_name gdb run I'm using many printf statements to monitor the progress of the program. Unfortunately, ...
1
vote
0answers
29 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
1
vote
1answer
154 views

Does “x-terminal-emulator” work on OS X?

Linux has a command x-terminal-emulator that will activate a new terminal emulator. And i believe it works with the set default emulator. Does OS X have a similar command or the same command? Do all ...
1
vote
2answers
270 views

iPython in Terminal.app: multi-line editing

I'm using iPython in Terminal.app (on Mac), and when I scrollback to a multi-line block it's really slow moving between lines. Is there a keybinding (or can I configure one) to make it possible to ...
2
votes
1answer
351 views

Problems switching to QEMU control panel with -nographics

It seems that the terminal does not recognise CTRL+ALT+2 when typed, so I don't know how to quit the QEMU emulation, or switch to the QEMU control panel. I am running Mac OSX Lion, and I type $ ...
4
votes
2answers
5k views

How can I hide or remove the split-pane bar on the right in Mac terminal?

What do I need to do to remove the split pane sidebar on the right from the terminal window? Never used to have it and now I don't know how to get rid of it.