Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

1
vote
1answer
141 views

How to make red distinguishable from grey in Terminal profile “Pro”

The default for Terminal.app profile Pro is a black background with ANSI colors. Since the background is black the preferred color setting for Vim is background=dark. In this combination red text ...
2
votes
1answer
188 views

Remember Kerberos tickets after reboot

I need to use Kerberos to connect to my network at work. The built-in kinit and ssh in Lion work fine for me. However, I need to get a new ticket and re-enter my password every time I restart the ...
3
votes
1answer
305 views

vim not working under iTerm2

Basically, vim behaves strange under iTerm2 (it works normally in Terminal). It sets the cursor in a non existing lines, it displays garbage (content from other lines) when I try to edit a line in a ...
1
vote
1answer
144 views

Terminal won't choose new window settings at startup

I've been running into an odd behavior on 10.7 where editing Terminal preferences to launch a new window setting via "On startup, open" doesn't result in the changed terminal after a quit/launch. ...
0
votes
1answer
63 views

how can i get url of the application is connected to server?

I want to grab server url of each application that is online with that. Ex. twitter app -> http://twitter.com/... Ex. Tweetdec app -> http://client.tweetdec.com/... Ex. itunes app -> ...
2
votes
1answer
970 views

Warning message when trying to change Standby mode settings

I tried changing the Standby mode settings using the command sudo pmset -a standbydelay 5400 . I set it to 5400 so that it is delayed to 1.5 hours compared to 70 minutes as default. However, I get ...
0
votes
1answer
620 views

“Too many open files” - how can I set the ulimit -n value for emacs on Lion?

I've seen other questions covering the topic of how to set the file limit on Leopard/Lion. For example: How to properly increase ulimit -n on Lion? Too Many Open Files But after reading ...
12
votes
2answers
400 views

How do I use AirDrop from the Terminal?

Is there a way to share a file over AirDrop via Terminal on Mountain Lion? How so?
0
votes
0answers
298 views

“Missing Quartz Composition” displayed on TotalTerminal

I started using TotalTermianl on Mountain Lion. But the background have Missing Quartz Composition error. I have found some people had the same as mine here Do anyone know how to fix it??
0
votes
0answers
287 views

Bad CPU in Executable Trying to Install Ruby

I'm running Mountain Lion, and I'm trying to install Ruby; however, I get "bad CPU in executable" error. Not sure how to fix this . . . ideas? Sorry for the bad formatting - "code" doesn't really ...
0
votes
2answers
142 views

How can Apple provide GNU tools?

I am a web developer and am wondering why os x comes a long with a lot of gnu tools (nano, bash, vim). How can apple provide them in their closed-source system when the GPL forbidds this? Regards, ...
1
vote
1answer
186 views

Mountain Lion Figlet through MacPorts error?

I've just installed Mountain Lion, Xcode 4.4.1 + command line tools, and MacPorts for ML. It's working for other packages but I can't get figlet to install. When I use sudo port install figlet in ...
0
votes
0answers
21 views

How to edit mp3 tags from command line with native api calls [duplicate]

Possible Duplicate: Is there a good command-line ID3 tool for OS X? With mdls most (not all) of the ID3 tags can be listed. But how to modify them. From iTunes one can edit most of the tags ...
2
votes
1answer
486 views

Terminal uses one theme for the first window and a different theme for later windows.

I want to set the "Homebrew" theme to be the default in Terminal. I've changed the setting in the preferences: I chose "on startup, open" : "new window with settings" : "Homebrew". Here is a ...
1
vote
1answer
75 views

How to use pipeline in Terminal

I'm trying to convert a P12 file to a PEM file. When I execute the command, the terminal asks me for three things: P12 passphrase (I type it in, hit enter) PEM passphrase (type it in, hit enter) PEM ...
2
votes
3answers
4k views

Use curl to download images from website using wildcard?

Is there a way to use curl to download non-sequential images with a wildcard? I want to download all the panoramas I upload to my account at 360 Panorama to a local folder so I don't have to do this ...
0
votes
1answer
315 views

How can I set and use a PATH component with blanks in bash?

I have Mathematica 8 installed on my OS X Mountain Lion laptop. I want to set my PATH so that I can run either MathematicaKernel or Mathematica from the command line. To this end I have configured my ...
0
votes
0answers
641 views

How to enable iCloud Notes behind a firewall?

I got a problem at work were our firewall blocks the iCloud / Notes sync. How can I SSH tunnel iCloud traffic through my Linux server?
3
votes
2answers
1k views

What terminal commands are new or updated in Mountain Lion?

Where can I find a list of new or updated terminal commands or features for Mountain Lion? Lacking any list, does anyone have a sugguestion on how to generate that list? (some combination of ls ...
3
votes
2answers
2k views

Using Terminal, how can I find which directory is my USB drive mounted in?

I am using Terminal and have looked through directories. I just can't find where my USB drive its directory is. Which directory is my USB drive mounted in?
4
votes
2answers
290 views

How to reset the terminal before command execution?

I've been looking at spicing up my Terminal experience by among other things, adding some color. I used the tput command to build a nicely looking prompt. This is part of my .bash_profile: ...
3
votes
1answer
310 views

How to have terminal close tab when shell exits?

I just recently upgraded from 10.6 to 10.8. On 10.6 I could set the terminal to close the tab/window when the shell exits. Mountain Lion's terminal just says the process is completed and the ...
27
votes
4answers
2k views

Is there a way to access a Mac's geolocation from terminal? (Mountain Lion)

(Note the Mountain Lion update at end of question) Some GUI apps use OS X location services, but I want to retrieve a Mac's physical location from the command line. This could be useful for running ...
2
votes
1answer
4k views

For a startup volume encrypted with Core Storage, System Preferences show that FileVault is disabled

My iMac has a SSD and a HDD. The OS is installed on the SSD. I performed a clean installation of Mountain Lion to the SSD, and cloned my SSD using a backup from my Time Capsule in OS X Recovery. ...
0
votes
0answers
199 views

Mac OS X Lion xterm service behaves differently between Automator and keyboard shortcut

I created the following "Run Shell Script" service in Automator under Mac OS X Lion 10.7.4: export DISPLAY=:0 /usr/X11/bin/xterm -title "Kevin's Xterm" -sb -sl 500000 -geometry 150x25 & and ...
0
votes
3answers
127 views

Producing/archiving an overview of a directory structure

I try to find a way to make an archive of my ~/ directory so that I can go back in case I've lost something. I've found several recommendations for this. The first being OS X Hints saying a simple ls ...
0
votes
2answers
233 views

How can I connect Linux server with Applescript using iTerm or Terminal?

I want to connect and run bash script on Linux server automatically by using Applescript and iTerm or Terminal on OS X. How can I connect Linux server with Applescript use iTerm or Terminal?
3
votes
2answers
897 views

Get disk temperature in terminal

Is there a command I can use just to get the hard disk temperature in the terminal? Is this possible without a third party app?
1
vote
1answer
366 views

Set terminal window title in a script

I would like to change the entire title of the terminal window for a particular bash script. I googled out but I couldn't find much more than this suggestion: printf "\e]0;My Custom Title\a" After ...
0
votes
2answers
544 views

How to change the color and format of the static host/path/user string in the Terminal or iTerm?

Example: cookie:~ j$ date Sun Aug 5 02:14:29 CEST 2012 cookie:~ j$ Just as it's pasted here, all three lines are of the same color. I would like to have "cookie:~ j$" or at least part of the ...
0
votes
0answers
1k views

Installation of Wine via MacPorts not working with 10.8 and XCode 4.4

I had installed wine on my computer with then 10.7.4. It worked perfectly. Then I updated to 10.8 and wine did not work, so I uninstalled wine and macports. It gave me an error that winetricks (I ...
1
vote
2answers
151 views

What is the format I should write the command to SSH into Linux VPS?

I am trying to use SSH and log in from the terminal into a Linux VPS. I have tried a few variations around the following: ssh [user]@[hostname].[my.ip.address.xx]:22 and keep getting: ssh: Could ...
5
votes
3answers
2k views

Open an app in fullscreen via Terminal

I wonder if it's possible to open a program in Lion fullscreen mode via the Terminal. I want to write a short script which starts a bunch of programs in fullscreen mode, so that I only have to click ...
0
votes
0answers
284 views

How can I play a sound from the command line running as sudo?

While typing afplay danger.mp3 in the Terminal will play the .mp3, doing sudo afplay danger.mp3 or sudo su and then afplay danger.mp3 does not. Any idea why is this? How can I use the afplay command ...
3
votes
3answers
4k views

PHP 5.4 Installation on Mountain Lion

I just installed Mountain Lion, and of course I've had to set up Xcode Command Line Tools, reinstall Git, and do other things to get up and running again for programming. Naturally, PHP was pushed ...
9
votes
2answers
7k views

How to fix Terminal error DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid?

Any time I open a new terminal window (independent of terminal app), the console stderr displays dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or ...
0
votes
1answer
104 views

Is it possible to first enter a command and then choose “run in Terminal” in Quicksilver?

Is it possible to first enter a command and then choose "run in Terminal" in Quicksilver? Is there another way of doing it other than Quicksilver (though I would prefer Quicksilver)?
9
votes
2answers
1k views

What has changed in Terminal.app in OS X 10.8?

Just upgraded OS X to Mountain Lion and noticed that Terminal.app version has changed from 2.2.3 to 2.3. Unfortunately, can`t find any information about what has changed. Do you know if there is any ...
0
votes
1answer
165 views

$PATH error on a terminal

Before you raise your pitchforks, this is NOT another "How do I change my $PATH variable value?" question. I had installed Oh my zsh on my machine(Macbook Pro), and didn't like it. So I uninstalled ...
1
vote
1answer
706 views

error: There was a problem with the editor 'vi' when using it with git

I have this strange problem with using vi as the editor for git commit -a. Normal flow is: I type git commit -a, vi appears, I enter my commit message, and then :wq to save & exit from vi. This ...
2
votes
2answers
15k views

How can I re-run the initial Setup Assistant on Mountain Lion?

As described in my write-up on custom keyboard layouts, in some situations it can be useful to re-run the Setup Assistant (the app that you get when you start a new Mac for the first time, or do a ...
4
votes
1answer
256 views

How to share history between terminal tabs?

I generally find myself using two or three tabs in my Terminal on OS X. A minor inconvenience is often that the tabs don't share a command history. So things like history | grep thingIamlooking for ...
0
votes
1answer
200 views

How can I access a remote machine via SSH from behind a proxy?

I’m trying to connect to a Linux machine via SSH. The problem is that my Mac is in a different network, behind a proxy that routes HTTP and HTTPS through port 80. How can I access the Linux machine ...
29
votes
3answers
13k views

How can I trigger a Notification Center notification from an AppleScript or shell script?

I'd love to be able to take advantage of 10.8's Notification Center features in AppleScripts and shell scripts I write. Is there a built-in command or a third-party library I can use from either an ...
0
votes
0answers
217 views

ifconfig - get IPs of connected USB devices

In Ubuntu, ifconfig lists all the USB devices with the header "usb0, usb1, ..etc" I need to know the IP addresses of all the connected USB devices. It would be really helpful if on Mac it displayed ...
7
votes
3answers
11k views

How do I check the download progress of Mountain Lion through the terminal?

I am downloading Mountain Lion, I know I can monitor download progress through the Mac App Store purchases screen but I want to know if I can monitor progress through Terminal.app using a shell ...
1
vote
1answer
82 views

difference between disk size in console vs disk utility

Console results df -h disk utility results What explains the large difference here in capacity as well as used memory? And which is more reliable.
0
votes
1answer
139 views

Can't create alias for 'nano ~/.bash_profile'

I tried to make an alias to edit my bash profile, but when I save and relaunch a new window, I get the following: Last login: Sun Jul 22 12:00:25 on ttys001 -bash: alias: nano ~/.bash_profile: not ...
1
vote
2answers
494 views

Mac: how to securely delete an SD card?

Nothing I have tried gives me read/WRITE access to my SD card from my Canon camera. How can I secure-delete before selling the card on eBay? (the lock switch is on: unlocked - tried the other position ...
0
votes
1answer
119 views

Applescript to monitor terminal changes

I want to be able to check if a word appears in a terminal window running a java application and then display a notification. Any ideas?

1 5 6 7 8 9 18