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
0answers
3 views

Disabling “access to contacts” dialog box with terminal

I am trying to disable the following dialog box that pops up all the time when I open Mail.app: Is there a way to do so using terminal? Thanks!
2
votes
1answer
30 views

How can I tell what model iDevice is plugged into my USB via Terminal?

This website has a useful list of the various iDevice models. And the "identifier" column is helpful for any iOS developers, as this is the string you can fetch in your application to determine what ...
0
votes
1answer
25 views

Can I launch the File (Save/Open) Dialog from the command line?

Bash and vim's file completion facilities are effective for navigating through a few levels of a directory structure, but can be cumbersome when working with unfamiliar directories. Alternatively, I ...
2
votes
3answers
587 views

Sync apps preferences between multiple Macs

I tend to keep all my stuff in Dropbox. Now that I bought a second Mac, I thought that keeping also my applications preferences in Dropbox would have been a good idea. I managed to sync some of the ...
2
votes
1answer
20 views

Keeping Finder in sync with changes made in Terminal?

Until Yosemite, I could work in the Terminal and file system changes would be immediately updated in Finder. Now, however, Finder seems to be out of sync with the filesystem. Finder shows files I have ...
3
votes
0answers
75 views
+50

How to spoof a USB-Ethernet adaptor Mac address in OS X

I've recently bought a usb-ethernet adapter (not apple) and I get internet connection. In my university we have to put a specific mac address but I can not change it. I have tried with sudo ...
4
votes
1answer
55 views

Launchd starts event 40 seconds later?

I've created a .plist file, which should act as system daemon (global with root user). This .plist file listens to the settings directory for changes like changing network settings. When this happens ...
0
votes
1answer
16 views

Is there a way to immediately exit a hanging connection in Terminal?

I often have SSH connections through Terminal that stop responding (like if I've left it overnight) but when I try to use the dead connection Terminal doesn't respond for several minutes until: Write ...
0
votes
0answers
5 views

Path Finder 7: Using Terminal at bottom - not able to place @ sign

I am having troubles to place the normal @ (at) sign in the terminal in path finder. I do have German keyboard Layout, which means the @ sign is "option/alt + L". Simply nothing happens. Did someone ...
4
votes
2answers
137 views

How can I get 256 colors on the default Terminal over SSH?

Lots of similar questions, but I can't quite seem to find anything that is an exact match. I am using the default Terminal (in Yosemite) to SSH into a VM. The VM's terminal is set up to use ...
0
votes
0answers
9 views

Specifying network device used by software (or port) (in Terminal)

Is it possible to specify which network device should be used when running something in the Terminal? Like $ rails [only communicate through deviceA] Not just app, but instance specific, so ...
78
votes
23answers
73k views

OS X Terminal “must have” utilities

I've just read with pleasure, and learned a lot from these questions : OS X Terminal Tips and Tricks OS X Hidden features and nice tips & tricks OS X Applications you can't live without But I ...
18
votes
9answers
2k views

Case-insensitive ls sorting in Mac OSX

How can I make the ls command in Max OS X Lion sort files and directories similar to how Ubuntu Linux does (case-insensitive, directories NOT on top, dot files NOT on top)? Ideally I'd like to do ...
0
votes
2answers
346 views

What does update_terminal_cwd do in the terminal of OS X

I am puzzled by it for quite some while now. In $PROMPT_COMMAND of the bash in OS X, there is a command called update_terminal_cwd. I am sure it's not a bash built in, and most likely only exists in ...
0
votes
0answers
8 views

How can I get TexLive to install?

I just bought my third Mac, this one with OS 10.9.5. My previous one was stolen, but I had backed it up with Time Machine. When I started this one up, I connected the backup drive from the old ...
0
votes
1answer
18 views

Execute Terminal Command fails in BetterTouchTool. Why?

I've installed Ouimeaux to control a Belkin Wemo on OSX, and it's working correctly in Terminal - meaning that the following command in Terminal will toggle my Wemo switch on/off: wemo switch ...
0
votes
2answers
38 views

Percent character breaks Terminal

If I type the % character in the Terminal, it breaks that shell and every new shell I open until reboot: $ seq 10 | parallel -j50% "echo Hi {}" -bash: printf: `"': invalid format character Does ...
2
votes
7answers
3k views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
0
votes
1answer
28 views

Escaping variable in script

I'm using script.sh in an OS X Mavericks terminal containing only the following: echo ${1} ls ${1} Now, when I call ./script.sh "/Users/me/some\ directoy\ with\ whitespace/", the echo command ...
0
votes
1answer
37 views

SSH using IPV6 getting error “No Route to Host” On My Mac Machine

I am trying to ssh with ipv6 in my mac machine but I am getting error "No Route to Host". I can it successfully with ipv4. Can anyone guide me please if it require any network setting or else? I am ...
1
vote
0answers
14 views

Terminal 3 failed password attempts

I've got a really funny issue with my Mac at the moment. I was using a sudo command and it rejected my password 3 times (I double checked and the password was correct) but now I can't do anything as ...
0
votes
1answer
81 views

Yosemite 10.10.1 - ssh - no connection (time-out) and strange redirect

I hope I can get some help with a rather strange problem on my late 2013 MacBookPro running Yosemite 10.10.1 Up until 3 days ago, I could ssh into my server without any problems. I then updated to ...
0
votes
0answers
14 views

Terminal.app magically changing color values

Terminal.app does some very odd color shifting that makes it impossible to match colors consistently, and I'm wondering if there is any way to disable it or better control it. The "magic" is what ...
0
votes
0answers
7 views

Uninstall CheckPoint VPN Script Prompting For Password

When running the uninstaller sh script in the CheckPoint VPN package from terminal I get prompted for the usual authentication window. But the authentication window does not have focus so when I type ...
0
votes
1answer
27 views

SSH with ipv6 working only if I pass %en0 with my ipv6 address

I am trying to ssh with Mac OS X (10.10.1 Yosemite) terminal using ipv6. If I use command like ssh username@ipv6_address It's not working and I am getting error "No Route to Host". But If I use ...
4
votes
3answers
3k views

How can I download all MP3 files from a web site?

I am wondering if there is any software available in OS X that can download all mp3s or specific type of file from a URL. For e.g. I have a url http://www.parweztv.com/Khan%20Adeeb/SURA-04/ and I want ...
5
votes
4answers
2k views

Is there a way to remotely restart Finder (or wake-up the desktop) from SSH?

Over the last few months I've found my MacBook Pro is getting increasingly unwilling to wake-up if it's gone to sleep of it's own accord - not when I put it to sleep deliberately, but when the machine ...
1
vote
1answer
26 views

Terminal command to change Privilege of “everyone” to “No Access”

I want to change the privilege of a specific folder for the "everyone" group to No Access. I have tried chmod o--- that doesnt seem to work but I am most likely doing it wrong. I know that If I click ...
2
votes
0answers
27 views

Fish shell installation using homebrew - iconv libiconv error

I am trying to install Fish shell using homebrew using command: brew install fish But the installation fails with the following error: ==> ./configure --prefix=/usr/local/Cellar/fish/2.1.1 ...
0
votes
1answer
62 views

OS X Terminal – Open Tab in current directory, troubles with umlauts

I run OS X 10.7.5. I am currently experiencing an issue with Terminal. I have enabled the option to open new tabs in the current working directory. However, this does not work as expected, when the ...
0
votes
0answers
16 views

Damaged preference file in /bin/sh

Today in Drive Genius 3, I ran the “Verify Preferences” function in Repair. It yielded this strange result: /bin/sh: xargs: command not found The only option Drive Genius gives is to remove the ...
1
vote
2answers
178 views

My Press and hold accents have been disabled in Yosemite

I just got Yosemite and now my Press and hold accent capability seems to have disappeared with my old software. I tried using /System/Library/Input Methods/PressAndHold.app in Terminal to find Press ...
0
votes
0answers
22 views

opencv cmake not building

I've been trying to build OpenCV in a mac (Yosemite 10.10) using cmake-gui and the compilers gcc,g++ and gfortran given by MacPorts. I HAVE to use those compilers. I configured WITH_OPENCL to be OFF ...
0
votes
1answer
35 views

OpenCV library not installing after using cmake

I use Yosemite 10.10, and I need to build and install the OpenCV library using cmake-gui. I was able to configure and generate the binaries readily. But when I try to 'make' the library using the ...
4
votes
1answer
2k views

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
0
votes
1answer
18 views

In bash, can test -e look for a file with a semi-variable name using *?

I have an if then looking for a certain set of files. They all start with lib, so I could either set an if then up for each one or I was hoping there's a way I can use an asterisk. Here's what I have ...
1
vote
1answer
278 views

Meaning of MAC terminal command prompt

I was wondering if anyone could explain the meaning the command below in mac terminal: dhcp-74-148:~ Noticed it for the first time today and just wondering what it meant. Thanks
2
votes
3answers
170 views

Terminal: Is there a way to be notified of activity when tailing an error log

I often ssh into a machine and tail -f it's php error log. My ideal situation would be to leave this terminal window open in the background, but when there's activity from the tail command, have the ...
0
votes
1answer
1k views

Multiple instances of the Mumble client

I have tried command that I found and it works for second and after that second client closes. open -na /Applications/Mumble.app Other command that I tryied with the same resul. ...
5
votes
2answers
59 views

Accent popup in Terminal.app?

I was wondering if anyone has figured out a way to enable the press-and-hold accent popup in Terminal.app, where it does not work out of the box? Does not have to be press-and-hold, but some way to ...
67
votes
7answers
37k views

What is the difference between iTerm2 and Terminal?

I keep hearing that iTerm2 is much better than Terminal. I downloaded iTerm2 today and played around with it, but I couldn't see what is so much better about iTerm2. iTerm2 seemed just like Terminal. ...
11
votes
4answers
3k views

How can I play a midi file from terminal?

I'm looking for a most simple command line app (or an on-board tool on Mavericks I am not aware of) to play a midi file from the terminal. As plain as possible, something like play myfile.mid. ...
0
votes
1answer
26 views

Changing border colors

Border may not be the correct term for what I'm describing but I would like to change the color layout in OS X. That is, when I open a browser or the terminal, the borders are a light gray color. ...
0
votes
0answers
20 views

Terminal paste unreliable

I'm trying to paste text into Terminal (v2.5 build 343, I'm running Yosemite), and it seems to consistently omit characters. For example if I copy the following text to the pasteboard: ...
1
vote
3answers
69 views

Running a .sh file but after new PATH is not visible in shell

I am running a file ./setWLSEnv.sh which has the following output: http://pastebin.com/sSXRZd1s ...
0
votes
1answer
19 views

How can I automate port forwarding?

Is there a way in which I can automate port forwarding on the mac? I want to forward a computer to port 22, and my purpose of doing is so I can ssh from a remote location, making ssh easier. If so, ...
3
votes
1answer
6k views

How do I disable text antialias (font smoothing) in Terminal and globally for all apps?

I'd like to disable every kind of text anti-aliasing and font smoothing globally in OS X. With OS X 10.8 on a mid-2013 MacBook Air 13", I've tried quite a few options: the Turn off text smoothing ...
11
votes
3answers
12k views

Will Terminal show a progress bar when I copy with “cp”?

Is is possible to display a progress bar when copying files in Terminal using cp?
0
votes
1answer
136 views

how to get shell scripts to run at startup on Yosemite

There is a directory in System/Library for startup items I presume: StartupItems I need to have a shell script that will configure ethernet interface at start up, with local network address and ...
1
vote
3answers
84 views

Yosemite does not have ftp sharing option in file sharing preferences?

I have just obtained a Macbook Pro with Yosemite installed and am trying to connect to it from another host on the local network via ftp. The connection is refused. So I get into the preferences in ...