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
votes
2answers
84 views

Deleting a file from Single User mode

My macbook's hard disk has 10 MB free space and the login is not possible. I booted to Single User mode to delete some files but the paths were totally different than the paths I get when I just ...
-1
votes
1answer
210 views

Kali Linux on Macbook

I have a question about kali linux on an Apple Macbook Pro running in Parallels. After giving the command sudo airmon-ng in terminal, it shows no interface. Does anybody know what to do or is it ...
1
vote
0answers
20 views

How do I locate and disable background PGP and Kapersky start up programs?

I had to uninstall Kapersky by deleting the application but the item still shows up on my task bar when I restart. Also, I have PGP installed on my mac, but when I telnet to port 25 of another ...
1
vote
2answers
106 views

Automated screensaver configuration in command line/shell script

So I'm configuring some Default User Template LaunchAgents to configure a default screensaver for some of my company's most popular fan art. (It's actually been really well received by the team). ...
1
vote
1answer
53 views

Mac OS X Terminal - While True Do - Can you stop automatically under desired conditions?

Currently I am using a following command: while true; do python [file]; sleep X; done I was wondering if I can stop the loop if the result prints a word that I'm looking for. Plus is it possible to ...
3
votes
1answer
325 views

Terminal Command: List admin account

Does anyone know of a terminal command which lists the current administrator account? Thanks in advance.
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
23 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
51 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
23 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
104 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
36 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
13 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
55 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
13 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
117 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
193 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 ...
1
vote
0answers
40 views

can't commit network settings via command line

I'm writing a Python script that changes network settings with commands like networksetup -setv4off 'PANTECH UML295' and networksetup -setdhcp 'PANTECH UML295'. When I enter these in Terminal, I enter ...
0
votes
1answer
54 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
205 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
54 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
74 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
467 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
23 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
121 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
43 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
126 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
54 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
99 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
1k 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
3answers
519 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 -> ...
2
votes
0answers
91 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
3answers
300 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
69 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
913 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
43 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
56 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
242 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
284 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
108 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
50 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
79 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 ...
4
votes
1answer
263 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
48 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
246 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 ...