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

0
votes
0answers
39 views

Installation Alert: Unable to force quit iTunes

Reads as unopen in the dock, but computer (OS X 10.10) won't install software regardless. Have tried running "-9 iTunes" in Terminal, but to no use. UPDATE: Ok I've tried running "killall -9 iTunes" ...
0
votes
2answers
24 views

Post-boot and login notification

I am using 10.10.2 and I have limited experience with Terminal. I would like to create a script which would notify me (on screen) when all of the startup processes are completed, post-login. The boot ...
-1
votes
1answer
29 views

Command to find out the version number of a .pkg file

Does anyone know how to retrieve the version number of a .pkg file which isn't installed yet? I'd like to use something like pkgutil --pkg-info, but that only works for installed packages. I've ...
7
votes
1answer
18k views

Mac OS X Mavericks - add to path

I'm trying to set up a phonegap project and while trying to add a platform it outputs the following error: Error: The command "android" failed. Make sure you have the latest Android SDK installed, ...
0
votes
1answer
71 views

Simple telnet session fails on OS X

I am learning Postfix and how it works with SMTP, and here's a sample session that the book shows as an example: I ran the command hostname on my Mac terminal, and it showed ...
0
votes
0answers
22 views

-bash: /Users/[me]/.rvm/scripts/initialize: No such file or directory

I was in a directory where I had a ~ and I went to remove it by doing rm -f ~ for which it said it was a directory. So I made the really silly move of doing rm -rf ~ and suddenly I get the error ...
1
vote
1answer
50 views

Folder/File Name “Truncation” or “Wrapping”

I have been trying to find a solution for a very very long time on how to have the longer names of my folders and files to drop down to a 2nd line when viewing in the "Grid" Icon view in the My Finder ...
55
votes
13answers
49k views

How can I open a Terminal window directly from my current Finder location?

I was wondering if there was any was I could right click inside any instance of a "Finder" window such that I have an option that says "Open Terminal Here". It would be really helpful.
0
votes
0answers
29 views

Opening new Terminal tab with Vim

I am using the Unite plugin as a fuzzy finder to open files in Vim, and I was wondering if there was a way to open files in a new Terminal tab instead of in Vim's internal tabs. Thanks!
0
votes
1answer
25 views

Joomla not working on Localhost:8000

I was migrating a Joomla site to a new server. Before uploading to the new server, I wished to test it on my localhost php server. I have done this with Wordpress sites and other PHP/MySQL things with ...
-1
votes
1answer
1k views

How to add a script that types in the password for my vps through applescript

I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code tell application ...
1
vote
2answers
6k 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
votes
1answer
49 views

How to create a bash alias on OS X?

I want to create a bash alias on OS X, because I need to type on a really large command. I've found some answers about the same issue on ubuntu, like this one, but they mention the ~/.bashrc file, ...
2
votes
1answer
67 views

emond keeps me locked out of my server via SSH

I've been grappling with emond (and maybe afctl) all afternoon, and I'm trying to figure out how to fix this. Basically, I'm trying to SSH into my Mac Mini server (10.9.5 with Server 3.2.2) but I keep ...
26
votes
11answers
43k views

Password dialog appears when SSH private key permissions are set to 0600

I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to ...
5
votes
3answers
2k views

How can I add reminders via the command line?

Once in a while it may be useful to add some reminders to Reminders.app from the command line — especially because they are synced to iCloud. Is there any way to do so? A solution that does not rely ...
0
votes
0answers
63 views

I get this error when running sudo dd if=/dev/zero of=/dev/rdisk# bs=64k in Terminal

I'm following the steps explained in this answer: sudo dd if=/dev/zero of=/dev/rdisk# bs=64k but get an error dd: /dev/rdisk2: Input/output error 1+0 records in 0+0 records out 0 bytes transferred ...
3
votes
1answer
13k views

Full privileges on .command file, but it says I don't have appropriate privileges

I have a command that I regularly need to run in the Terminal (for application code signing). Normally I launch the Terminal, press the up arrow until I reach the command I want, and then hit enter. ...
2
votes
1answer
181 views

How can I print a path with a home directory replaced by ~ in terminal?

How can I print a path in Terminal with the home folder path replaced by a ~? pwd /Users/denz/projects/coolApp But I want to something like this ~/projects/coolApp
1
vote
2answers
329 views

How to install Livestreamer — super n00b terminal question

I am just trying to install Livestreamer on my MacBook but it looks like the only way to do so is with: # easy_install -U livestreamer I entered this in the terminal and hit enter...but nothing ...
0
votes
1answer
43 views

Converting string to int doesn't work properly in terminal

Converting string to int doesn't work properly in terminal. I want to find how much time specific string occur in a big string. if ((echo "iOS/i" | grep -o iOS/ | wc -l | bc)>2) then echo ...
0
votes
0answers
32 views

Can not set ls colors in zsh

I'm using zsh on OS X with the Dark Solarized theme. I'm trying to customize my ls colors, in particular the yellow background for directories which bothers me a lot. However, nothing I change in ...
1
vote
1answer
32 views

CLI options do not work if passed at the end of command [duplicate]

In brief: ls -a /tmp works but ls /tmp -a does not. I recently started using Macbook Pro. Coming from a Linux background, command like ls /tmp -a seems perfectly fine to me. But for some reason ...
0
votes
0answers
81 views

From the terminal, how can I disable iTunes from running when a device is connected?

Using terminal, I want to disable the feature of iTunes that causes it to run whenever a device is plugged in, but I want to do this entirely from the terminal, so that it can be part of an OSX setup ...
1
vote
2answers
46 views

To install Gnufind in OSX?

I run brew search gnufind and I get No formula found for "gnufind". Searching pull requests.. so no gnufind with the request. I think it must have a different name. I run brew search find ...
1
vote
1answer
63 views

File or directory called ~ (tilde) in the root of my startup volume

I just noticed that I've got a mysterious file simply called ~ in the root of my harddrive. I suspect that I've created it by accident while using terminal. I know about using ~ as an alias to ...
17
votes
6answers
86k views

How to cd to a directory with a name containing spaces in bash?

I tried cd "~/Library/Application Support/" -bash: cd: ~/Library/Application Support/: No such file or directory also cd ~/Library/Application Support/ -bash: cd: ~/Library/Application Support/: No ...
0
votes
1answer
27 views

Tab completion in terminal with alias

I'm running a zsh terminal under Yosemite and have defined a simple alias to place files in Yoink: $ alias yoink='open -a Yoink' $ yoink my-file-to-yoink.txt This works great but for some unknown ...
0
votes
0answers
40 views

Is there a voice-activated command prompt?

I injured a hand six weeks ago, and, being a programmer/sysadmin, I'm looking into ways to control a Terminal application using my voice (or, I suppose more broadly, not using my left hand). I am ...
3
votes
1answer
4k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
1
vote
2answers
2k views

How can I make an Automator service run a shell script and display the output?

I'm using Automator to run a shell script (ffmpeg transcode to h264) as a 'Service', so that I can just right click the high res .mov file and select the service. It works fine, but as it's ffmpeg it ...
0
votes
0answers
47 views

How to keep imessage running/logged in on a macbook pro

I know I saw a link somewhere before but I can't find it on this site or in my bookmarks. For some reason, my iMessage or some accounts on my iMessage program on my MacBookPro (10.9.5) keeps ...
2
votes
1answer
39 views

Wrong working directory, if bash script is opened via double-click

I wrote a bash script in order to directly start eclipse from different workplace locations. Each workplace contains the script, after running it, eclipse is started with the respective workspace set. ...
0
votes
0answers
70 views

How to disable Bluetooth Sharing via terminal?

I want to disable the Bluetooth Sharing that is located in the sharing preference section. I want to be able to disable it via terminal, does anyone have an idea on how to do that?
0
votes
1answer
50 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
4
votes
1answer
130 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: ...
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. ...
2
votes
1answer
77 views

How to replace all Finder files with a placeholder file for each

I have lots of files from a database which are to be copied to a new database, but the files for these are corrupt (They are zero-byte in size and contain no data). Rather than the new database ...
1
vote
2answers
208 views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
0
votes
2answers
44 views

Why can't I easily open web browsers from the terminal application?

In order to run Chrome from the Terminal application, I have to do open -a "Google Chrome" index.html rather than just something like "chrome index.html". The same also seems to be true for ...
0
votes
1answer
23 views

terminal folder access

having a trouble to access few folders in my root user. For example: cannot access - Ideas Infinitas, Treehouse workshops folders. At the same time I can access test_app and some other folders. My ...
19
votes
4answers
68k views

Why does OS X Mavericks block the purge command in Terminal?

When I try the purge command on my terminal, OS X Mavericks gives me the following message: Unable to purge disk buffers: Operation not permitted This hasn't been the default behavior until now. I ...
0
votes
1answer
111 views

Homebrew says my Python installation could cause issues and I'm not sure what to do

I'm just getting started with web development and I'm trying to set up my environment, and I can't do that until Dr Homebrew has discharged me from N00bcake Hospital. This is what I'm getting: ...
2
votes
2answers
77 views

Creating a Bridged Network Connection in Terminal

Okay, I'm struggling a bit here. I'm not all that good with Terminal and sorting out network issues using it but I've managed to scrape by so far. Without using Internet Sharing (because controlling ...
0
votes
0answers
47 views

Configure: error: clang version 3.0 or later is required - but I already have it

I'm trying to follow this RVM installation guide, supposedly for Snow Leopard 10.6.8 (I should point out that $ rvm -v returns -bash: rvm: command not found), but when I run $ curl -L ...
5
votes
3answers
7k views

Terminator for Mac OSX

I'm using Ubuntu on a daily basis, and recently (6 months ago) I bought a Mac, so the first thing I did was installing VMWare and Ubuntu on my MBP. Also I'm a developper and I was a huge fan of ...
1
vote
2answers
54 views

How do you disable Printer Sharing via terminal?

I am looking for a command/script to disable the printing sharing feature via terminal. Does anyone have any idea or know how to go about doing this?
2
votes
3answers
143 views

How to add MySQL to $PATH variable to resolve “mysql: command not found”?

I installed MySQL on my Mac, and now I would like to add it to my $PATH variable. I want to be able to type mysql anywhere. I tried adding the following to my .profile file: export ...
50
votes
2answers
72k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
27
votes
6answers
8k views

How do I speed up new Terminal tab loading time?

How can i speed up the terminal startup in Lion? I'm not referring to the startup of the Terminal application, but to the startup terminal windows, like when i open a new tab. I don't have anything ...