The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

0
votes
0answers
12 views

Run command on startup (Mac OS X)

I need to run the command: sudo apachectl stop So that my database web server can handle incoming requests instead of the Apple server. However, this does not survive a restart. I tried setting up ...
7
votes
4answers
15k views

How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion? [closed]

I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly. I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ...
0
votes
1answer
31 views

Vim starts with beginning of a “change” command

I'm having an issue with vim startup. Whenever I run vim somefile, it starts as though I pressed c just after startup. So, if I then try to immediately jump to the end of the file with G, it instead ...
0
votes
3answers
312 views

How can I Pbpaste an image in to the command line?

Current use case: I select "copy image" on some random png in safari. I type pbpaste into terminal, and get the link to the image. Is there anyway to get the binary data instead?
3
votes
3answers
120 views

OS X Find and RM recursively through folders with spaces in the names?

WD My Cloud NAS added hidden .wdmc folders to every folder with a jpg without notifying or asking me first. There are many hundreds on my NAS drive. It has something to do with their media server ...
0
votes
0answers
10 views

Move Mac Terminal tab to right/left

Is there a way to set a keyboard shortcut to move a tab in OSX Terminal app to the left or right (note that I'm not asking for a shortcut to move to the tab to the right or left but to move the tab ...
2
votes
1answer
97 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 ...
3
votes
5answers
648 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 ...
1
vote
4answers
119 views

How to move only files with other equal filename but different extension in the folder

I have a lot of folders, some with mp3 files only, others with m4a files only, other with files of both extensions. I need to identify which folders have files in both extensions, then move the mp3 ...
39
votes
6answers
20k views

Mac OS X Terminal: mouse support?

Is there a native option (ie. without installing extra soft/package/plugins) to enable mouse support in the Terminal app? Actually, I'm using a lot vim with the option set mouse=a (activating mouse ...
13
votes
2answers
4k views

Resume Zsh-Terminal (OS X Lion)

OS X Lion has "Resume" feature, i. e. when you reopen an app it restores all windows and their contents. That works for Terminal as well. But if you use Zsh instead of Bash it doesn't restore opened ...
1
vote
1answer
67 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 ...
6
votes
3answers
2k 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 ...
0
votes
2answers
54 views

Mac OSX Terminal: Copy Window Contents

I am running a java script, which has some text output. I'd like to copy/paste that output. If I do ⌘-A, it copies everything that's been typed that session, even if I typed clear beforehand. How can ...
30
votes
5answers
39k views

Mac OS X keyboard shortcuts for terminal

After googling for some Mac OS X terminal shortcuts, I wanted to find how can I go back characters on a line on the terminal or words or similar. I found ALT + B but it does not work. Do you know ...
0
votes
2answers
2k 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 ...
15
votes
3answers
9k views

Mousing and Page-Up/Down in Terminal for Mac OS X

Compared to *nix, Terminal.app seems pretty lame. How can I get it to: Send Page-Up/Down to an application, instead of just scrolling the terminal output Mouse around in vim. set mouse=a isn't ...
1
vote
1answer
2k views

Perl for matching with regular expressions in Terminal?

I'm trying to familiarize myself a little with Perl to use for regular expression searches in Terminal (Mac). Now, I'm not really looking to learn Perl rigourously, just trying to find out how to do ...
0
votes
0answers
87 views

When opening Terminal: “NO LOGINS: System going down at 01:10”

I'm trying to get a terminal open, and I get this message: NO LOGINS: System going down at 01:10 Login incorrect login: *myname* Login incorrect login: It doesn't prompt for my password. This ...
0
votes
1answer
35 views

Cancelling shutdown -h command on Mac

I usually use the command sudo shutdown -h +60 from the Terminal on my Mac. Although I'd like sometime to cancel the scheduled shutdown or postpone it. Is there a command to do so? If yes, how?
1
vote
0answers
71 views

Need to reset OS X terminal AFTER logging out of Ubuntu (ssh + zsh)

I have a problem I cannot understand, and cannot debug for the life of me. I run Mac OS X 10.9.2 (latest) and use Terminal.app and zsh as my shell. A server I work remotely on runs Ubuntu 13.04 and ...
6
votes
3answers
13k views

Does anyone have a Mac Terminal script to remove hidden files?

My car stereo can play music from USB flash drives, so I asked about copying MP3s from an iTunes playlist. That worked fine, but my stereo wouldn't play the MP3 files. I eventually put the flash ...
2
votes
0answers
43 views

OSX text-to-speech: key words are badly synthetise in French. How to overcome?

OSX has a great Text to Speech (TTS) feature, but I noticed some limitations. I set OSX 10.9.2 in French with French TTS voices. The words "pages", "user", and pseudo-word "fire" for example are not ...
13
votes
3answers
3k views

Copy colored output from Mac OS X terminal

I see a nicely colored output in my terminal. The terminal has a "Export Text As" command but it saves a plain-text file without the colors. Same with copy&paste. Do you know a way to save ...
7
votes
4answers
8k views

How to send F9-F12 to curses program running inside Terminal.app?

F9-F12 are used by Mac OS X, and I don't want to get rid of them, I just want to be able to send F9-F12 occasionally to programs inside terminal (mostly F9/F10). Some programs like mc support ...
8
votes
3answers
11k views

Cannot use F10 key in Midnight commander running in OS X's terminal

I connect to my server from Terminal in Mac OS X 10.5. When I run Midnight Commander there I cannot use function keys like F10 to close MC even I cannot use mouse to control MC. Any idea why function ...
0
votes
1answer
135 views

Setting custom (Powerline) fonts in the default OSX Terminal app

I was able to set a custom font in Iterm 2 by setting the Non-ASCII option in Iterm's setting. I was not able to find a similar option in the default Mac OS Terminal. How can I do this for Mac OS ...
0
votes
0answers
28 views

Terminal program for macintosh osx that can display 80x24 characters in full screen?

Is it possible to get the Terminal app in Macintosh OS X to display 80x24 characters while in full screen mode? I have been fiddling with different font sizes and character spacings but never been ...
4
votes
2answers
3k views

How to stop and start dropbox.app in Apple Terminal?

How to stop / start dropbox in the Apple Terminal? dropbox stop works when using Oracle Linux, but not within Mac OS 10.6.8.
0
votes
1answer
34 views

How can I launch a new Terminal in OSX with a specified profile from the command line?

I found the same question and a strong answer on SO: http://stackoverflow.com/q/4404242/147265 I'm looking to launch new terminals from the CLI in a different profile than my default. My current ...
0
votes
1answer
32 views

execute Shortcut on terminal mac os x

I have an application on another mac as mine, the software is still open, there are keyboard shortcuts that allow to perform tasks, I would like to execute shortcuts via the terminal from my mac.
0
votes
3answers
67 views

Cannot save the output from a unix executable

I am attempting to save the output of an application I wrote. When I try to save the output by redirecting stdout the file that it results in is blank. This is what I am typing into Terminal.app (OS ...
6
votes
3answers
238 views

How to identify the terminal from a script?

And don't say "$TERM" – it's always xterm. How can a bash script tell what terminal it's running in, specifically whether it's iTerm, Terminal.app, or actually an xterm? I ask because reset does not ...
0
votes
0answers
60 views

Mac OS X Terminal Error: undefined method `grep'

Every time I enter a command, or even just hit enter, in Terminal I get this line below the output: -e:1:in `<main>': undefined method `grep' for #<String:0x007feea31354b8> ...
2
votes
1answer
223 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 ...
1
vote
1answer
121 views

How do i unzip files from a nested folder?

Say i have the following .zip file: ZipFile.zip /zipfolder/ this.file that.file theother.file When i try: unzip ~/path/to/my/ZipFile.zip -d ~/path/to/my/destination/ ...
1
vote
3answers
5k views

Reset Mac OS X Terminal to default

I accidentally renamed my "Basic" terminal profile under Terminal -> Preferences -> Settings. I renamed it back but this got me wondering if there was a way to reset all terminal settings to defaults. ...
0
votes
3answers
34 views

Is it possible to set terminal to open at login on a mac?

After taking a computer architecture class, I noticed I've been using my trackpad less and less and instead relying more on keyboard input to open, edit, create files, folders etc. But I have to ...
0
votes
0answers
48 views

More than one UserEventAgents

Recently I was checking my processes network usage in Mountain Lion using "nettop d". I noticed something odd. I always have two UserEventAgents in my nettop list with different pids. And there is of ...
1
vote
4answers
2k 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 ...
2
votes
1answer
324 views

Open terminal app with multiple ssh tabs

I work on a Mac with Lion (10.7.5). I want to create a clickable desktop shortcut that will open the terminal app with multiple tabs where each tab is an ssh session to a remote machine. What is the ...
9
votes
3answers
8k views

What's the difference between ^C and ^D for UNIX/Mac OS X terminal?

When I try to stop something, I use ^C and sometimes ^D in terminal. What's the difference between the two? Why some program doesn't respond to ^C, but ^D. Why the Terminal.app just quits when I use ...
5
votes
5answers
3k views

Arrow keys don't work in htop on OS X in Terminal

Not sure when it happened, or what I did (if anything), but my arrow keys don't work in htop anymore to scroll around. They used to though. You should be able to press up and down to scroll up and ...
0
votes
1answer
30 views

iTerm2: fix for choppy/jumpy cursor movement?

I just started using iTerm2 and I'm loving it, except that cursor movement is smoother on the Terminal.app that comes with OSX. I have my key-repeat speed pretty high, which makes it more noticeable. ...
0
votes
2answers
58 views

Redirect a cat command when using wildcards as input

I have the following command that takes a certain part of a file in the current directory, writes it to a temporary file, gets a part of another file one directory up, writes it to a temporary file ...
0
votes
1answer
385 views

Save a remote server (ssh) connection including password on Mac Terminal

Can I save an SSH connection similar to the answer to this question but including the password?
2
votes
3answers
1k views

Display PDF content in terminal (just like using “less” with txt)

I was just wondering if there is a way to display content of a PDF file inside terminal, just like doing less file.txt but with PDF files.
0
votes
0answers
204 views

Highlight 'Cursor' in Vim using Terminal.app

When I'm using Vim in Terminal.app it becomes very hard to se the characters under the cursor. In Terminal.app I can only specify the cursor color but not the color of cursor text like in Iterm2 for ...
2
votes
0answers
93 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?
3
votes
3answers
120 views

Mac OS X Terminal - Naming SSH Connections?

The short question is that I'd like to know if it is possible to give ssh connections 'friendly' names in terminal? My long reasoning is... I've got several server clusters running behind a single ...