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

Unable to cut from text edit and paste into terminal

Up until a day ago, I was able to cut and paste commands into terminal from text edit. This is a ongoing function as I store regularly used bash commands in text files so I can cut and paste them ...
0
votes
1answer
11 views

Shut down via Terminal/AppleScript without restoring

How can I shut down my Mac via Terminal or AppleScript, but without restoring? tell application "Finder" to sleep works not, the windows will be restored.
0
votes
0answers
17 views

Full screen always enabled when opening app in OS X Yosemite

How can I set my Macbook Air to always open new apps in full screen mode? Some apps already do it (Mail for example), but others are always opening as a small window, especially Safari when I close ...
1
vote
0answers
24 views

Changing color of text in terminal for program output

This might be answered already but I could not figure out a good way to phrase it to look for an answer so I hope you'll bear with me. I want to change the color of the text output on Terminal if it ...
0
votes
0answers
43 views

OS X lets me run softwareupdate command without sudo: is this normal?

I am able to run and install updates with the softwareupdate command without prefixing sudo. Is this normal, can anybody else do this on there system? The man page states that admin privileges are ...
2
votes
1answer
13 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
46 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
27 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
33 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
1answer
28 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
35 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
24 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
41 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
20 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
25 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
33 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
22 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
46 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
41 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
29 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
23 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
15 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
59 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
23 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
40 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
65 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
54 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
25 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
35 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
40 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 ...