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
32 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. ...
1
vote
2answers
49 views

Change default Preview window size?

I'm working with LaTex and I'm using a text editor that, when I compile LaTeX files, runs a script to open the compiled pdf in Preview. The trouble is that Preview opens in the same default dimensions ...
4
votes
1answer
72 views

System hotkey to execute cmus-remote?

I am a huge fan of the terminal-based music player cmus. It does everything I want from a music player and nothing I don't. I want to use it instead of iTunes on my Macbook. I installed it via ...
1
vote
0answers
33 views

How to display unicode chars in emacs when running in terminal

This is not strictly a OSX question but someone in here probably has a solution. I'm running emacs from the command line and I simply can't get emacs to correctly show Unicode characters. Everything ...
6
votes
2answers
548 views

Change *.txt to *.csv

How can I rename all *.txt in a directory to *.csv files in the terminal (Mavericks). I tried following inside the directory: mv *.txt *.csv
1
vote
1answer
70 views

Can I execute a Terminal command in a new tab?

It just occurred to me that it would be incredibly useful if I could type a command in one Terminal tab, and then execute it in a new background or foreground tab. For example, this would be awesome ...
2
votes
1answer
279 views

Why doesn't (can't?) terminal support the x11 protocol?

It would be great to be able to x tunnel over ssh; why does one have to use XQuartz (etc) instead?
0
votes
0answers
134 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
175 views

What is the difference between 'Capacity' and '%iused' when running the '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
83 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
2answers
125 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
35 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
50 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
82 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
255 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
65 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
55 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
97 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
43 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 ...
2
votes
0answers
35 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
48 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
58 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
135 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
1answer
14 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
58 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
35 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
17 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
104 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
47 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
137 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
128 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
49 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
238 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
63 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
27 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
190 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
32 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
48 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
44 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
49 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
46 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
29 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
21 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
168 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
116 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
66 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
20 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
30 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
98 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
30 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 ...