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
1answer
18 views

How to list audio card IDs from terminal

I am developing a script which deals with sound recording. As user potentially can have multiple sound cards attached, I would like to give him/her a chance to select desired one. The software I use ...
1
vote
0answers
19 views

Changing iterm2 Terminal Color

Is there a way to bold the color of the current active terminal tab in iterm2? I do not see an option to do that on the appearance tab of preferences. I know I can change the tab style, but I still ...
0
votes
0answers
23 views

Why can I open an app from Contents/MacOS/app but not by clicking the icon?

I have an application that is fully functional when opened from Show Package Contents > /Contents/MacOS/app however when I click the icon in the Applications folder the icon just keeps bouncing. ...
0
votes
0answers
24 views

Terminal Sudo “3 incorrect password attemps”

Every time I do something in Terminal where you need a password following thing comes: Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts ...
2
votes
1answer
13 views

Change background of terminal based on host

Is there a way I can have my terminal dynamically change covers based on the host I am on? For example, the default background (as determined by terminal profile) is black. Maybe there is another ...
1
vote
1answer
27 views

How can I prevent my machine from automatically downloading deleted system files?

I spilled coffee on my keyboard and most keys are now constantly pressed so the machine is not usable so I disabled the built-in keyboard in order to use an external keyboard but I am having some ...
0
votes
0answers
14 views

How to configure the pf firewall in the terminal?

I have googled it and have yet to find any good tutorials so far. Most of what I can find are for ipfw or GUI softwares. Does anyone know of any good tutorials on it? Would any of the non mac ...
2
votes
1answer
18 views

LSOpenURLsWithRole() failed with error -10810 Can't open 'Install OS X Yosemite.app'

I'm trying to install OS X Yosemite through 'Install OS X Yosemite.app' downloaded from the Internet. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the ...
1
vote
1answer
12 views

Bulk merge items sub-folders into new folder

I have a main folder with about 80 folders in, each with about 10 items in. I want to be able to use a Terminal command or something to just move every item from each sub-folder into a new one (i.e ...
0
votes
1answer
33 views

Copy recursively files and folders, but preserving everything while gaining ownership?

I would like to copy files and folders recursively from an external drive to my internal SSD. However, when I drag and drop, and, subsequently, when I use the copied files, I am always asked to enter ...
2
votes
1answer
84 views

atd stopped working on OS X 10.10.3

I'm using OS X Yosemite, just updated to 10.10.3 and the at command and related (atq, atrm etc) have stopped working. Has atd been disabled in the latest 10.10.3? If so how do I investigate and ...
0
votes
0answers
5 views

FFMPEG via AUTOMATOR not working argument “drawtext timecode”

I am new to scripts and automation but I wrote a script to help me on my daily job of watermarking and burn in timecode on videos. I created an Automator drop on app to convert videos and watermark ...
0
votes
2answers
20 views

Where is the '^]' character on an AZERTY (French) keyboard?

Same question as this one on superuser: where is telnet's escape character, ^] located on an AZERTY (French) keyboard?
2
votes
4answers
87 views

How to go to alias from terminal?

By alias, I mean the folder shortcut created when you right-click a folder in Finder and select "Make Alias". I can traverse symbolic links in Terminal with cd, but it doesn't work on aliases: bash: ...
0
votes
0answers
27 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" ...
-1
votes
1answer
26 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 ...
0
votes
1answer
31 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
14 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
33 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 ...
0
votes
0answers
20 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!
1
vote
0answers
37 views

Create Iso from directory

I'm trying to create an iso from a directory on my computer. I've tried using both the Disk Utility method and just Terminal but I keep getting Operation not permitted errors regardless of my method. ...
1
vote
0answers
9 views

Is there a way to see the invisible formatting in my clipboard and/or create the formatting when piping to pbcopy?

Is there a way to see the contents of my clipboard in a way that shows me what formatting metadata is included? Or to get to the question behind the question: is there a way to generate output in a ...
0
votes
1answer
11 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
31 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, ...
0
votes
2answers
23 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 ...
3
votes
1answer
51 views

How to schedule run of .command file (bash)?

I have a bash script (saved as myfilename.command) and would like to schedule its run. I've tried to use Calendar event for this (which works fine with Automator scripts), but I get the following ...
0
votes
0answers
21 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 ...
0
votes
1answer
35 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
12 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 ...
2
votes
1answer
170 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
59 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 ...
2
votes
1answer
39 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 ...
1
vote
1answer
36 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 ...
1
vote
2answers
34 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 ...
0
votes
0answers
52 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
1answer
29 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
1answer
15 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
27 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 ...
1
vote
2answers
81 views

Does iPhone 5 have a terminal?

I'm new to iPhones and Mac, but I pretty ok with Linux. I think I could solve some of my networking issues, if I could just get into a bash shell, but I haven't been able to locate a shell. Is there ...
2
votes
1answer
23 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
40 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
0answers
34 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 ...
0
votes
2answers
32 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
20 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 ...
2
votes
1answer
60 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 ...
0
votes
1answer
36 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 ...
0
votes
0answers
25 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 ...
2
votes
2answers
63 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
1answer
43 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: ...
1
vote
2answers
29 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?