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
2answers
59 views

How do I find the path of a file on another computer on my network?

I would like to access files from another computer on the same network in the Terminal. But I am not sure of the path to those files. How do I find it?
0
votes
0answers
31 views

UNIX Script to Change Desktop & Screensaver in 10.8

I'm setting up LaunchAgent .plists that start up UNIX bash scripts to automatically change the desktop and screensaver for various different users for a Mac image that will be deployed to multiple Mac ...
0
votes
0answers
29 views

Help with “Couldn't start dropbox” message

My MacBook Pro is running Mavericks (10.9.5.) I restored a backup into my computer and then tried to use my Dropbox account and it wasn't working: I got the "Couldn't start dropbox" message. Before I ...
3
votes
3answers
321 views

Downscale a iMac 5K screenshot to 50% using commandline

Open the Screenshot in Preview Select “Adjust Size…” from the Tools menu Change the Width and Height to 50 percent of the original Change the Resolution to 72 pixels/inch I wish to do this on CLI ...
0
votes
0answers
16 views

Help modifying an Automator script for ditto

I posted this question over on SuperUser but this may be a more appropriate forum. In OS X Mavericks 10.9.5 and on Yosemite OS X 10.10.3 I'm using an Automator Service and an AppleScript combo that is ...
1
vote
0answers
23 views

Mac Terminal can't navigate between split panes [duplicate]

Problem I have just bought a new macbook pro and am using the Terminal to code. I have read a lot of posts about pane splitting, but nothing answers my question (or none of the solutions have ...
0
votes
1answer
72 views

Password no longer works on MacBook Air Yosemite 10.10.2 I need to reset the password, without logging in

I do not know why, but my password is no longer working on my MacBook Air v. 10.10.2 Yosemite. I have tried several things including restarting in Recovery Partition, going to terminal and typing ...
1
vote
3answers
77 views

To prevent Text Wrap in OSX Terminal?

I would like to prevent the text wrap in OSX Terminal, by letting text to continue under the border. I could not find it in Preferences of the terminal. How can you prevent text wrap in OSX ...
1
vote
1answer
28 views

Cleaning off packages installed via Terminal on OSX

I have been learning to use Terminal to install packages (particularly to learn Ruby development). I believe that I'm experiencing some conflicts with things that have been installed and would like to ...
1
vote
1answer
86 views

What are all these extra hidden files (with hash digests) that I can only see when running “ls”?

Since upgrading to Yosemite, there seems to be an extra class of hidden files that are 'more hidden'. They are visible when I run ls, but not in my Finder (even though regular hidden files are visible ...
-1
votes
1answer
27 views

AppleScript choose file with Terminal action

I would to choose a file/an image that is being mounted in the Terminal set pathelection to POSIX path of (choose file of type {"sparsebundle", "sparseimage", "dmg"}) do shell script "hdiutil ...
-1
votes
0answers
38 views

My terminal commands always start with vm instead of ~ why?

Why do all my terminal commands get executed with a vm prefix instead of the standard ~ prefix that I see in everyone else's laptops? I'm afraid that I'm maybe hacked and perhaps my whole computer ...
0
votes
1answer
32 views

Propagate permissions to subfolders and subfiles

I know that using sudo chmod 777 /folder will set a particular permission to /folder, but it will not do the same with subfolders and subfiles inside the folder. Is there a terminal command to ...
1
vote
1answer
33 views

Can I update the iCloud password from a terminal?

I have several Macs in a different country, and I would like to update their iCloud password remotely. I can login to the machines via SSH, but the firewall does not allow me to use VNC. I would like ...
0
votes
0answers
23 views

How can I see a notification that has been cleaned from notification center? [duplicate]

Hi I want to know if there is a log of what notifications has been triggered in my notification center maybe with a terminal command. Thanks!
2
votes
1answer
68 views

How to upgrade bash with brew (permission error)?

I work with Yosemite (10.10.3) and would like to upgrade bash (to version 4.x) and found this post. After brew update, I did brew install bash, but obtained: ==> Downloading ...
0
votes
0answers
57 views

How to enable true color mode in an OS X Terminal?

NeoVim recently added support for True Color mode in terminals that support it. I've tried both Terminal 2.5.3 (343.7) and iTerm 2.1.1, and neither one can display more than 256 colors by default. ...
-2
votes
1answer
66 views

The Greatest Hassle of OS X

So after downloading lots of applications on my Mac in the past, I decided to get rid of some of these applications - and this is where I met some of the greatest hassles of using OS X, the processes ...
1
vote
0answers
16 views

Problem with Livestreamer after updating Python to 3.4

After upgrading to Python 3.4 i get this message when trying to use livestreamer: /usr/local/bin/livestreamer: line 3: __requires__: command not found /usr/local/bin/livestreamer: line 4: import: ...
0
votes
0answers
37 views

Enable internet sharing from command line (without using applescript)

I have perfected a couple of scripts which can enable and disable the sharing interactively using applescript, but I want a way to be able to do everything without the applescript. My aim is to learn ...
-2
votes
3answers
109 views

Killing discoveryd process affected by malware [on hold]

There was a malware attack on my system. It has affected the discoveryd process. I do a grep to find the process id for related discoveryd processes. I get the following - _mdnsresponder 6115 ...
1
vote
2answers
41 views

Terminal find, rename by deletion

Mac will append a ' 2' (note the space) to the end of a file/folder that is a copy of another file/folder inside the same directory... I was wondering if anybody knows how to batch remove/rename this ...
3
votes
4answers
45 views

Set bash_profile to open with Sublime Text 2 by default

I'd like Sublime Text 2, not TextEdit, to be the default program to open my bash_profile file when I call open ~/.bash_profile in Terminal. Normally I would just control-click on the file in Finder to ...
1
vote
1answer
27 views

Folder disappear from NAS only in Finder

I'm using a Lenovo ix4-300d has my backup system for my archives and it work pretty well. The only downside right now (and it's not even them fault) is that some folder has disappeared from my Finder ...
5
votes
1answer
226 views

How to zip from terminal without creating folder structure of path to folder?

It is possible to zip a target folder with encryption by the terminal command zip -er ~/Desktop/myzippedfolder.zip ~/Documents/myfolder/ However, the contents of myzippedfolder will be a folder ...
0
votes
0answers
16 views

change bash color profile on su $username

With my useraccount I use a .bash_profile that contains this line: export PS1='\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ ' With my adminaccount I use a .bash_profile ...
0
votes
0answers
38 views

Bash Terminal Environment variables = dollar sign

I think I'm having trouble with environment variables (I'm trying to install seismic unix, the make install doesn't work, and I think that environment variables are the problem). The makefile calls a ...
0
votes
0answers
43 views

GIT_AUTHOR variable overrides git config variables

When I commit a change, instead of using the email address I configured, git uses an invalid one of the form: MyMacUsername@NameOfMyMac.local I have tried all 3 git config commands (--global ...
4
votes
1answer
126 views

Script to change Computername/hostname causing bizarre Terminal behavior

I have a script (mostly borrowed) which utilizes scutil to rename computers based off of values in a CSV file. It matches the serial number to a computer name, sets a variable, and then renames the ...
3
votes
1answer
76 views

How to get the postion of the lid

I am trying to figure out what the position of the lid is. Whether it is open or closed. Is there a terminal command or a cocoa code snippet for this? I've already tried pmset -g but i can only get ...
-1
votes
1answer
97 views

Export PATH directly from command line in Yosemite--where is my PATH?

I want to use the latest version of git which I installed via Homebrew, so I needed to change my PATH variable to ensure OS X uses the Homebrew version instead of the outdated version that ships with ...
0
votes
0answers
40 views

Trying to run commands in bash causes Homebrew error

Whenever I try and run any commands in terminal (bash), my window goes crazy and it keeps looping through an output of: /usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ...
1
vote
1answer
34 views

What is wrong in this command about grepping and pandocing?

I am thinking this answer which returns a broken PDF document in OSX 10.10.3. The file test_dummy.tex is here. pandoc test_dummy.tex -f markdown -t html | grep -E '(^<|^$|^ *$)' \ | grep -v ...
0
votes
1answer
17 views

create custom links in OSX dock

I have a program that runs from the command line but not correctly from the icon in the applications menu. While I would like to figure that out, all I want right now is way to create a link in the ...
0
votes
1answer
26 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 ...
1
vote
1answer
41 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
89 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
43 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
53 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
38 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). ...
0
votes
1answer
79 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
1answer
55 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
188 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
66 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
77 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
41 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
20 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
71 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
55 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
41 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 ...