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
93 views

My hostname is now out of sync

My hostname got out of sync with what it is set to in System Preferences - Sharing. From what I've read this is most likely related to a router having the ability to update my hostname. Anyhow, I've ...
1
vote
0answers
191 views

Signals sent to command-line programs when exiting terminal.app

When using tmux, if I CMD-W, or otherwise quite out of terminal, my tmux session persists, as it should. However, it still lists itself as "attached", whereas on other platforms, (e.g. Ubuntu) when ...
1
vote
0answers
358 views

After updating oh-my-zsh prompt is weird on startup

I have been using the default installation of oh-my-zsh (robbyrussell theme) without issues. I just did a 'git pull' and now on startup I see a weird prompt. As soon as I press any key the prompt ...
1
vote
0answers
208 views

Proxy won't work without telnet

This isn't a problem as such, more an irritant that's begging for a clean solution. At work we have a couple of Macs which I'm trying to get integrated nicely into Active Directory. We enforce all ...
1
vote
0answers
137 views

Sips not working with pict, qtif and sgi files

The terminal command sips -s format pict /path/to/image.ext --out /path/to/output.pic ouputs Error: Unsupported output format com.apple.pict even though if you do man sips and go down to format, there ...
0
votes
0answers
11 views

com.user.loginscript[ ]): Exited with code: 1

Whenever we restart our server it changes our DNS and apache settings. I haven't been able to figure out why, so I wrote a quick script to restore these to safe settings on login to fix Mac OS X ...
0
votes
0answers
70 views

How to automount SSHFS volumes with FUSE OS X on Mavericks

Iv'e managed to get my ssh volumes mounted with SSHFS via the command line but would really like is to have them auto mount on login. So far, I've set up a launchAgent to run a shell script that ...
0
votes
0answers
16 views

Printing to a Windows printer from the command line (smbclient -c “print”)

I am trying to print to a Windows printer server requiring authentication from the command line. An option is to use kinit to get a Kerberos ticket (and it works). On a Linux machine I also managed ...
0
votes
0answers
162 views

hdiutil returns error when creating Ubuntu USB stick

I am following an online tutorial for creating an Ubuntu USB stick on OSX but I'm stuck in step 3: Convert the .iso file to .img using the convert option of hdiutil (e.g. hdiutil convert -format ...
0
votes
0answers
14 views

Top command not outputting all information

I'm trying to put together a script which collects the information produced by the top command relating to the system rather than the processes (i.e. the top few lines). When viewing in top binary ...
0
votes
0answers
29 views

Switching Network Locations under Mavericks

When using Lion I could issue this command at the terminal to change network locations(which I got from this site, thank you): networksetup -switchtolocation "Proxy" I've recently upgraded to ...
0
votes
0answers
35 views

Terminal freezes because of corrupt file

I wanted to edit the httpd.conf from apache2. I wanted to uncomment the php5 load line so it gets included. I started the terminal and used sudo nano /etc/apache2/httpd.conf to edit the file and ...
0
votes
0answers
60 views

Binding Escape Sequences to Terminal Keys Produces Characters, Not Actions

I was using an iMac from 2009. I had upgraded it regularly, going up to (and including) Mavericks. When I first got that iMac, I fixed the keys in Terminal so Home and End would move the cursor to ...
0
votes
0answers
31 views

/Volumes directory gone missing. Scared to reboot. Mystified

Somehow my /Volumes directory has gone missing. Fooling around with fuse, trying to mount my iPad's filesystem, I typed sudo ifuse /Volumes/ and lo, my /Volumes directory is gone. cd /Volumes returns ...
0
votes
0answers
14 views

Convert absolute symlinks to relative ones?

I've seen plenty of threads on the Internet about doing the opposite, but what I want to do is, given a folder: /Lib/Foo/Bar.framework/Versions/1.5 And a symlink to it: ...
0
votes
0answers
24 views

set default browser (all users) from CL?

Is it possible to set the default web browser for the computer (i.e. for all users) from the command line? If I understand correctly, individual users' browser preferences are stored in ...
0
votes
0answers
63 views

Mount Folder in Maverick

I want to mount a folder to another folder. My reasoning is: I have a free box.net account with 50GB, but it does not include versioning. So I would like to put the folder under git. But I do not want ...
0
votes
0answers
73 views

Command line tools for OSX Mavericks unavailable after installation

I'd like to install TuxMath on my Macbook running OSX Mavericks. In order to do so I need to install command line tools. In the Terminal this can be done by xcode-select --install It tells me ...
0
votes
0answers
30 views

How can I hide the TotalTerminal Visor from the command line?

I am using TotalTerminal. I know that I can set hotkeys to show or hide TotalTerminal's visor, but is there a command I can put at the end of a command line to hide it? For example: latex ; ...
0
votes
0answers
15 views

My keyboard shortcut System Preference panel doesn't allow me to create application shortcuts

My computer is a MAcbook pro and I am running Macosx 10.8.4 I just realized that the shortcuts don't work anymore in an application where I really need them. When I went to re-create them in the ...
0
votes
0answers
24 views

How to get rid of remnant samba shares via the shell

I'm running 10.6.8, and under System Preferences > Sharing > File Sharing is checked, and I have no folders under the left side. Naturally the right-side isn't populated with any users. When I ...
0
votes
0answers
45 views

move a file, replacing existing (if any), ideally by putting existing in the trash

I am trying to find a way to automatically (without user intervention) move a file from A to B, replacing B if it exists, ideally by putting the existing copy of B into the appropriate Trash folder. ...
0
votes
0answers
23 views

Best Way to Add Metadata to a File

Okay, so I have a fairly simple script that uses mdfind to quickly find files matching certain criteria so that I can run some operations on them. However, I don't want to run these operations again ...
0
votes
0answers
199 views

Setting Account Picture/JPEGPhoto with dscl in terminal

I'm working on a script based on this question: What steps are needed to create a new user from the command line on Mountain Lion? The script is packaged up in an empty installer as a postflight ...
0
votes
0answers
99 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
44 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
31 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
129 views

How to change command key for tmux?

I normally use tmux on Ubuntu and have quite an extensive key-mapping file. How can I get key-mapping to work on OSX? I have a new mac. I have placed a (stripped down) .tmux.conf file in my home ...
0
votes
0answers
49 views

Single User Mode Break Command and Pause Screen from Scrolling

Ok so I am used to a Dos how do you pause the screen output in single user mode and how do you break out of a command / pause the screen in single user mode
0
votes
0answers
153 views

unable to open display when run xkill/xprop

When I'm trying to run xkill or xprop, I've the following error: unable to open display '' My DISPLAY variable is empty. How can I run these commands from the Terminal?
0
votes
0answers
111 views

Terminal+Browser iPad app

I'm having trouble finding an app that shows a terminal emulator and a web browser on a split screen. Seems like it probably exists somewhere... I'm aware of apps that will do two browsers ...
0
votes
0answers
78 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
71 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
138 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
44 views

Script to create a new “To Do” in Mail.app

I've been dorking out with GeekTool and like my simple geeklet that displays my uncompleted tasks right on my desktop. I made a service with automator to let me create new To Do's in iCal whenever ...
0
votes
0answers
153 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
226 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
38 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
113 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
26 views

rmate setup - error message

I want to setup rmate on my server, but I always get this error message and I’m not sure what to tod /usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in ...
0
votes
0answers
77 views

Show PDF in TextMate 2 Command Output window

I would like to display the PDF I've generated with a custom build process in the command output window of TextMate2. The LaTeX bundle has an action that calls the appropriate processor and shows the ...
0
votes
0answers
197 views

Inkscape will not open on its own, but can be opened from within an x11 window

When I installed inkscape, it asked me for the location of x11, and without thinking, I choose xcode, rather than xQuartz. So now, if I try to open it via its icon in the applications folder nothing ...
0
votes
0answers
46 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
134 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
40 views

Making checks before rsyncing external drive on OSX

I have the following issue on OSX though I guess this could equally be filed under bash. I have several encrypted portable drives that I use to sync an offsite data store or as an on-the-go data store ...
0
votes
0answers
29 views

Laptop crashed while downloading files using FileZilla, now those files only show up in FileZilla browser and can't be overwritten. How to delete?

My laptop crashed while downloading files using FileZilla. Now those files only show up in the FileZilla browser and they can't be overwritten. I can't see them in Finder or in Terminal. How do ...
0
votes
0answers
55 views

Speech Commands with Eclipse java for speakable

I'm running Mac OS X 10.7.5 on my MacBook Pro and love the Voice Commands / Speakable Items feature. I also have a lot of custom commands that I use by writing applescripts and putting them in either ...
0
votes
0answers
173 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
56 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
131 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 ...