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

7
votes
1answer
92 views

How to “chroot” a terminal inside a DMG?

I'm doing security research and for that purpose I use an SHA-2 encrypted DMG to store the tools and files I work with (containing confidential client info), to protect them from forensic examination ...
5
votes
1answer
297 views

Environment Variables on Mavericks

I am trying to set an environment variable that will be accessible from both a GUI application (Pycharm) as well as from the Terminal. This variable is called PYTHONPATH. I have tried Setting the ...
5
votes
1answer
763 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
4
votes
1answer
58 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 ...
4
votes
1answer
91 views

System hotkey to execute cmus-remote?

I am a huge fan of the terminal-based music player cmus. It does everything I want from a music player and nothing I don't. I want to use it instead of iTunes on my Macbook. I installed it via ...
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 ...
4
votes
1answer
343 views

Printer Deploy with and custom preset profiles to Mac OS X workstations

How would I go about deploying a network printer (Sharp MX-2600N) to Mac OS X machines that would include a custom printer preset profile (Embedded Printer User Authentication Code)? Ideal Method of ...
4
votes
1answer
274 views

declare -x messages appear in my terminal. How can I get rid of it?

declare -x Apple_PubSub_Socket_Render="/tmp/launch-qoybJQ/Render" declare -x Apple_Ubiquity_Message="/tmp/launch-DWchNf/Apple_Ubiquity_Message" declare -x COMMAND_MODE="unix2003" declare -x ...
4
votes
1answer
282 views

Any way to write the Terminal scrollback history?

I would like to open a new tab in Terminal with custom scrollback history. The primary use-case is to "fork" an existing tab such that both tabs contain the same scrollback history, but more generally ...
3
votes
1answer
117 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 ...
3
votes
1answer
57 views

OS X Terminal displaying ö when typing |

It's the first time this has happened to me. Does anyone know why this could be happening? I think I configured something wrong in the keyboard settings. This is working fine in Word 2011, for ...
3
votes
1answer
974 views

enabling/disabling internet sharing with terminal in mac osx 10.9.2

Very much on the line of already existing questions, but not having enough reputation to comment by following existing threads, I can only ask my own, at the risk of duplicating may be, certainly ...
3
votes
1answer
124 views

How to find delay when launching new Terminal (iTerm)

When I press CMD+N in iTerm2 to bring up a new iTerm window, sometimes it takes 10 seconds before I get my prompt. If I immediately repeat the process, the whole thing takes 1 second. To me this ...
3
votes
1answer
202 views

Changing the range of addresses served to clients connected via Internet Sharing

Macbook Pro Running 10.7.4 attempting to share ethernet connection via Airport(Wi-Fi) and trying to serve 192.168.1.x addresses to connected clients. I've tried the guidance provided here and the ...
2
votes
1answer
35 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 ...
2
votes
1answer
41 views

Mac OS X (10.9.2) Terminal: Getting Weird Characters ~$â

out of nowhere I am getting the following weird characters: $â followed by a paragraph sign. See the below image for more detail: Also note where the white cursor is: it's basically 'one-off' so ...
2
votes
1answer
43 views

Change user name

I had to change the admin user name of a new Macbook because his sons name kept showing up, Home Folder etc, So I used, 'sudo mv /Users/oldusername /Users/newusername' and Advanced Options in User ...
2
votes
1answer
33 views

How do I forcibly shut down a specific application at a pre-determined time?

I don't know if there's an available app or perhaps a terminal command, but I'd like to forcibly shut down a specific application at a specific time, without the option to cancel. I'd like it so I ...
2
votes
1answer
31 views

Copying only files without a special string in filename

I have to copy only files from a folder that don't have following string in its filename: NNNNxNNNN (a 3 or 4 digit number followed by the character x followed by a 3 or 4 digit number again -> it's ...
2
votes
1answer
117 views

Hard Drive Formatting Error in Terminal

I have tried formatting and partitioning this brand new hard drive and it has failed on multiple computers using multiple methods. It is a LaCie Porsche Design 4TB hard drive. Here is the commands I ...
2
votes
1answer
107 views

Weird OS X Terminal Bug: Cursor won't go back to end of line after backtracking

I have an interesting problem: when I type something in the terminal as follows: ~ me$ hello<cursor> and backtrack: ~ me$ he<cursor>llo and then try to return to the end to continue ...
2
votes
1answer
77 views

Equivalent of Ubuntu’s write-mime-multipart?

I would like to generate a multipart mime-encoded document for use as user data on EC2 instances. On Ubuntu, one is supposed to use write-mime-multipart to do this, as per these instructions. Does ...
2
votes
1answer
80 views

Safest way to copy files to AirPort Disk from the command-line?

I have just started using an AirPort disk (a Drobo connected by USB to the AirPort Extreme). I am trying to decide what is the ‘safest’ way to copy files to the Drobo from my MacBook Pro, which ...
2
votes
1answer
67 views

How can I give a Space a custom name?

I'd like to give my Spaces helpful names like "Graphics" and "Communications" instead of using confusing, generic names like Desktop 1 and Desktop 2. Is there a way to accomplish that through a ...
2
votes
1answer
216 views

Exclude all .git or .svn folders from Spotlight index

I would like to exclude all the .git and .svn folders on my hardrive from the Spotlight index. I know I can manually add them through the GUI but since they are many of them, and often new ones, it ...
2
votes
1answer
77 views

Command+Tab misbehaving for apps on multiple monitors

I tend to keep a few Terminal windows open in one monitor, and another Terminal window and Chrome open in another monitor. When I'm using a single monitor, pressing ⌘⇥ remembers which Terminal window ...
0
votes
0answers
520 views

Why is one specific shared folder not visible in finder

Using SMB to connect to a Windows shared folder and there is a specific folder inside that share that does not show up in the Finder. A couple odd points to this: I can ls from the terminal and the ...
0
votes
0answers
69 views

Opening Terminal shows a list of ttys - unable to use

Having the latest Mavericks installed, I tried to update PATH using nano and creating a .bash_profile file. I'm not sure what happened, but now when trying to run Terminal all that shows is a list of ...
0
votes
0answers
36 views

Cannot return to EOL after leaving in Bash vi mode

In terminal, after leaving the EOL in bash in vi mode, I cannot return to it, which makes it quite annoying to delete the last character. To replicate, with blank bash_profile and inputrc, set ...
0
votes
0answers
117 views

What is the limiting factor in /dev/zero speed?

I have installed 4 brand-new SATA hard drives in a mac pro. My OS is running on a fifth drive (SSD). I run this command pv /dev/zero -tpreb | sudo dd of=/dev/rdisk1 bs=512k for many hours to ...
0
votes
0answers
91 views

How to send photos from Mac to Photo Stream manually

No iPhoto, no Aperture, just want to send/upload a photo using my Apple ID and browser/finder/terminal (on Mac) to Photo Stream on iCloud. Thanks.
0
votes
0answers
226 views

how to activate yadr after installing `ho my zsh`?

I have installed yadr and then ho my zsh how do i revert and activate yadr ? I have googled and found only how to uninstall ho my zsh: ...
0
votes
0answers
280 views

Programmatically setting Terminal default settings for all users?

I'm trying to set up some standard terminal settings for all users across our system on all machines. I've tried to use the defaults write cmd in a LoginHook script, but since it seems that terminal ...
0
votes
0answers
411 views

Which mail daemon does OS X 10.8.4 run by default?

I'm debugging some mail related stuff on my Mac, and not quite sure how my system is even sending mail. I can run a simple command like date | mail -s test myemail@mydomain.com and receive an email ...
0
votes
0answers
52 views

Compiling a gimp plugin

I wish to compile the Gimp plugin "Save for Web" on Mac 10.8.4. I use brew for package management but libgimp2-dev is missing. I've downloaded Gimp 2.8.6 from here . I've downloaded the latest ...
0
votes
0answers
180 views

Why am I getting these errors when trying to install php 5.5.0?

So I am trying to upgrade the native php installation on my mac and i keep getting these errors: ld: library not found for -ljpeg clang: error: linker command failed with exit code 1 (use -v to see ...
0
votes
0answers
47 views

Is it possible to check which application has accessed a file last?

I can check when a file was accessed last with ls -lu path/to/file | awk '{print $6,$7,$8}' but can I also see what application accessed it?
0
votes
0answers
136 views

I am having trouble getting apache to work via terminal on mac os x 10.8.3

I am a beginner with the terminal app. - I think , while following a tutorial for creating a user configuration file for apache, that I messed something up internally with apache. I cannot even access ...
0
votes
0answers
307 views

Where did tab completion go?

Recently, in both Terminal and iTerm, my tab autocompletion has stopped working. About 80% of the time I just get the error sound when I hit TAB. About 20% of the time I get the expected behavior. ...
0
votes
0answers
60 views

Recreate unknown users on crashed mac

About a month back one of our Macs crashed and we had to restore it. The computer had an external drive connected to it and all the data is still there. Though some of the users are "missing". If we ...
0
votes
0answers
169 views

OSX Removing file under a “.vol”

I have a file I want to remove that's stored inside a ".vol" 501   9984 Corel Painter 1  16 /.vol/16777218/29979256/nTitles Product Licenses IV I received this by running sudo opensnoop -n Corel ...
0
votes
0answers
408 views

libicu-dev: Package not found by apt-get

I try to install libicu-dev using apt-get sudo apt-get install libicu-dev And i get the error E: Couldn't find package libicu-dev I tried apt-get update but that didn't change a thing. Fink ...
0
votes
0answers
2k views

Can't install Homebrew on MacBook Pro, password field won't input

I need to install Homebrew. I am unable to input the password when prompted in the Terminal - nothing happens when I type, only when I hit enter. I follow the instructions specified in the book I'm ...
0
votes
0answers
180 views

terminal ask for ssh passphrase every time

I'm relatively new in the Mac world, and right now I'm having a problem with Terminal. Every time I open Terminal (new tab or new window) I have to insert the SSH pass phrase. Why? How can I ...
0
votes
0answers
568 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
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 ...
0
votes
0answers
374 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 ...
0
votes
0answers
509 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 ...
0
votes
0answers
295 views

How to make the display go to sleep mode when Lion's Terminal.app is in full-screen mode?

I've noticed that when I'm running a full-screen Terminal.app in Lion, the display does not go to sleep. This left me with a nasty case of burn-in over the weekend with a magenta message box from an ...
0
votes
0answers
279 views

PERL is frozen in Mac OS X Lion

I've upgraded to Mac OS X Lion. After that, I've updated MacPorts to the newest version (2.0.1) and updated Perl as the following: [Khang-Le-Nguyens-MacBook-Pro:~] khanglenguyen% perl -V Summary of ...