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

Can I install figlet from the terminal?

I really love FIGlet, and use it frequently in my code and emails. It's really easy to install through the terminal in Linux, but I can't figure out how to install it on a Mac (OS X Yosemite 10.10.3). ...
-1
votes
1answer
38 views

Terminal command “ls” in AppleScript list

How can I create a list in AppleScript that shows the results of a terminal command. For example ls /Applications/ Every application should be shown in the list, so that I can choose an item from the ...
0
votes
0answers
12 views

Restore scrollbuffer and tabs in iTerm as Terminal.app does

I love the restore functionailty of the Terminal.app when the app crashes or I need to restart my computer, Terminal.app will show me the recent scrollbuffer for the tabs I have open with a - ...
1
vote
1answer
24 views

node npm Installing bower = npm ERR

New computer, fresh start. Was installing bower from terminal and got this ERR! message in return. Seems common, but i'm hesitant in forcing it with sudo. OSX 10.10.3 git version 2.3.2 (Apple ...
0
votes
2answers
22 views

Spotlight/Finder will not index after Yosemite update

I'm currently working in OS X 10.10.3. I made a bit of a jump from 10.6.9 as our system was falling behind from the person who previously held my position. All of my customer files are stored on an ...
0
votes
1answer
32 views

Why is is not possible mark text in my Terminal window anymore?

I am an eager Terminal user on Mac OSX Yosemite. From time to time I mark text in the Terminal window to copy(right click or cmd+c) onto the clipboard. For some reason it suddenly stopped working! I ...
0
votes
2answers
18 views

Find out what key code brightness up/down has

I am writing a script and I need to figure out current key codes for brightness up and down. I know the standard for a MacBook is 107 and 113, though as soon as I connect a different bigger apple ...
0
votes
1answer
16 views

Change keywords meanings of the terminal

I am running Maxima from the terminal, and there are some things that annoy me a little bit. For example, if I want to move left or right, instead of doing that, the terminal prints some weird ...
1
vote
1answer
22 views

Notification Center frozen in macbook pro with Yosemite 10.10.3

My notification center is completely frozen. It's still in the upper right hand corner of my screen, but when I click on it, nothing happens. I do not get any notifications in a popup window when I ...
0
votes
2answers
39 views

Terminal command to arrange all files/folders by name on hard drive

Looking to tidy up my iMac. Like everyone, I have lots of files/folders on my iMac. When they get dragged and dropped, or moved around, they retain their position, and the only way to fix this is to ...
0
votes
0answers
19 views

Rendering a pixel font on Retina display

I've got this simple custom pixel font I use for programming: creep. I recently purchased a new MacBook with Retina display and noticed that the font's pixels don't quite match up with the screen's ...
1
vote
2answers
38 views

Clear terminal and prevent restoration

There is some sensitive data (credit card numbers and such) that I store on my hard drive, encrypted. I use a script to decrypt the data and display it in the terminal window. When I am finished, I ...
0
votes
0answers
24 views

How to Set my Mac's $PATH back the way it was before

I'm just getting started with Terminal, the other day I might have messed something up with my urs/local/bin. When executing echo $PATH it returns me with ...
1
vote
0answers
11 views

Terminal appears to ignore autoproxyurl setting

I can't get easy_install to install anything as it complains it gets a connection refused.: Searching for BeautifulSoup Reading https://pypi.python.org/simple/BeautifulSoup/ Download error on ...
1
vote
0answers
16 views

How to allow OPT and # simultaneously in terminal [duplicate]

My (UK) MacBook Air keyboard doesn't have # marked. It has ± and §, which I have never used, but it doesn't have #, which is an extremely common character in computer code. Instead, I have to use the ...
1
vote
1answer
20 views

flac terminal app no longer works - giving me libogg.0.dylib errors

I've been a happy user of flac on the OS X Terminal. I mostly use it to either encode, or decode wav -> flac or flac -> wav. What I'm meeting nowadays is this: flac -d *.flac dyld: Library not ...
0
votes
1answer
35 views

How to port this *nix-shell script to OS X?

I've got a unix-shell script that's supposed to work on nix machines. This doesn't run on OS X however, due to "cp" command not defined. Changing it to "copy" didn't help. git log -1 ...
-2
votes
2answers
32 views

How do I make this terminal script work properly?

I want it to appear like I'm contacting a bunch of ip-adresses and it works fine until the third line in the code and I want to be able to fix it. Also the 4 bottom lines don't work. So this is ...
0
votes
0answers
11 views

Unable to complete ssh connection and open shell on server

I'm trying both the native OpenSSH (appears to be OpenSSH_6.2p2) which comes with Yosemite to connect to several Ubuntu servers. In the past few days it almost never works, but I installed putty which ...
1
vote
0answers
18 views

How can i delete a partition in Terminal when I can't simply combine because 'The given partitions are not on the same whole disk'?

Before I partitioned my HD, the only one I had was "Macintosh HD". The partition created one called "Macintosh HD2" I used terminal to erase "Macintosh HD2" somehow, but it returned as "Untitled." ...
1
vote
1answer
45 views

sudo asking for password even though user doesn't have a password set

I have a computer that doesn't not require a password. I'd like this to continue into sudo, but unfortunately it doesn't recognise a user not having a password. According to Apple the sudo command ...
3
votes
0answers
28 views

Command line to disconnect or connect 802.1x authentication

I have been searching for a terminal command line to disconnect or connect 802.1x authentication, but not the network interface. I was searching some help pages and it showed command lines to export ...
0
votes
1answer
22 views

Use defaults to edit preferences

Recently, I have been playing around with editing System Preferences without GUI and using the defaults command. I have tried for example: defaults write com.apple.dock autohide NO Though that did ...
-1
votes
2answers
18 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
36 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 ...
0
votes
0answers
12 views

Cannot get launchd to recognize custom plist automatically

I have a launchd plist file which I would like to run which launches a shell script. I can manually load the process into launchd, but upon reboot, I cannot get it to stay loaded. Here's the plist: ...
1
vote
0answers
11 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
23 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
21 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
101 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
34 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
13 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
14 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
18 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
56 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
21 views

Cannot type shift L in Terminal

As title says, I cannot type 'L' in Terminal. When I type 'bind -p' 'L' do not appear on the list. I have no problem typing l. 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
38 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
19 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
8 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
61 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
53 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
24 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
33 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
36 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
27 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 ...
1
vote
0answers
47 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
30 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 ...
8
votes
1answer
299 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
13 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 ...