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

/bin/sh don't read .profile after update to mac os x 10.10

I have updated my mac os x to 10.10 and got a lot of problems with program compilations. It looks like that default /bin/sh are not reading .profile anymore. So, all scripts, which are dependent from ...
0
votes
1answer
40 views

Getting unknown command error when trying to run a bash script

I recently had to re-install 10.9.5 (default install) and am now finding that bash scripts that run perfectly from the command line (~/Me...) no longer work using crontab. I use crontab to invoke ...
0
votes
1answer
107 views

OS X Terminal – Open Tab in current directory, troubles with umlauts

I run OS X 10.7.5. I am currently experiencing an issue with Terminal. I have enabled the option to open new tabs in the current working directory. However, this does not work as expected, when the ...
0
votes
1answer
269 views

Best Practices for dealing with unbrewed files in a fresh install of homebrew

I accidentally deleted /usr/local/bin which contained brew among other things. I reinstalled homebrew and ran brew prune to get rid of broken symlinks, but when I run brew doctor, I still get the ...
0
votes
1answer
83 views

Why my brew does not work?

I installed brew before, but it does not work now. When I run brew, it give me the error -bash: brew: command not found So I tried to reinstall using the code ruby -e "$(curl -fsSL ...
0
votes
1answer
177 views

Disk Utility Showing 0 Bytes on USB

I have a 32GB USB. I recently used dd to write a Linux image to the USB. Somewhere during dd my Macbook froze. When I plugged it back into the laptop after rebooting it wouldn't show. I left it 20 ...
0
votes
1answer
31 views

difference b/w various commands for getting root access in terminal

I have used linux:Kali for a while and to get root access i just needed to type: su in terminal. But in OSX i need to type in su - what does this - mean? If i just type su in terminal than i get ...
0
votes
1answer
49 views

iTerm2 cannot be opened even after SMC and PRAM resets

I got a gray screen due to "A kext releasing a(n) AppleHDAEngineOutput has corrupted the registry." Once the computer restarted, I cannot open iTerm2 anymore. A 1-lined terminal shows up without the ...
0
votes
1answer
39 views

Confusion with sudo and multiple local accounts

I am having difficulties figuring out why certain things are much more complicated on a mac terminal than a standard linux shell.. Say I have two local accounts, one administrator called "adm" and a ...
0
votes
1answer
25 views

How to run a script on login whilst being hidden

I have an applescript (scpt) script that I would like to run on login of a user. I would like the script not be visible in the dock, menu bar, etc. (This would probably mean running it in the ...
0
votes
1answer
38 views

Identifying users who are sharing

When I select Restart from the Apple menu and get the alert "There is a user sharing this computer...", I would like to know which user (e.g. their IP address or some other identification) is sharing. ...
0
votes
1answer
26 views

Launch iTunes and iPhoto when external USB drive is connected

Is there a code that I can just copy an paste into Terminal or Automator? If not what is the best Application to download?
0
votes
1answer
176 views

How to change computer name so terminal displays it in mac os x maverick?

I have a Mac Server 3.1.2, w/ system 10.9.4 that is not being used as DNS Server. Windows Server 2012 is DNS & DHCP server. On the Mac, Terminal cannot ping hostname of mac, however, it does ...
0
votes
1answer
62 views

Completely restore root and home folder after many problems with Macports and Homebrew

I had a long day battling with installing a LAMP environment with Macports. I installed several things, had many problems, tried uninstalling them (not sure if I did), and on and on. Then, I tried ...
0
votes
1answer
72 views

Problems With Terminal (/usr/bin)

I'm experimenting around with my computer and I realized that all the commands in the terminal that aren't bash builtins were stored in the /usr/bin. So I wanted to see (to confirm my realization) ...
0
votes
1answer
249 views

I get errors when trying to install GTK+3 on my Mac OSX 10.9 system

I'm trying to install GTK+3 on my Mac OSX 10.9 system to run a pyGObject project I've been developing in Ubuntu. It runs perfectly on Ubuntu, so I wanted to test cross-platform compatibility. I'm ...
0
votes
1answer
65 views

How to download images from an xml feed using terminal?

How can I download png images from an xml feed that looks the following way? <ListBucketResult xmlns="http://url1.com"> <Name>imagesToUse</Name> <Prefix/> <Marker/> ...
0
votes
1answer
182 views

Applescript Command as Specified User to Delete All Files in a Particular Folder

I am looking at using the POSIX path to delete the contents of a particular folder on users computers but it must be performed as a particular user. I can deploy the script silently from my side ...
0
votes
1answer
34 views

Bulk conditional file name change

I've been doing a lot of organising of my files using terminal commands (mostly for further terminal education). I've learned about bulk renaming in terminal, e.g. replacing all underscores with ...
0
votes
1answer
89 views

How to use automator to create a service which converts an ebook (using calibre commands)

I am trying to figure out a way to be able to right-click on an .epub file and convert it to a .mobi file. Currently (thanks to calibre command tools) I can to the following within the terminal ...
0
votes
1answer
52 views

How to get the content of a Resource Fork?

I want to get the stored resource fork. In PHP, I'm trying to: system('DeRez' . $_icon . ' | perl -ne \'m|/\* (.*) \*/| && print $1; END {print "\n"}\', $content); which in Terminal really ...
0
votes
1answer
386 views

Howto install 'MySQL Utilities' using brew or brew cask

I installed MySQL server and client using brew. I installed MySQL Workbench with brew cask. But I don't find MySQL Utilities (something new?). Howto install that using brew or brew cask? ...
0
votes
1answer
113 views

Copying ssh private key with finder, but can't see it with console

Background: I generated an additional ssh key-pair on my windows 7 workplace computer. I placed the corresponding public keys in my bitbucket.org and github.com account. I am using atlassian ...
0
votes
1answer
21 views

Is there a way to turn off LibreOfficeUpdate via terminal?

Good morning everyone. I administrate few MacBook laptops (in remote locations). We control the versions of software that we allow users to use for compatibility issues. But end users nag as to ...
0
votes
1answer
65 views

networksetup -disconnectpppoeservice not working

I love doing stuff on terminal, a lot. Thats how I found this command to connect to my PPP service: $ networksetup -connectpppoeservice HUAWEIMobile- And its works successfully to connect my PPP ...
0
votes
1answer
452 views

how to use terminal to remove item from dock

Hi I have a shell script in my login item , which runs whenever i log in to my system . It does work completely but once it exits the terminal , it leaves the terminal shortcut on my dock and I don't ...
0
votes
1answer
31 views

What files do I edit to be able to maximize Finder windows to fill the screen by shift-clicking the green button?

Is there a group of files or a single file I can edit to facilitate maximizing "Finder" windows to fill the entire screen just as other application windows by shift-clicking the green plus button?
0
votes
1answer
15 views

Converting filenames with embedded backslashes to directory tree

I recently extracted a ZIP file that I expected to contain a path hierarchy but turned out to be a flat archive of files with backslashes in the filenames. So I ended up with something like: $ ls -1d ...
0
votes
1answer
74 views

Scaled Resolution switching interfering with Terminal startup

I saved a window group in Terminal and set that as my default startup group in Terminal preferences "On startup open: window group..." If I then switch my resolution scaling from "More Space" to ...
0
votes
1answer
36 views

How can I set a shortcut to close the window of TotalTerminal

TotalTerminal is great. But, if it is not the active application, in order to close its window, I have to enter again the application. Is it possible to set a shortcut to close the window of ...
0
votes
1answer
27 views

My keyboard shortcut System Preference panel doesn't allow me to create application shortcuts

My computer is a MAcbook pro and I am running Macosx 10.8.4 I just realized that the shortcuts don't work anymore in an application where I really need them. When I went to re-create them in the ...
0
votes
1answer
35 views

From where do the encodings supported by Terminal come?

If one goes into the Preferences of Terminal.app, there is an "Encodings" tab. From where does this list come? How can one add further encodings?
0
votes
1answer
50 views

Odd bug in iTerm — Why is my name wrong?

I opened up iterm and it says "jessica-s-phone" I'm not sure what the term for that is. I checked my profile and it isn't there.
0
votes
1answer
244 views

Time Machine Backups Gets Stuck With 100% CPU via tmutil

Okay, so I recently decided to try switching my Time Machine backups over to tmutil so that I could gain more control over exactly when they ran, but also so I could run some extra stuff before and ...
0
votes
1answer
307 views

How to socksify apps in mac os

Is there an analog on mac os for http://linux.die.net/man/1/socksify ? So that i can use it like on linux: socksify mongo ....
0
votes
1answer
80 views

Error Opening Image File in Terminal

Much like: How do I cat a deleted file which is still open by its inode?. I am using 'Sleuth Kit' command line tool, to gather relevant data from the disk. But I keep on getting: Error opening image ...
0
votes
1answer
177 views

How do I Create a Macro or Shortcut to run a Command Sequence Terminal

The following was posted as an answer to a question of read/write difficulties on NTFS drive which worked perfectly. Thanks Codler. My question is, is there a way for a noob like me to create a ...
0
votes
1answer
233 views

Help me reset the terminal after sudo command mistake

I recently installed a cracked version of a program and it instructed me to block outgoing connections by following the instructions below. Step 1 Click the "Go" menu, select "Utilities," and then ...
0
votes
1answer
26 views

Find out about links

I have a few links set up. I can do ls -l and get full information about them. For example: Me-Machine:Links me$ ls -l ~/Links total 8 lrwxr-xr-x 1 me staff 64 26 Jul 23:20 jenkins_tc -> ...
0
votes
1answer
66 views

error building phpsh from terminal

I am following the instructions on the phpsh github page I navigate to the phpsh directory and run python setup.py build and I get this error Traceback (most recent call last): File "setup.py", ...
0
votes
1answer
36 views

ssh publickey error

I have a MBP with 10.8.4 and a Mac minis server with 10.8.4. I set sshd to only allow publickey and it worked. But now, I’m now sure why, it doesn’t work anymore. I always get ...
0
votes
1answer
246 views

How do I disable a specific wifi network through terminal?

Is there a way to disable a specific wifi network in Terminal? I'd like to disable my home wifi connection for reasons outlined here: Reclaim Your Life After Work by Disabling Internet Access for ...
0
votes
1answer
475 views

How to Reset Full-Screen Terminal.app Preferences to Factory Defaults

On an iMac running Mac OS X version 10.7.5 I have accidentally resized Terminal.app to full-screen (272 x 76) and am unable to resize Terminal.app to a smaller size. How do I resize Terminal.app to ...
0
votes
1answer
52 views

Weird Output in terminal

I am using the terminal for some debugging and I noticed that it has stopped displaying my user before the path. Now its displaying (null) like so: (null):mspgcc-examples dean$ Whats changed? As ...
0
votes
1answer
589 views

Python IDLE can't be opened by double-clicking .py files in Finder

I can't open .py files in IDLE by double-clicking them in Finder (IDLE is currently set as the default program for opening such files). Nor can I open those files by right-clicking and selecting ...
0
votes
1answer
85 views

How to manually determine version control metadata for Finder?

I have a Scripts folder where I keep Automator actions, Applescripts, and shell scripts. Automator scripts are automatically assigned a version of 1.1.1 it seems. When I make revisions to any of these ...
0
votes
1answer
443 views

How to add a script that types in the password for my vps through applescript

I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code tell application ...
0
votes
1answer
276 views

Set Keystroke for Service from Terminal

I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the ...
0
votes
1answer
262 views

Execute command on launch of custom Terminal Window in OSX10.5+

I'm trying to find a way to automatically launch a command when Terminal is run, but: Have the Terminal window close after command has returned control to it / after (using &) after command has ...
0
votes
1answer
358 views

Programmatically read both per-tab Terminal.app titles

When bringing up the Inspector (⌘I) in Terminal.app to edit the title (⇧⌘I), there are actually two titles that can be entered. The first is known as the Tab Title and affects the terminal window ...