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

Building netgen on Mac OS 10.9 - problem with tcl and tk

I am a very beginner in building from source on Mac. (It's my first request here...) I am trying to build netgen and ngsolve. Mac OS 10.9, Xcode 5.0.2, macports version 2.2.1 After installing tcl ...
1
vote
0answers
27 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
487 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
55 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
50 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
91 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
157 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
90 views

Compiling a gimp plugin

I wish to compile the Gimp plugin "Save for Web" on Mac 10.8.4. I use brew for package management but libgimp2-dev is missing. I've downloaded Gimp 2.8.6 from here . I've downloaded the latest ...
1
vote
0answers
1k 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
3k 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
1k 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
370 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
335 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
514 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
227 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
588 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
85 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
296 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
488 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
248 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
5 views

CCID installation El Capitan

I am trying to install ccid-1.4.20 (command line) in an El Capitan enabled MacBook Air, but I am facing some issues. Instructions says that after uncompressing the file, in the generated folder I ...
0
votes
0answers
16 views

how to send keystrokes from command line without a long delay?

when I use osascript to send keystrokes, I am finding that there is a long delay –– at least two seconds –– and this is unacceptable. is there a way to send keystrokes that is faster than ...
0
votes
0answers
12 views

Xcode Zombies from the command line

I'm encountering EXC_BAD_ACCESS, and I'm not sure of the cause. I know that Xcode offers Zombies, but when I try instruments t="Zombies" my_program_name it doesn't seem to raise the appropriate ...
0
votes
0answers
4 views

Non-debug qlmanage

I've got a bash alias set up in my terminal, alias quicklook='qlmanage -p ', in order to easily quicklook files from the terminal, but the output bugs me. Testing Quick Look preview with files: ...
0
votes
0answers
53 views

.bash_profile is not working unless sourcing it manually

I got a new machine (yosemite osx), and I am trying to set it up. I have created .bash_profile, but unfortunately it doesn't work. Even if I log back in or restart the machine, and open terminal ...
0
votes
0answers
12 views

Force Mac OS X to Register USB devices

I'm using an HDMI CEC adapter connected via USB to my Mac Mini (Machine model Macmini6,2). Often when the Mini is rebooted it fails to register the adapter. Unplugging and replugging the USB cable to ...
0
votes
0answers
29 views

Mount external HDD readOnly option

I have the following problem: I used the optical bay to use a HDD in my mid 2010 13" Macbook Pro in addition to my SSD. It was working just fine until a few days ago, when it started to get "slower". ...
0
votes
0answers
23 views

Protect changes to plain text file written by standard user's execution of bash script

I have written a simple bash script that I want to use as a time clock for employees (work-studies) in my computer lab. The script works great. 1. Each work-study has two icons (two separate bash ...
0
votes
0answers
20 views

ffmpeg - how to merge two h264 videos, using one of them as alpha?

I need to merge two 264 videos: one of the two is a normal rgb video, and the other is a greyscale video that I would use as luma matte to make a final prores clip with alpha. Is it possible doing it ...
0
votes
0answers
21 views

Open Emacs with separate instance in mac os x yosemite

I am on Yosemite 10.10.5. I would like to open emacs from spotlight or from the Terminal as separate instances so that when I close one emacs window the others don't close either. Similar questions ...
0
votes
0answers
36 views

What will “rm -rf /” actually do?

I know that this is a very dangerous command, but what does it actually do. In other words, to what extend does it delete the hard drive. Does it delete only the user data? Or does it delete root OS ...
0
votes
0answers
9 views

Set Terminal.app preferences so CL and stdout are different colours

I see a lot of screen shots of Terminal and bash windows where the promote line and the user input is one colour (say white) and the other lines returned from commands entered are a different colour, ...
0
votes
0answers
52 views

How to pause Applescript when another process is not responding to system events?

I would like a Applescript to pause while a specific process/script/app is not responding (temporarily or permanently) to system events, and to start-up again when the other process is back. In ...
0
votes
0answers
23 views

How to turn off bash_profile from automatically opening when opening Terminal?

I recently changed the ownership of the .bash_profile file from root to MyUsername. Since then, when I start/open Terminal, the bash_profile file automatically opens too. To disable it from doing ...
0
votes
0answers
20 views

Sending data to serial port and audio device from command line

I am looking to create a scripts that does the following: Send data to a non-standard serial port, in my case /dev/cu.SLAB_USBtoUART. Plays an audio file to a non-standard audio device, in my case a ...
0
votes
0answers
28 views

ssh -X fails to start x11 forwarding if x11 is not already running

When I try to ssh -X user@someserver using Terminal.app, x11 does not open and run. I am running OSX 10.10.4 and XQuartz 2.7.7. Previously when I used 10.6.8, x11 would automatically open and run ...
0
votes
0answers
49 views

How do I back up iTunes to an NAS device

I followed your questions/answers on how to backup iTunes to a different location. I am using an WDMyCloudEX2 NAS drive which shares music, videos and photos with all devices in the house. I have been ...
0
votes
0answers
110 views

Switching spaces on one monitor affects open applications on other monitor; looking to prevent this - BOUNTY

Kind of hard to describe. Using Yosemite 10.10.3. Using a mac with two monitors. Left monitor has one desktop space. Right monitor has two desktop spaces. I use a lot of terminal windows at work ...
0
votes
0answers
33 views

Terminal Failing to login

Suddenly, when I attempted to create a new terminal window, it fails. It does nothing for about a minute then shows only this: Login incorrect login: Typing in my username doesn't work. I get the ...
0
votes
0answers
35 views

environment.plist adds extra characters?

OSX Yosemite 10.10.3 I used environment.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
0
votes
0answers
64 views

Make trackpad quiet in Yosemite

In El Capitan there is a setting that allows you to make the click of force touch trackpads (2015 MB. 2015 MBP) silent. I have tried this out in El Capitan public beta and liked it, however since I ...
0
votes
0answers
21 views

users with same uid

I was reading a question about users with same UID. tried his posted command dscl . -list uid | sort -nrk 2 to see what I got. 2 of them share UID 0 root and untitled. UID -2 is named nobody. daemon ...
0
votes
0answers
37 views

How to find and delete users that only show in Password Utility?

While using disk utility to fix permissions, I kept getting a ton of different ACL found but not expected on Library/files. I searched for a fix after using disk utility multiple times. I kept coming ...
0
votes
0answers
40 views

Mac doesn't recognise simple commands like 'ls'

I installed Apache and tried to change the permissions for one of Apache's working directories. After that my machine keeps changing the default path. I can't access the simple commands unless I set ...
0
votes
0answers
28 views

Close Boot2docker terminal window without killing it

I use the Boot2docker application to initialize a virtualbox development environment. I have to leave this window open or it dies. Is there any way I can close the terminal window and have it ...
0
votes
0answers
29 views

using FISH shell — set default folder for multiple tabs?

I'm using fish shell in OS X. Using the standard bash shell, you can open multiple tabs in Terminal, cd to a different directory in each, and then save the setup as a Window Group (via Window > ...
0
votes
0answers
29 views

File name autocompletion stopped working in Terminal

I just noticed this. Previously, when I typed cd Doc<tab> I would get cd Documents. Now I get cd Doc. If I hit tab again it just appends more tabs. I only have one Doc* directory: $ ls -d ...
0
votes
0answers
12 views

View output from script running in background

While messing around with some Ruby programming (Using OS X 10.9.x), i have constructed a script which is forked to the background, and constitutes a loop which only exits after another process is ...
0
votes
0answers
37 views

Nano: how to obtain syntax highlighting?

I have a default installation of nano under /usr/bin/, and I am trying to make nano highlight the bash scripting language code. I have been searching around, but I had no success: I got always some ...
0
votes
0answers
34 views

can't use installer to install pkg. file

When i try to install flash pkg with installer, the installer just jump on the dock and can't open, then i try to install in the terminal installer -pkg Desktop/Install\ Adobe\ Flash\ Player.pkg ...