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

2
votes
1answer
38 views

Running Say Command When Mac Is Logged Out

What would happen if I (remotely) ran a say command on a Mac that's logged out? Would the command run? Or wait until the user logs in to run?
0
votes
0answers
18 views

How do you toggle “Animate opening applications” from terminal?

The setting is located inside the Dock preferences. defaults write com.apple.dock no-bouncing -bool TRUE is only for toggling the nag notice, not the opening animation.
0
votes
1answer
40 views

Go2Shell stopped working with iTerm2

I am on Yosemite and have used a (seemingly older version) of Go2Shell to open Terminal windows at the current Finder location. This worked flawlessly for a long time, until something, suddenly broke ...
0
votes
1answer
21 views

How to open terminal from within a folder using contextual menu? [duplicate]

I want to create a shortcut to open a Terminal window from within a folder using contextual menu in Mavericks. What is the procedure to do so?
1
vote
1answer
97 views

Get MacBook to say Thank You when plugging in the power cord?

I would like to know how can to create an applescript which is executed when I connect the power cord to my MacBook. I would like it to say "Thank You"
0
votes
0answers
32 views

Cannot type shift L in Terminal

As title says, I cannot type 'L' (uppercase letter) in Terminal. When I type 'bind -p' 'L' do not appear on the list. I have no problem typing l (lowercase letter). I cannot paste in 'L' neither. ...
0
votes
0answers
12 views

terminal self-populates

Troubleshooting erratic cursor behavior I tried to launch the new USB Disk Warrior stick, which requires a terminal command in OS X Recovery. As soon as I open Terminal, the following string appears ...
0
votes
1answer
50 views

-bash: command not found appears every time

I just recently discovered what terminal was. I started using it today and every time I try a command (like shh) it says that the command was not found. I was instructed to type in echo $PATH and this ...
0
votes
0answers
21 views

To search contents of symlink

I want to search documents from by disc2 to which I created a symlink to disc1. However, I think this is not the way to go by creating a symblink to a current folder: ln -s ...
0
votes
0answers
11 views

Does Behavior of non-ASCII filenames change?

I have some similar music libraries which I would like to remove duplicates on (which are contained in a Disc Volume I'm loading wirelessly from a QNAP server). I know there are applications which can ...
0
votes
2answers
103 views

Howto run a Terminal command using shortcut or a button

I always have the problem in my dock, where the download bar just stops and stays froze. I know you can do a killall -KILL Dock and it will fix the issue. Is there a way to click a button or do a ...
2
votes
2answers
158 views

What does adding PATH to .bashrc do?

I'm following this guide to install Linux commands onto my OS Terminal: https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ and I see that the second line tells ...
0
votes
0answers
32 views

can't commit network settings via shell

I'm writing a Python script that changes network settings with shell commands like networksetup -setv4off 'PANTECH UML295' and networksetup -setdhcp 'PANTECH UML295'. When I enter these in Terminal, I ...
0
votes
1answer
51 views

Correct Syntax to change default Screenshots and Screencapture save location?

I would like to change the default screenshot location for OS X Yosemite 10.10.3 using Terminal. But this command is not working, where subfoldername = "name of my sub-folder" I want to store my ...
0
votes
2answers
149 views

Restore Mac from Time Machine Backup via Terminal

I ran into some major problem today when trying to delete old TM backups from an external drive. Now that I have a Time Capsule I wanted to clear the old backups from another external drive. At some ...
1
vote
1answer
44 views

hostname returns another device's name

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another ...
2
votes
0answers
51 views

Limiting TCP connections

How can I limit TCP connections on Mac using Terminal? I used iptables on Linux (eOS) to limit the connections of an application (Ace Stream Player) as follows: $iptables -A OUTPUT -m limit --limit ...
0
votes
1answer
68 views

How to add watermark to all video files in a folder? (Mac, mencoder, terminal)

Is there a way to add watermark to all (mp4) video files in a folder. I have like 1000 videos in one folder and It'll take a long time to change one by one manually - so, maybe, there is some kind of ...
9
votes
1answer
413 views

OS X terminal “open” command and keeping focus on the command line

I appreciate the "open" terminal command to launch OS X apps. When invoking the open command for any purpose, it is overwhelmingly likely that I will have at least one other command I would like to ...
0
votes
0answers
20 views

how to change dialog box default size

After last update to 10.3.3 "Open File" dialog is very small by default (much too small on a a hi res screen).I believe the default size can be changed using Terminal. But how? Small dialog boxes were ...
2
votes
1answer
75 views

Can I open a file in Preview from the Terminal?

I know that I can open a file with an external program from the Terminal with open, and that works for most applications. However, when I try to use a command like open -a Preview info.txt, it ...
2
votes
1answer
41 views

What is the difference between open (-a) <app> and double click in finder/spotlight?

I recently installed leksah on my Mac (once directly, once via brew cask). When I try to open it in Finder, Dock or use spotlight the window flashes open for a second and then closes immediately. ...
2
votes
2answers
110 views

Can’t find .plist files

I can’t find the .plist file for TextEdit, Preview. I’ve looked into /Library/Preferences, ~/Library/Preferences, and ~/Library/Containers. I have tried opening the app and changing the preferences ...
0
votes
1answer
48 views

bash- command not fount error

I tried to install omnet++ on my Macbook pro (OS 10.10) yesterday. I got an error so I delete path in my bash-profile. Now, every command I try to run in my terminal shows an error of command not ...
1
vote
1answer
78 views

Is there a way to color parts of the man pages on the terminal?

I would like to color some parts of the output of the command man, specifically I would like to be able to change the color of the most important things, for example the options or the first ...
0
votes
0answers
823 views

Single User Mode not starting

First of all, there's no firmware password or anything fancy. I'm trying to diagnose a late-2011 MacBook Pro 15", and I'm trying to get into the single user mode. I press and hold Cmd+S (the left Cmd, ...
0
votes
0answers
23 views

2011 MBP won't go into Terminal or let me log in

I have a complicated issue, please bear with me! I seem to have really screwed myself over. My 2011 MacBook Pro (Maverick) won't let me access Terminal. Once or twice it showed up for a second but ...
1
vote
2answers
412 views

X11 app no longer opening since 10.10.3

After upgrading to 10.10.3 X11 applications are not opening anymore from the terminal. The X11 symlink in /usr is correct $ ls -l /usr/X11 lrwxr-xr-x 1 root wheel 8 Aug 7 2014 /usr/X11 -> ...
1
vote
0answers
69 views

How to find out process owner of unidentified windows?

I have an odd error that I have not been able to associate with an application or PID properly. In Windows, there is Process Explorer with the very handy target function that allows you to click it ...
1
vote
2answers
280 views

Is there a command similar to Linux's command-not-found?

Most Linux operating systems have a package like command-not-found (http://packages.ubuntu.com/utopic/command-not-found), which provides suggestions when a shell command was not found, e.g. because ...
1
vote
1answer
62 views

How to show/hide invisible files and folders from Service menu?

How to show/hide invisible files and folders from Service menu? By default files and folders whose name start with . is invisible. In order to show them, you can use the following command in ...
0
votes
1answer
63 views

Accidentally did rm -r ~/.Trash

What should I do now? Will my computer be okay?
1
vote
1answer
25 views

To concatenate with BSD Join

I want to concatenate in BSD Join. Data Model Decreasing Constant Increasing 2025 75.5 82.5 89.5 2035 65.5 82.5 102 2050 49.5 82.5 112 and error configuration in ybar Model Decreasing Constant ...
2
votes
2answers
636 views

How to find .bashrc or .zshrc?

I just got a MacBook Pro and am in the process of trying to get GNU commands installed. I'm following this guide, but I don't know how to do: Then add the following line to your .bashrc or .zshrc: ...
1
vote
1answer
37 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
48 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
160 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
240 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 ...
3
votes
1answer
81 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
45 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
74 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 ...
3
votes
1answer
172 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
42 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
175 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 ...
5
votes
2answers
577 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
79 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 ...
1
vote
2answers
43 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
267 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
57 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
40 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 ...