The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

12
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
66 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
51 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 ...
28
votes
5answers
37k 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 ...
14
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
2answers
1k 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
39 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
28 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
51 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 ...
3
votes
3answers
11k 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
34 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 ...
6
votes
4answers
7k 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
10k 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
65 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
23 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 ...
3
votes
2answers
2k 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
28 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
30 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
61 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
220 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
49 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
206 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
43 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
4k 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
32 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
41 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
195 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 ...
8
votes
3answers
7k 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
26 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
53 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
241 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
893 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
142 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 ...
1
vote
0answers
89 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
101 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 ...
0
votes
0answers
20 views

Why did my terminal suddenly contract?

I logged on to my account and was surprised to see something weird with my terminal: What's going on?
15
votes
10answers
16k views

Mac OS X - Could not start Terminal.app - shell has illegal value

I can not run the Terminal.app after rolling back my system from time machine. Mac OS X Version 10.6.2 It displays the following error. "Your are not authorized to run this application" "The ...
5
votes
2answers
2k views

How to compile Rarcrack for Mac OSX?

I have a rar I desperately need whose password was saved as a file on a site that no longer exists :(. I'm running it on a mac osx 10.5.8 and have never used the terminal before but I figured out ...
2
votes
1answer
616 views

ip command in Mac OS X terminal

I use the command ip link in Linux. Now I want it on Mac OS X, but the Mac OS X terminal doesn't have ip. What should I use instead?
0
votes
1answer
98 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
171 views

Keystrokes and commands for my inputrc — key-combination for “Shift-Space”, remap “Ctrl-PageUp/PageDown” to something without Page-keys

I need to add some things to my inputrc. I'm using bash 4, as OS I'm using debian and OSX. My terminal emulators are rxvt-unicode-256 on debian and Terminal.app on OSX. My new macbook has no ...
0
votes
2answers
68 views

iTerm2 & Terminal Giving >> [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$

I opened iTerm2 and it changed the prompt to.. [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$ I have no idea how this happened, and I can't figure out how to change it. I went to terminal ...
3
votes
1answer
735 views

Disabling AppNap for Terminal

How do I disable AppNap for Terminal? Get Info on Terminal does not have Prevent App Nap check box An alternative is to turn the NSAppSleepDisabled flag on, but will it actually work? $ defaults ...
5
votes
5answers
9k views

How do you get a shell on a Mac?

I have never used a Mac before. I recently went to an Apple store and tried to open a shell to try it out. But, I was not able to open a shell - no shortcut for it, not right-click-menu entry, ...
0
votes
1answer
145 views

Command not found on (Terminal) iMac [duplicate]

Possible Duplicate: How do I reset the $PATH variable on Mac OS X? When I open terminal and type the ls command, it says: command not found. I found a link that resolves the problem, but ...