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

1
vote
0answers
24 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
1
vote
0answers
222 views

Where does Transmission store logs for called scripts?

Transmission has an option to run a shell script when a file finishes downloading. I'm wondering where to look for logs for it – it seems like it only executes half of my script but can't figure out ...
1
vote
0answers
50 views

Is there another way apart from screencapture to take a screenshot of a background window?

I'd like to take a screenshot of a background window given its title. I know this can be made with screencapture -l idwindow output but unluckily I can't use this method because I'm on a 10.5.8 ...
1
vote
0answers
46 views

iTerm2 and CLI menus

How do I get iTerm2 to show CLI menus properly? I usually use those menus over ssh.
1
vote
0answers
64 views

Rails Command Fails Because of Space in Path

I tried setting up a Ruby on Rails project on my nice safe volume called "Data RAID". The set up failed with some strange errors that I eventually tracked down to the space in the path name. It works ...
1
vote
0answers
104 views

Sudo works for a whole day and then stops working until a reboot

I currently have admin access to a Macbook Pro running OSX 10.8.4. I have been sudoing at the terminal for the whole day with no restart until sudo stops working. I rebooted the operating system and ...
1
vote
0answers
731 views

FocusFollowsMouse, cut-paste from browser to Terminal in 10.8 (duplicate)

Added: this was discussed in focus-follows-mouse-plus-auto-raise-on-mac-os-x on SO in 2010. In short, accept it, or buy an addon: how-can-i-make-focus-follow-the-mouse-cursor. The sequence: cut ...
1
vote
0answers
2k views

FTP: active vs. passive, command line vs. browser

Here's a weird one for everyone. I'll use AskDifferent because my test bed is on a Mac, but I don't know that the underlying issue is specifically Mac. My Mac is behind a NAT wall. Let's call my ...
1
vote
0answers
935 views

My MBP (13 inch, MID 2010) will not start up

I have used the internet for the past 2 weeks in search of something that will help me troubleshoot/repair my MBP. It wont boot in Safe Mode using the SHIFT key. Following is everything I have tried ...
1
vote
0answers
202 views

Is there a console interface for the Client Monitor on OSX?

I'm writing a bash-script at work for controlling our Mac-computers (OS X Mountain Lion) remotely. Since we use FileWave in our Company we just have to remove an Application and restart the computer. ...
1
vote
0answers
234 views

Resource efficient way to monitor file change and execute shell scripts on change

I know at least three ways to monitor a folder/file for changes and execute a shell script on change. First, use "Folder Actions" of Automator Second, the launchd.plist approach but it seems the ...
1
vote
0answers
370 views

Cannot write to SMB Share with Terminal OS X 10.8

I am trying to copy some files from my local drive to a SMB share I have set up on my home network using Terminal, but I keep getting this error: fchmod failed: Permission denied The share is set ...
1
vote
0answers
217 views

Midnight Commander installed via Ports to support scp

I have installed Midnight Commander via Ports, but I am unable to connect to a remote computer to copy files as: cd #sh:user@server.net I keep getting: "Cannot CHDIR to #sh:user@server.net". ...
1
vote
0answers
374 views

How to include the failing username on saslauthd failure in a log file in Lion?

How can the verbosity of logging be increased for SASL authentication failures? To be more precise, to include the failing user name in a log file on Mac OS X 10.7 (Lion) Server? Linux hosts have ...
1
vote
0answers
82 views

why does less seem to think my terminal has more lines than it does?

Don't know if this is really an OS X question, but: less seems to insist that my terminal (whether I'm using the builtin Terminal or iTerm2) has more lines than are actually displayed, and so the top ...
1
vote
0answers
93 views

My hostname is now out of sync

My hostname got out of sync with what it is set to in System Preferences - Sharing. From what I've read this is most likely related to a router having the ability to update my hostname. Anyhow, I've ...
1
vote
0answers
205 views

Signals sent to command-line programs when exiting terminal.app

When using tmux, if I CMD-W, or otherwise quite out of terminal, my tmux session persists, as it should. However, it still lists itself as "attached", whereas on other platforms, (e.g. Ubuntu) when ...
1
vote
0answers
389 views

After updating oh-my-zsh prompt is weird on startup

I have been using the default installation of oh-my-zsh (robbyrussell theme) without issues. I just did a 'git pull' and now on startup I see a weird prompt. As soon as I press any key the prompt ...
1
vote
0answers
216 views

Proxy won't work without telnet

This isn't a problem as such, more an irritant that's begging for a clean solution. At work we have a couple of Macs which I'm trying to get integrated nicely into Active Directory. We enforce all ...
0
votes
0answers
53 views

How to access a connected iPhone device from within Terminal?

How can I access the connected iPhone or iPad from within Terminal on OS X? I want to get all the photos (only photos) from the connected iDevice and save it to any directory in my OS X filesystem. I ...
0
votes
0answers
79 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
44 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
20 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
0answers
15 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
0answers
16 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
0answers
37 views

OSX 10.9: GCC standalone (non-admin)

I have a Mac Mini at home, with my own administrator account. My school provides MacBook Airs. I have XCode installed on the Mini, but I only use the command line extensions-- GCC, G++, etc. I don't ...
0
votes
0answers
39 views

Unable to use ssh to log into any linux server

Use /usr/bin/ssh -v SERVER to login, here is the output: OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/hong/.ssh/config debug1: /Users/hong/.ssh/config line 1: ...
0
votes
0answers
68 views

DNS Lookup Failure on Terminal Only (Mavericks)

I recently did a clean install of Mavericks, and ever since I have, I've been having intermittent DNS lookup failures on the terminal only. Browsers work fine (Chrome, Safari). But nothing works ...
0
votes
0answers
36 views

Overtype mode in command prompt

As a linux/windblows user, I am used to switching temporarily to Overtype Mode when using the command prompt. As a new user to the mac world, I do not know how to change text input mode from normal ...
0
votes
0answers
119 views

Move full screen app to the LEFT of first desktop in 10.9.4?

I am part of the Apple developer program, and received the 10.9.3 beta before the full release. In that version, I could place a full screen app to the LEFT of the first desktop. My setup was to have ...
0
votes
0answers
32 views

How do I enable an external display in Single User Mode via Terminal on a headless macbook?

I'm trying to troubleshoot video issues on macbook laptop with no display or a dead? display but can't see what I'm doing. I need a Terminal command to run 'blind' after I boot into Single User mode ...
0
votes
0answers
26 views

How to prohibit other languages than english in terminal

I am using some other languages other than English as input sources, every time I am opening my terminal and start writing a command I write it in a language other than English. I need to know if ...
0
votes
0answers
14 views

Terminal: Different Profiles, Different Startup Command

In Terminal preferences you can create different "profiles" under the "Settings" tab. After selecting a profile, clicking the "shell" tab will allow you to set a startup command. However, this is not ...
0
votes
0answers
31 views

Problem with w3mimgdisplay installed with MacPorts

I have installed w3mimgdisplay using MacPorts with "+inline_image_imlib2" and see w3mimgdisplay created under "/opt/local/libexec/w3m/w3mimgdisplay". But, still not able to see images inline in w3m ...
0
votes
0answers
33 views

Plugins with rxvt-unicode

I've just installed urxvt using homebrew: brew install urxvt But I can't find the plugins directory. I used to have them in /usr/lib/urxvt on my Linux machine, but this doesn't seems to work for ...
0
votes
0answers
35 views

Bind exception loop while trying to run Resin

I'm running into this issue while trying to run Resin under OSX 10.9, looks like it might be a permissions thing. I've already poked holes in my firewall using the following. sudo ipfw add 40000 ...
0
votes
0answers
34 views

For a bash script I want to replace a folder without changing owner and permissions

I want to replace a folder with cp -f without changing owner and permissions cp -R -f "newfolder" "oldfolder" Because I create backups of the old folder with the bash script I tried to use chmod ...
0
votes
0answers
31 views

Want to Update OpenSSL with Ruby 2.0.0 Already Installed

I have Ruby 2.0.0-p451 installed via RVM. From what I have read online the newer versions of openssl need Ruby 2 installed. I'm running RVM 1.25.25. I currently host Ruby on Rails websites on my Mac ...
0
votes
0answers
67 views

How to update applications that were moved from Application folder

All my applications in the /Applications folder are sorted in different subfolders, so that I can find them easily. I know, this is not recommended (see this question), since the Software Update looks ...
0
votes
0answers
56 views

Why the shortcuts `CTRL+s` and `CTRL+q` don't behave like `stty stop/start` in terminal?

Why the shortcuts <C-s> and <C-q> don't behave like stty stop/start in terminal? 1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problem in vim+terminal+bash on Mac OSX 10.9.2) ...
0
votes
0answers
14 views

msmtp not looking at keychain over ssh, only looks when in terminal

I've been wrestling with setting up msmtp for some time now, only to realize that when I run it from a terminal it works as expected (uses my password from my login keychain) but when I'm ssh'ed to ...
0
votes
0answers
88 views

GNU Radio Companion Osmosdr block

When using macports to install gnurado the build stalls and brings my MacBook Air to a snail's pace.I am running osx 10.6.8. I have a .profile file in ~/ but I have a feeling it has to do with ...
0
votes
0answers
9 views

Services as links for context menu

Is it possible to make a link to service? I am developing service for context menu, but each time I want to check it, I need to copy this service to directory ~/Library/Services Any ideas how to link ...
0
votes
0answers
46 views

Why does changing password in System Preferences work when it doesn't through Terminal?

My question might also be put, "What does System Preferences -> Users & Accounts do to change a user's password that I'm missing in the command line?" The desktop is joined to both OD and AD ...
0
votes
0answers
60 views

Xvfb hangs while loading video extensions

I'm trying to get xvfb from XQuartz 2.7.5 running properly on 10.9. I'm starting the server with: Xvfb :30 -ac -screen 0 900x900x24 and it's hanging on Initializing built-in extension ...
0
votes
0answers
18 views

ls doesn't work on folder after time machine restoration

i find that if i attempt to ls on a folder after transferring the folder from windows 7 to osx via a FAT32 drive, i am unable to get a directory listing. I've tried the following: attempted to ...
0
votes
0answers
39 views

What is the equivolent of “dmesg -c” on OSX?

How do I clear dmesg in OSX? In linux I simply run dmesg -c. dmesg, -C, --clear Clear the ring buffer.
0
votes
0answers
56 views

Rsync'd Files Are Hidden Through Finder, Visible Through Terminal

I have an hard drive from an previous MacBook that I need transferred to a NAS device. I used sudo rsync -r --progress /Volumes/oldDrive /Volumes/NASdrive to copy the files to the NAS drive. I need ...
0
votes
0answers
13 views

Ensure that the user is signed in after a reboot via Terminal.app

In the User settings I have Automatically Sign In as: . However, when I reboot the machine via SSH in the Terminal.app the machine reboots, but does not sign in the specified user and is stuck at the ...