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
0answers
17 views

Change source in Audio MIDI Setup via command line?

Is there a way to change the AirPlay source in Audio MIDI Setup via the command line (currently I'm doing this with GUI scripting)? My idea is to change the source with the defaults command in the ...
3
votes
1answer
83 views

Difference between Capacity and %iused when running df command in the terminal

When I run the df command I'm getting different values for capacity and %iused. What is the difference between them?
1
vote
1answer
13 views

Enable right click Magic Mouse in Terminal

I am trying to enable the right click on a Magic Mouse connected to an iMac running 10.6.8, but due to parental controls, I am unable to gain access to the Mouse System Preferences. I know you can ...
1
vote
0answers
27 views

How can I make an Automator service run a shell script and display the output?

I'm using Automator to run a shell script (ffmpeg transcode to h264) as a 'Service', so that I can just right click the high res .mov file and select the service. It works fine, but as it's ffmpeg it ...
0
votes
0answers
13 views

OSX 10.9.4 Other sound device selected; sound still from internal speakers

This issue here is my exact problem (his was unsolved): OS X ML 10.8.2 sound from certain applications going to non-selected sound card? I have "Sound Flower 2ch" device selected, most all of the ...
1
vote
0answers
14 views

Automated mass MAC Address and Serial Number collection with NetBoot or NetRestore

I work in an environment that utilizes OS X Server's NetBoot and NetRestore on a daily basis for preparing Macs for resale. I am working on a new, custom image for a customer that has a special ...
1
vote
2answers
29 views

Finder treating symbolic links differently than terminal MacBook Pro Retina OS X 10.9.4

I created symbolic link jboss7 for hard link jboss-as-7.1.1.Final-downloaded and it worked fine in Finder. Then I made backup before modifying JBoss... ln -s jboss-as-7.1.1.Final-downloaded jboss7 ...
2
votes
1answer
47 views

Preview Not Opening File - Permissions Issue (via Python)

I have a Mac VM running Mavericks (10.9.3), and for various reasons I am trying to write a script in Python to automatically transfer a PDF file to the VM and open it in Preview. For anyone who ...
1
vote
1answer
27 views

Difference between variable and pipe to shell in applescript

In answering this question I wrote this script: global presenterNotes tell application "Keynote" activate open (choose file) tell front document set presenterNotes to presenter ...
1
vote
1answer
34 views

How to send several pings per second? (ping more quickly)

I was looking into pinging a host 5 times per second. I've read the man page for 'ping' for Mac OSX, but I can't find anything that would allow me to do this. I tried setting the -W switch to 5, to ...
1
vote
1answer
66 views

Striving to become power user on OS X (coming from Windows)

I'm a long time Windows developer guy & did lots of lower-level stuff (hesitate to say power user). I'm very proficient on the command line and using PowerShell... but now that I've moved over to ...
2
votes
2answers
30 views

Terminal window title rapidly changes when first opening

When I open a fresh terminal window, the title at the top has this format: [house icon][username]-[command]-[terminal size] The command portion of the title initially says login, then it very quickly ...
1
vote
0answers
27 views

How to make files safe so users can download and OS will not quarantine them?

I work with Axure software that generates dynamic and navigable prototypes in HTML. Once they are done I need to send a ZIP file of those HTML files to clients via e-mail or any download internal ...
0
votes
1answer
19 views

Start the process WindowServer per Terminal

I have to start the WindowServer Via the Terminal: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer I can not use killall -HUP ...
0
votes
1answer
29 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
1
vote
4answers
91 views

Getting my old Terminal back after uninstalling fish

Recently I got tired of the smaller kinks that the Fish Shell presented me with (undiscoverable commands etc.) so I decided I wanted to change the shell back to normal and uninstall fish. However in ...
0
votes
0answers
36 views

How to enter this terminal command in Yosemite? (ipfw) [closed]

I know ipfw was deprecated in Yosemite. I want to enter these commands in the terminal but I don't know how to use pf, can anyone convert them for me? The commands are here: sudo ipfw add reject ...
0
votes
1answer
7 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?
1
vote
1answer
43 views

Unknown error message in Terminal

When I open the Terminal I keep getting this message, which I suppose is some error: /Users/sinisasasic/.zshrc:export:48: not valid in this context: ...
2
votes
1answer
19 views

click select IPv6 address in terminal

When clicked on IPv4 address in terminal window, it gets selected as a whole, not a single octet. The same action does not work for IPv6 adress, it does not get selected. I assume there is some ...
2
votes
1answer
16 views

Piping into printf

In Terminal, I'm trying to replace MY_SUBJECT and BODY_OF_EMAIL from the command below: printf "From: Sender Name <sender@domain.com>\nTo: recipient@domain.com\nSubject: ...
1
vote
1answer
47 views

Why does this bash script not work as an automator service?

I know very little about bash scripting or Terminal commands, this is all very new to me so please bear with me. Original script I would like to use a script I found on littlefield.info as an ...
1
vote
1answer
26 views

How to disable middle click paste Mavericks Terminal?

I have looked all over the Net and can't find a way to disable middle-click paste in the Terminal application in Mavericks? I want it scroll but not paste. Anybody know how to fix this? I'd sure ...
0
votes
1answer
48 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 ...
1
vote
2answers
51 views

Open an new Safari window on the current space from the Termial shell with multiple tabs (URLs)

How to open an new Safari window from the Termial shell on the current space? Now when using the open http://example.com it got opened the URL as last TAB on my 1st safari window. I'm looking for ...
0
votes
1answer
14 views

Can't run an ova file

I download virtual box from http://www.modern.ie/en-US/virtualization-tools#downloads and extracted it. When I tried to run ova file, I couldn't. $ sudo ./"IE11 - Win8.1.ova" ./IE11 - Win8.1.ova: ...
7
votes
4answers
205 views

Can I run top as screensaver?

My employer has recently issued me a MacBook Pro to play with. I have a lot of Linux experience, but I was struck by how nice the terminal looks on the Mac in full screen mode, especially when running ...
0
votes
0answers
31 views

Issues with Unicode symbols in some applications running in Terminal.app and iTerm2

Darwin DeoGloria 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64 Fresh user account. Terminal.app and iTerm2 with UTF-8 set. Accented ...
0
votes
0answers
12 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...
0
votes
1answer
78 views

How do I know if my mac's Terminal has been hacked?

I was using Terminal just now and realized that I was seeing something different on the screen than I have in the past. I can't remember what it used to be, but I know for a FACT that I have never ...
1
vote
0answers
13 views

Restoring original files from the trash by aliases

Someday in the future, (definitely not today) I might find myself in the following situation and be in need of assistance: Lets say I was trying to clean up my desktop and tried to move many files ...
0
votes
1answer
31 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
2answers
22 views

Geeklet script to ping hosts

I have found the nice script below to ping a host to check if it is up or down. However I haven't found a way (and my very basic programming knowledge has failed me here) on how I can ping multiple ...
1
vote
3answers
40 views

echo works incorrectly with GeekTool

I am trying to use echo in GeekTool to print text without a newline like this: echo -n "test" When I run that command in Terminal it prints this: test In geek tool it prints this: -n test What is ...
2
votes
0answers
27 views

Iterm2 - Export a single profile's settings for distribution to others

I've been getting used to working with Iterm2 over the past few weeks. I have a very specific profile configuration requirement for a legacy business application. The configuration for the profile ...
0
votes
1answer
21 views

GeekTool messes up formatting for cat

I have a text file called stocks.txt it looks like this: AAPL [1;37m 96.15[00m[32m 0.55 (0.58%)[00m GOOG [1;37m 566.07[00m[31m -5.53 (-0.97%)[00m FB [1;37m 72.28[00m[31m ...
0
votes
0answers
13 views

using mdfind for smart search across all files

I am trying to use the mdfind command to search for phrases across all files in my computer from the command line. Basically i am trying to combine grep and finder search since grep is too slow for ...
0
votes
1answer
39 views

Unable to set Atom as default $EDITOR

I would like to set Atom as my default editor on OS X 10.10 (Yosemite). In order to do this, I set in my .bashrc: export EDITOR="atom -nw" and reload the file with source .bashrc. Anyway, when I ...
0
votes
2answers
27 views

Terminal/iTerm Autocomplete “greyed” functionality?

Not too sure how to describe this... but I saw this on a person's computer a cafe today and didn't get a chance to ask him what plugin/application he was using -- I think it best to illustrate with ...
1
vote
1answer
34 views

Using the builtin dialog under OSX to unlock an SSH key

OSX has a builtin passphrase dialog for ssh-agent, so that on the first use of a key, it'll get cached. The problem is -- I can't find a way to spawn that dialog by just adding ssh-add. ssh-add will ...
0
votes
0answers
15 views

(Re)Setting defaults preference on OSX for one folder excluding subfolders

i am trying to understand the "overall" file metadata vs preference default settings -logic with osx mav on my mac... after all i am totaly confused The issue: I set up my default com.apple.. to ...
0
votes
1answer
14 views

Where does iTerm store user preferences?

Where exactly is iTerm's user preferences file located? What I want is to sync this file over Github between several machines.
0
votes
3answers
65 views

“Command not found” when attempting to cd in Terminal

I am getting errors trying to set up web starter kit via Terminal. I get an error trying to install the kit: $ cd web-starter-kit $ npm install returns -bash: $: command not found. How do I get this ...
0
votes
1answer
22 views

How to edit /etc/profile using emacs?

I am using Emacs 24.3 on Mac OS X 10.9.4 and I am trying to edit /etc/profile with that. It obviously does not work when starting the GUI version, but for some reason, it also does not work when ...
1
vote
1answer
33 views

Can connect over SSH from Mac to linux

I have an Xubuntu server set up with SSH. I can connect to it using Putty on Windows and via a Chrome SSH plugin on my Mac. However, when I use terminal client it just hangs for a bit and then I get a ...
0
votes
2answers
32 views

I want to show a file in an AppleScript bundle, but shell returns: file not found

My Bundle File: reference.txt My Code: set bashFile to path to resource "reference.txt" set the reference_data to do shell script "type " & quoted form of (POSIX path of bashFile) display ...
2
votes
1answer
31 views

Copying only files without a special string in filename

I have to copy only files from a folder that don't have following string in its filename: NNNNxNNNN (a 3 or 4 digit number followed by the character x followed by a 3 or 4 digit number again -> it's ...
0
votes
1answer
17 views

How to prevent Terminal.app from displaying a tab bar when there is only one tab open

The image below is the header that appears when I open Terminal.app. As you can see, only one tab is open, but a tab bar still shows (just has one tab that says "bash"). How can I prevent the tab ...
0
votes
2answers
28 views

Set Alias for Terminal Window in Applescript

After opening multiple terminal windows and running commands in them, it becomes difficult to send another command to a specific terminal window. How can we set an alias for each terminal window so ...
0
votes
1answer
46 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) ...