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

5
votes
1answer
227 views

Unable to format pendrive, diskutil error

When I insert my USB Pendrive in my iMac i see this message: I tried to format it both with DiskUtility and with diskutil command in terminal but I get this error: iMac:~ User$ diskutil eraseVolume ...
4
votes
1answer
223 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
255 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
84 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
169 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
25 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
41 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
28 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
64 views

Special character codes are displayed in the Terminal for diacritics when connecting to an Ubuntu Server

When I connect to an Ubuntu Server (ssh) and I try to see some text in the Terminal form the remote server, I get character codes instead of the appropriate text with diacritics. for example for a ...
2
votes
1answer
47 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
106 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
144 views

Homebrew: Easy way to add 'gnubin' to path for multiple packages?

I would like to use Homebrew to install GNU versions of several utilities, and use the GNU versions by default with their usual names. From the output of brew install gnu-tar and by reading How to ...
2
votes
1answer
69 views

Make terminal transparent to show wallpaper

The opacity option of the Gnome terminal in Ubuntu had a neat behavior, which showed the desktop wallpaper instead of the other windows behind it. Has anyone been able to make Mac Terminal, or an ...
2
votes
1answer
352 views

How to change fonts picked by Terminal.app to display languages other than English?

This is definitely and advanced topic and possibly needs a hack that I am willing to do. I edit Arabic files quite a lot. Arabic characters displayed by Terminal.app are not playing nice at all. To ...
2
votes
1answer
479 views

`open http://foo.com` and specify the chrome user which is to be used

Using the open command from terminal I would like to be able to specify the chrome the specific chrome user to open the url with? Local Chrome users are outlined here. Essentially I have a local ...
1
vote
1answer
12 views

need to script connection to telnet and send commands to remote device with no user input

Ok I need some help making a script that will connect to a server and send 2 commands Ideally I would have telnet 192.168.2.230 9993 and once it logs in (no user name or password required - the ...
1
vote
1answer
19 views

Aufs mount alternative

What union mounts are available on OSX? I've been using Aufs on Ubuntu for the past few years without fail and I'm looking for something similar... Basically, given n directories, merge the contents ...
1
vote
1answer
17 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 ...
1
vote
1answer
128 views

Opening new Terminal.app window/tab with a certain profile from command-line or AppleScript?

When I login to my Mac, I want to automatically open a new Terminal.app window with a certain profile, say Monitor, that has a startup command and several appearance settings. I thought it would be ...
1
vote
1answer
30 views

How do I tell AppleScript to read the contents of the “Network” Finder window?

I'd like to be able to get the contents of Finder's "Network" folder (Menubar-->Go-->Network). The folder contents here is different than /Network or /net. The overall goal is to grep the names in ...
1
vote
1answer
43 views

Why are my Terminal.app colors different from iTerm?

I have set the ANSI colors of both terminals to be the same (see 1st screenshot), but the colors for Terminal.app are really bright, and almost unreadable, and not like the colors I set at all. It's ...
1
vote
1answer
48 views

How to create an applescript for multiple dd terminal commands in sequence (for multiple USB Drives duplication)

I need to create an apple script to perform DD Commands in sequence, to replicate the same .img file to multiple USB flash drives The context: the computer is connected to a powered USB hub with 7 ...
1
vote
1answer
150 views

Change default alert sound from terminal in Mac OSX

The version of Mac OS X being used is 10.8.5. When I click the back button on an empty terminal windows if give a alert sound which is the 'Funk' sound in the System Preferences -> Sound -> Sound ...
1
vote
1answer
45 views

Splitting LexisNexis text file

For my research I have a number of text (txt or doc) files. These have a large quantity of newspaper clippings in them. I'd like to split these text files. Each clipping starts with document X ...
1
vote
1answer
145 views

How to debug slow terminal prompt?

Ever since I upgraded to Mavericks, the Terminal prompt became a bit slower at coming back. It's not a huge deal, but there's now a slight noticeable delay before the prompt comes back (maybe like a ...
1
vote
1answer
674 views

OS X's hidden preferences disappeared after Mavericks upgrade?

In past OS X versions, I used some commands to set preferences on my Mac. For example, I used the following command to enable selection of text in Quick Look: defaults write com.apple.finder ...
1
vote
1answer
97 views

Can I map a character to a different key?

I am using a British IBM model M keyboard with Mountain Lion. I have selected the "British - PC" input source and it is working well, except for one key: the pipe. If you consider what is printed on ...
1
vote
1answer
80 views

How to export files from hard drive in Snow Leopard CD?

I have a macbook 5,1 that won't startup. I'm going to reinstall Snow Leopard with the CD, but is there a way to export some of the files that are in it? I can't seem to gain access to them through the ...
1
vote
1answer
130 views

set remote sharing prefs in terminal

I am admin for department and I want to batch change the "show remote management status in menu bar" so that I don't have to log in to each machine and set it. I have ARD so I can run a terminal ...
1
vote
1answer
224 views

Open Terminal App Without Opening A Window

Is it possible to change the default settings in the Terminal App (OS X 10.7.5) such that when the app is launched, no windows are opened by default? As a shot in the dark, I tried closing all ...
1
vote
1answer
177 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 ...
1
vote
1answer
568 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??
1
vote
1answer
232 views

copy song info from mp3 file to aac file from terminal

I am trying to create a script that performs various conversions between formats of audio files. In one particular step, I use afconvert in Terminal to convert an mp3 to aac(mpeg4/m4a), but in this ...
1
vote
1answer
193 views

Simple File Transfer Logs

This may be a general Unix question rather than a OS X question. I want to log general file transfers on OS X, whether it be from and to the same system or to another system, but to keep it simple ...
0
votes
1answer
9 views

Is there a way to turn off LibreOfficeUpdate via terminal?

Good morning everyone. I administrate few MacBook laptops (in remote locations). We control the versions of software that we allow users to use for compatibility issues. But end users nag as to ...
0
votes
1answer
16 views

networksetup -disconnectpppoeservice not working

I love doing stuff on terminal, a lot. Thats how I found this command to connect to my PPP service: $ networksetup -connectpppoeservice HUAWEIMobile- And its works successfully to connect my PPP ...
0
votes
1answer
47 views

how to use terminal to remove item from dock

Hi I have a shell script in my login item , which runs whenever i log in to my system . It does work completely but once it exits the terminal , it leaves the terminal shortcut on my dock and I don't ...
0
votes
1answer
21 views

What files do I edit to be able to maximize Finder windows to fill the screen by shift-clicking the green button?

Is there a group of files or a single file I can edit to facilitate maximizing "Finder" windows to fill the entire screen just as other application windows by shift-clicking the green plus button?
0
votes
1answer
10 views

Converting filenames with embedded backslashes to directory tree

I recently extracted a ZIP file that I expected to contain a path hierarchy but turned out to be a flat archive of files with backslashes in the filenames. So I ended up with something like: $ ls -1d ...
0
votes
0answers
217 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
1k 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
159 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
810 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. ...
0
votes
0answers
461 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
348 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
342 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
289 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
276 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 ...
-1
votes
0answers
14 views

Iterm2 text navigation shortkeys

I'm using iterm2 in mavericks and I have special error. I have setupped few hotkeys like: option+leftarrow/rightarrow => go one word backward/forward Those work just fine In the os x default ...