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

4
votes
0answers
144 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 ...
3
votes
0answers
21 views

Tmux hampers osascripts display notification

I like to show notifications from scripts using osascript -e 'display notification "Some text"'. This works fine from the plain shell but it stop working when in tmux. It just doesn't show the ...
3
votes
0answers
56 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
5k 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
38 views

ssh asks for passphrase not keychain password after locking keychain

I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ...
2
votes
0answers
30 views

How to fix “You are not allowed to use ”Application“”

How do I fix this message, I am Admin, Mobile. Even if i login to a root account this message still appears. I have iTerm so if any commands need to be inputted to fix this problem I can still do ...
2
votes
0answers
46 views

SSH to device via USB

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
2
votes
0answers
77 views

New users can't see Apple applications from Utilities folder in Launchpad

I felt like giving my mess of Launchpad icons a fresh start. So I did defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock On checking Launchpad, it had appeared to have ...
2
votes
0answers
52 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal ...
2
votes
0answers
44 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 ...
2
votes
0answers
53 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 ...
2
votes
0answers
27 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
180 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
83 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
27 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
101 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
56 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
65 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
58 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
78 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
58 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
84 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 ...
2
votes
0answers
180 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
171 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
149 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
264 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
571 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 ...
2
votes
0answers
146 views

Sips not working with pict, qtif and sgi files

The terminal command sips -s format pict /path/to/image.ext --out /path/to/output.pic ouputs Error: Unsupported output format com.apple.pict even though if you do man sips and go down to format, there ...
1
vote
0answers
8 views

Disabling “access to contacts” dialog box with terminal

I am trying to disable the following dialog box that pops up all the time when I open Mail.app: Is there a way to do so using terminal? Thanks!
1
vote
0answers
14 views

Terminal 3 failed password attempts

I've got a really funny issue with my Mac at the moment. I was using a sudo command and it rejected my password 3 times (I double checked and the password was correct) but now I can't do anything as ...
1
vote
0answers
21 views

Change Managed, Mobile Account Password through script?

Wondering if anyone has worked with something similar before - we have a number of Mac laptops connected to an Active Directory server, and on first login users create a Managed, Mobile account. When ...
1
vote
0answers
38 views

SSH Public key access - my password is being stored somewhere?

I've just created a Public/Private key to access my server via SSH, this has all worked fine but I added a passphrase to the key when it was created. The first time I logged in via terminal and ...
1
vote
0answers
26 views

How do I Launch an Applescript with a Hotkey Without Automator?

I'm running Yosemite and looking to launch Terminal with a keypress in any application. One solution was creating a Service in Automator that launched terminal and assigning a key to it in System ...
1
vote
0answers
42 views

Aggressize standard stream buffering in latest Command Line Tools (6.1)

I just upgraded my "Command Line Tools" via App Store.app's update process to Version 6.1. It seemed to install just fine, but a lot of commonly used command line tools now have much more aggressive ...
1
vote
0answers
33 views

Any way to reboot a iDevice that is connected to a USB port via terminal (Mac terminal)?

So, I am making a program to reboot iDevices (if there power buttons are broken), is there any way to induce the iDevice to reboot via the Mac shell? Take you'r time.
1
vote
0answers
42 views

Print file from terminal via smb

So UI printing fails with no reason as always. I hope that I can get more details by printing from command line. Tried smbutil print //user@host/share file got: smbutil: unknown command print ...
1
vote
0answers
21 views

No access privileges after new setup via Terminal commands OSX 10.5.8

I have an old G5 Mac running OSX 10.5.8 (leopard)and I had forgotten my admin password. I used some excellent terminal commands I found at Ask Different to Reset the initial setup. I used a different ...
1
vote
0answers
44 views

Terminal window is now blank

A Terminal newbie here. I had downloaded and installed Git, but when I typed "Git --version" I would get illegal instruction. I tried to uninstall Git and now my Terminal window in blank. How do I ...
1
vote
0answers
27 views

Click in finder vs “open -a” on command line

I have a file type (.mxl -- compressed MusicXML) which if I double click in Finder opens properly in my .mxl reader (Finale 2014.app) but which if I call "open file.mxl" or "open -a ...
1
vote
0answers
40 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 ...
1
vote
0answers
104 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
0answers
56 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 ...
1
vote
0answers
45 views

Replacing iphone interface with terminal

Is there an app in cydia or just anyway to replace the normal interface(having to tap icons in order to open) with a terminal. Im using mobileterminal but its just an app. Im looking to replace it all ...
1
vote
0answers
135 views

Executing 'killall Finder' in Terminal raises reopening windows popup

I open Terminal, type killall Finder, press enter to execute, then Finder icon bounces and the well known error popup appears: The last time you opened Finder, it unexpectedly quit while reopening ...
1
vote
0answers
26 views

How to prevent TextEdit from commandline to cause Developer Unknown warning?

Is there any way (other than disabling Gatekeeper through preferences) to allow TextEdit to open my shell-script from a command-line? I'm more than ok with a dialog warning me, but the current dialog ...
1
vote
0answers
124 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
88 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
42 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
54 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 ...