The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

0
votes
1answer
221 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
46 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?
2
votes
1answer
271 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
97 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
2answers
228 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 ...
1
vote
2answers
1k views

Load RVM environment in Screen and ZSH

This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
1
vote
0answers
85 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
134 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 ...
0
votes
2answers
955 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?
4
votes
2answers
4k 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.
3
votes
1answer
362 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 ...
10
votes
2answers
1k views

Mac Terminal/iTerm history cursor problems

So often, I run a command in either Terminal.app or iTerm, press the up arrow to go back to edit it, and the cursor jumps to the line above or somewhere totally in the wrong place. It especially ...
1
vote
0answers
49 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 | +-------------------+ |.. ....... | | ..... .... | | .. ...
6
votes
3answers
5k views

How to kill a zombie process on a mac

How to kill a zombie process or find it's parent process on a Mac using the Terminal?
1
vote
1answer
174 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 ...
8
votes
1answer
3k views

enabling colors in the python interactive shell on OS/X

I have just modified my .bash_profile so as to have colors in iTerm and Terminal. Now, I want to enable syntax highlighting for the Python interactive shell, IDLE-style. How to do that?
1
vote
1answer
177 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
264 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
90 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 ...
1
vote
1answer
175 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
75 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
306 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 ...
3
votes
1answer
125 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
974 views

How to set the title of the tab in Terminal.app to the remote server I'm logged in to

I use one Mac to do work on several others. What I'd like to do is find a way to programmatically set the title of a Terminal.app tab to the name of the server I'm ssh-ed into, so I can determine at ...
9
votes
1answer
2k views

How do I make OS X set the terminal title back to the original title when coming back from ssh?

Starting on OS X, I ssh into foo (a Linux box). My terminal title changes to foo. I then ssh into bar (another Linux box). My terminal title changes to bar. I log out of bar. My terminal title ...
1
vote
1answer
122 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
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, ...
2
votes
1answer
138 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
4answers
613 views

How can I free files that are in use by quicklook?

I have a couple pictures I was looking through and deleting stuck in my trash (Mac OS X 10.6 latest) and finder tells me they are in use when I try to delete them. I looked around online and found ...
2
votes
1answer
87 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, ...
0
votes
1answer
749 views

How can I prevent OS X Terminal.app from overriding vim colours on a remote system?

As my primary workstation, I use a mac running OS X 10.5. I spend much of the day ssh'd into remote systems and am working on grokking vim. One of the things I want to do is experiment with different ...
2
votes
1answer
830 views

Scroll Bar on OS X Lion Terminal won't go away [duplicate]

Possible Duplicate: Snow Leopard hide scrollbar in terminal? I have this scrolling bar on the right side of my terminal because I accidentally split the window and I've merged the windows, ...
9
votes
3answers
2k views

Snow Leopard hide scrollbar in terminal?

Is there a way to get rid of the scrollbar in Terminal.app in SN (it worked with earlier versions of OSX, but so far I didn't get it working on 10.6)
2
votes
3answers
191 views

Terminal.app characters set changes — completely illegible

I was just ssh'd into my server (Ubuntu 10.04.2), and I ran aptitude (in interactive mode). Once I pressed one key (one of the letters, g I believe), it turned into this (not just the SSH session; ...
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?
7
votes
1answer
3k views

Making ls aware of “hidden” file flag

Is it possible to make ls aware of the hidden file flag on Mac OS X? Currently, a simple ls -lO produces: $ ls -lO total 0 drwxr-xr-x@ 84 danielbeck staff - 2856 29 Mai 22:44 Applications ...
0
votes
1answer
135 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
287 views

When I paste a command on my bash prompt it is not in history — how can I add it?

When I paste a command to my OS X or Ubuntu bash prompt using CmdV, the command is not in history – even if it is executed. The command is in history only if I type it. How to enable that pasted ...
1
vote
1answer
179 views

Homebrew slows my terminal down on startup

I've had some issues with my terminal being extremely slow while starting up (both new windows and new tabs), from 10 seconds and up. I've tried deleting the Apple System Logs, but it doesn't help. ...
2
votes
1answer
276 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 $ ...
1
vote
1answer
298 views

DTerm: How to open into iTerm2 rather than Terminal.app by default?

In DTerm, one can open a full terminal application by typing ⌘-↩ after a command entered at the DTerm prompt. In a recent release, it is noted that support has been added for iTerm2 in DTerm via an ...
1
vote
1answer
416 views

In OSX Terminal freezes on text select

Once in a while, if I've been using the terminal and click on it to select text, the terminal freezes, with the mouse pointer becoming the spinning wheel. Activity monitor also shows 100% CPU usage. I ...
3
votes
1answer
559 views

How to make alias/function in .bash_profile for `curl` that takes an argument?

I found this tip super helpful, for using curl to resume an interrupted file copy. The full syntax is: curl -C - -O file:///Volumes/path/to/file I would like to add an alias or function called ...
18
votes
2answers
3k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
0
votes
0answers
71 views

OS X terminal always screws up its display of text when SSHed into other servers

When I'm SSH'd into any other server with Terminal.. Text will start display over hidden text, when I search through history, text will only show fragments. When I start typing, letters will appear ...
1
vote
1answer
457 views

Vim on Mac OS X “E492: Not an editor command: dw”

So...I'm on the second worst series of operating system in the world, using my everyday vim text editor, and...yeah...I have no idea. I guess its a bug, I'm running 10.7 Lion with nothing installed ...
1
vote
1answer
84 views

Why does git branch info clear upon making a new tab in terminal

I've written a bash script to put git info into my bash prompt, along with still keeping the terminal's pwd in the title bar, to allow for new tabs to be opened at the current working directory. It ...
2
votes
1answer
226 views

How do you install pythonbrew when using the Fish Shell?

I use the Fish shell in Mac OS X and I cannot figure out how to install pythonbrew. Is this possible and if so how? What I think I need to figure out is how to convert the following for my .bashrc to ...