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

3
votes
0answers
32 views

Changing terminal colors for normal files when ls -G or within .bash_profile

So I followed this thread (Changing terminal color) and got all of the colors working for directories and such, except however, for normal files such as a Gemfile or .txt files or .java files or .rb ...
3
votes
0answers
34 views

OS X Terminal displaying ö when typing |

It's the first time this has happened to me. Does anyone know why this could be happening? I think I configured something wrong in the keyboard settings. This is working fine in Word 2011, for ...
3
votes
0answers
21 views

Why is the diagnostic message history not writable as normal user?

When I use normally the OS as a plain user I get frequent console messages like: 20/05/14 08:21:28,194 SubmitDiagInfo[5376]: Launched to submit Diagnostics and Usage 20/05/14 08:21:28,735 ...
3
votes
0answers
81 views

Can the default permissions on /dev/disk* be changed?

Is it possibile to change default permissions /dev/disk*? In Linux this is done in the udev configuration files; which is the equivalent on OS X? I'd like to give group write permissions so members ...
2
votes
0answers
14 views

OS X / Finder - Right Click “New Folder with Selection” - how to Increase the Animation Effect Speed?

10.9.x Finder The effect that pulls all the selected items into a new folder from the right click "New Folder with Selection" is really nice, but way too slow for me. Anyone know a terminal command ...
2
votes
0answers
76 views

Typing >console in username box—nothing shows up until cancelled

When I type >console into the username box on the login screen, the computer seems to freeze for a very long time. Then I press ^C^C^C^C^D^C^D^D^D^C^D and eventually the computer unfreezes—but ...
2
votes
0answers
20 views

How to disable “changing a repeating event” dialog in Mac calendar?

I have a number of repeating events in Calendar (formerly iCal). I often make changes to individual ones on-the-go, but every time it asks me this: Is there a way that I can make the default ...
2
votes
0answers
19 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
2
votes
0answers
37 views

how to turn off rotating cube animation upon user switch?

How to turn off rotating cube animation upon user switch? I apparently need to pad out this qwuestion, so i will add that it makes me dizzy thank you!
2
votes
0answers
45 views

How to switch from Spotlight to Alfred via Terminal?

I installed Alfred through homebrew-cask. I want to disable Spotlight and let Alfred be opened with Cmd+S. The first Terminal-based solution I tried was unloading Spotlight with sudo launchctl unload ...
2
votes
0answers
47 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
2
votes
0answers
57 views

“l/” in shell creates a whitespace

Whenever I type l/ in terminal on OS X (Mavericks), it replaces it with a blank space. I can't seem to find any relevant problems or fixes on Google and I have no idea why this happens. For example, ...
2
votes
0answers
64 views

Activity Monitor confusion

I have two java programs that run forever until I terminate the process, I start both at once using a script.... Cobrakai$more startCapture nohup startCaptureA.sh & nohup startCaptureB.sh & ...
2
votes
0answers
53 views

How to prevent OS X's 'screen' command from resizing the terminal upon entry?

I usually run my terminal sessions in 132 character wide mode in iTerm. However, when I start the 'screen' command, it re-sizes the terminal back to 80 characters. Is there a way to prevent this?
2
votes
0answers
156 views

OS X breaks if I apply HFS compression to the whole volume. What do I need to exclude?

OS X breaks if I apply HFS compression to the whole volume. (It won't boot.) What do I need to exclude? I've been able to compress large parts of it, but then I had to restore after I compressed ...
2
votes
0answers
159 views

Can I use the Terminal to find all OpenMeta tags on my system?

I know that there are apps that can do this, so I figure it must be possible: I'd like to compile a list of every OpenMeta tag that I've used on my Mac (OS X 10.8.3). But here's the rub: I'd ideally ...
2
votes
0answers
4k views

How do I force a partition and format on a USB key in OS X Mountain Lion Disk Utility or from CLI diskutil?

I have a brand new Memorex TravelDrive 64GB USB disk which is being troublesome. It's formatted FAT16 on MBR, which is not so nice, and I'd like to put it on HFS+. I've tried to do this through ...
2
votes
0answers
140 views

mdfind query on kMDItemFSTypeCode can't find some type codes

I just upgraded to a new MacBook with Lion, and having discovered that some of my old apps can't come with, I'm scouring my files for certain types that will need to be converted to future-proof ...
2
votes
0answers
230 views

Multi node cluster setup with home network for parallelized computing using e.g. hadoop, MPI or Rmpi

currently I am reading more and more about multi-core processing (threading) and parallel computing. So I was curious about how to use my 4-core processor to calculate parallelized algorithms using ...
2
votes
0answers
478 views

Why does my Terminal window close automatically?

I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can ...
1
vote
0answers
37 views

When adding passwords to Keychain Access from command line NTLM is converted to MLTN

This is one of the weirdest things... I script adding passwords to Keychain Access when I log in to provide a "SSO" like experience. I use AppleScript to run some terminal commands that look like ...
1
vote
0answers
36 views

Is it possible to disable forced monospace in Terminal.app?

In Terminal.app in Mavericks, regardless of which font you use, the font metrics are ignored and forced monospacing is applied instead. Is there a way to disable this? Ridiculous example of the ...
1
vote
0answers
37 views

Terminal speed up doesn't accept command line arguments from outside source?

From a previous suggestion I changed terminals startup command from default to '/usr/bin/bash' which I created as a link to '/bin/bash' which stops terminal from login in every time I open a tab ...
1
vote
0answers
21 views

Unknown Error -22 When Trying to Copy Files from Time Machine

Somehow I've managed to accumulate a bunch of files in Time Machine that don't seem to be capable of being copied out of Time Machine, citing "Unknown Error -22", like-so: sudo cp ...
1
vote
0answers
39 views

Terminal Command to Check Available USB Ports

I recently took a trip and was utilizing a USB GPS Device push coordinates to a file. In the middle of the day the device decided to stop working. We were never able to get it back working again ...
1
vote
0answers
12 views

To have inkscape's terminal scripts in terminal like in Linux

I am trying to write this makefile in OSX. I have installed Inkscape but it does not have the script that allows you run commands in terminal like this inkscape $(SOURCE).svg -w $(WIDTH) ...
1
vote
0answers
49 views

XQuartz is not starting from within tmux

I'm using the standard apple terminal with zsh as my default shell. In my ~/.zprofile (equivalent of .profile) I have the following line: [[ $TERM != "screen" ]] && exec tmux This ...
1
vote
0answers
19 views

Clever way to create image of entire terminal log?

I would like a way to execute one command, to take a "screenshot" of the entire terminal log (including lines of text that are not visible without scrolling) Possibly an application that has this ...
1
vote
0answers
54 views

openAL Terminal ends with Error: Couldn't open input file (-43)

I've followed the tutorial of openAL sound on the iPhone. While trying to make input file, I'm getting the error which looks like Error: Couldn't open input file (-43) Here is what I've done so ...
1
vote
0answers
41 views

Detecting that an external display is plugged in or unplugged on a laptop via bash

Is there a way via bash to detect that an external display has been plugged in or unplugged via bash? I know that I can create a crontab command that fires a script that uses the system_profiler ...
1
vote
0answers
33 views

set default browser (all users) from CL?

Is it possible to set the default web browser for the computer (i.e. for all users) from the command line? If I understand correctly, individual users' browser preferences are stored in ...
1
vote
0answers
65 views

Terminal wraps at 80 chars even if window is wider

Problem description If I increase the width of a Terminal version 2.3 (309) window, and then use less (or some command invoking less, like man) in that window, I often get garbled output, since the ...
1
vote
0answers
30 views

Can't use Alt+N in Terminal

I installed Zsh the other day but didn't like it so I promptly removed it. Since doing so however I'm no longer able to type alt+n to get a ~ character, whilst it works everywhere else. Yes, I know I ...
1
vote
0answers
31 views

How to manually start a service without having a controlling terminal?

I maintain an application that runs as a background service, started either on boot as a StartupItem or manually from the command line. I want to know how to launch it manually without having a ...
1
vote
0answers
47 views

Adjusting Brightness, or executing any keypress, on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
1
vote
0answers
52 views

Correct Way to Check if Spotlight Has Indexed a Folder's Contents

Okay, so I've written a script that uses mdfind to more quickly match files, however, I need to find the best way to check whether a target directory is indexed or not, so I can fall back to using ...
1
vote
0answers
69 views

Battery value in terminal different to battery value in menu bar

My MacBook Pro Retina is currently reporting 100% battery in the menu bar, however if I run the following command in terminal; ioreg -l -w0 |grep Capacity The following is returned; | | ...
1
vote
0answers
183 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
49 views

How can I revoke an applications access to keychain passwords from the command-line?

Applications can be granted permanent unprompted access to passwords. You can add and revoke these privileges using the Keychain Access utility. (See this answer) I'd like to be able to revoke from ...
1
vote
0answers
24 views

Terminal app Tabs, how to position next to current tab instead of at the end

I use Cmd-T all the time to open new tabs, and it's set to use the same directory. However, it positions the new tab as the last / far right tab in the window, instead of next to the current tab that ...
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
194 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
48 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
45 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
95 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
653 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
867 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
181 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. ...