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
2answers
325 views

Why is opencv not using all cores after upgrading to Mavericks?

I'm running a CPU intensive command on Mavericks (Opencv_traincasscade). Under Mountain Lion the process used to use all 8 cores all the way though. However after upgrading it drops to 1 core after ...
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 ...
6
votes
2answers
258 views

How do I disable (and re-enable) my Thunderbolt port from the terminal?

I've been having this problem with my Matrox DualHead2Go ME and my late 2011 15" MBP (running 10.9.2). When the displays wake from sleep, the external monitor does not re-awake. I've gathered that ...
1
vote
0answers
38 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
13 views

Changed /Users folder permission at boot time [duplicate]

Some application (or script) changes the permission of my /Users folder from 755 to 777 at every boot. So, when I change it back to 755 (or repair perm with DiskUtility) it is good until the next ...
2
votes
1answer
64 views

Shell scripting: Why does only the “-” hyphen throw an error?

Goal: Cleaning up Selectively truncate filenames in my nvALT notes folder. I tried using a productivity blogger's suggestion (which eludes me after a thorough search) to prepend ^ > - + to ...
1
vote
1answer
16 views

How to change default LC_TYPE?

My OS X (Mavericks) seems to be setting LC_CTYPE environmental variable to UTF-8 by default. How can I change the default? I need LC_CTYPE to be en_US.UTF-8. There's a catch: I don't want to ...
1
vote
1answer
43 views

Why am I using LLVM?

I was testing the 14.04 release of Ubuntu on VirtualBox, and later, after having gotten a pretty good idea of the changes, removed VirtualBox from my computer. However, when I ran the command 'python' ...
3
votes
0answers
24 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 ...
0
votes
1answer
41 views

Scrolling of the terminal does not always stick to the bottom

When my terminal gives lots of output (for example when I am compiling something), by default the scrolling automatically sticks to 'bottom' of my terminal window. But when I scroll within my output, ...
1
vote
2answers
33 views

deleting app from terminal

from the /Applications folder, I can launch apps on my Mac using the open command in the terminal like this open xcode.app open firefox.app Is there a way to delete apps from the terminal? This ...
2
votes
1answer
78 views

Downloads folder is showing empty when it's not!

My Downloads folder looks utterly empty, not a single file or folder. And I have already emptied the Trash too. But for some reason, a Terminal ls run for this folder says there are 16 items! Here's ...
0
votes
0answers
24 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
2answers
28 views

say command says wrong text (for some voices)

I'm running 10.8.5 and installed some of the newer text-to-speech voices, including "Samantha" (aka Siri), "Tom", and "Jill". They work fine, except for the word "seq": say -v Jill seq produces the ...
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 ...
1
vote
1answer
80 views

ffmpeg working from command line in Terminal but not in an Automator shell script!

I have just compiled my own copy of ffmpeg on my system and it's located in the following path: /opt/local/bin/ffmpeg When I run the following command in Terminal.app, it runs smooth: ffmpeg -i ...
1
vote
2answers
34 views

Writing special characters to the clipboard with the command line

I'm trying to write the string あいうえお to my clipboard using the pbcopy command line tool like this echo あいうえお | pbcopy But what I'm getting in my clipboard is completely different : „ÅÇ„ÅÑ„ÅÜ„Åà„Åä. ...
0
votes
0answers
44 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 ...
1
vote
1answer
1k views

LSOpenURLsWithRole() failed with error -10810 - Downloaded app does not start

I'm trying to run an application downloaded from the internet (e.g., Jabref) but it seems that it fails silently. When I try to open it by double clicking it, nothing happens. When I use the terminal ...
0
votes
1answer
51 views

Howto install 'MySQL Utilities' using brew or brew cask

I installed MySQL server and client using brew. I installed MySQL Workbench with brew cask. But I don't find MySQL Utilities (something new?). Howto install that using brew or brew cask? ...
2
votes
2answers
300 views

Passing a password to an Automator application

I have written an Automator application with the following shell script to open an FTP connection on my system: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist osascript -e 'tell ...
1
vote
1answer
69 views

Automator service for FTP

I am currently using SFTP on my MacBook to perform file transfers with my brother's Linux (Ubuntu) system. Every time we need to share a file, I start the FTP server on my Mac by running the following ...
3
votes
2answers
93 views

Where is the screenshot property list now located in Mavericks?

Previously, the screenshot property list could be found at: ~/Library/Preferences/com.apple.screencapture.plist In Mavericks, this file no longer exists. In the past, I used to be able to manipulate ...
0
votes
0answers
65 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
1answer
116 views

Using visudo to edit sudoers on Mac

I have managed to make the sudoers file on my Mac erorr. eg. $ sudo visudo >>> /etc/sudoers: syntax error near line 45 <<< sudo: parse error in /etc/sudoers near line 45 sudo: no ...
5
votes
1answer
178 views

Environment Variables on Mavericks

I am trying to set an environment variable that will be accessible from both a GUI application (Pycharm) as well as from the Terminal. This variable is called PYTHONPATH. I have tried Setting the ...
0
votes
1answer
25 views

Terminal Equivalent of Finder Sort Order

One of the features I like about the Finder is that it sorts numbers "correctly", i.e - a file named "Episode 10" will come after "Episode 9" in a list, rather than after "Episode 1". However, I ...
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 ...
1
vote
0answers
26 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
1answer
43 views

How can I get the list of allowed users for Remote Management via Terminal?

I want to use a command line tool to get the list of allowed users for Remote Management (ARD). I was able to enable ARD using kickstart, but I'm having trouble finding how you get the information, ...
3
votes
2answers
249 views

Automating ffmpeg using Automator Service

I often use ffmpeg off the command line to convert video files into mp4 on my Mac (running Mavericks). Do note, however, that I am NOT re-encoding my videos; am just changing the container from an avi ...
0
votes
1answer
72 views

What are the differences between terminal types supported by iTerm2?

I am looking for a brief comparison of the terminal types supported by iTerm2, mainly to see what setup to pick in order to minimize problems. Mainly, I am connecting with Linux (Debian/Ubuntu) ...
0
votes
0answers
41 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 ...
1
vote
2answers
38 views

Add commandline app shortcut

How do I run the app: ~/ngrok by typing ngrok? I want to add a shortcut to the ~/ngrok location so that I don't need to know the place where it is when I run the app.
0
votes
1answer
33 views

Why is same privileged bash command giving different information from script than from command line?

I wrote a bash script to verify various configs on a system, but I am getting different results depending on whether it is run from the command line directly or from the script. Here is the command: ...
0
votes
0answers
44 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 ...
2
votes
0answers
20 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 ...
0
votes
0answers
16 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
1answer
54 views

Preventing desktop jump when window is open on another desktop?

I have setup 2 Desktops in Mavericks (Mission Control). On "Desktop 2" there are some programs that need to run, but which I use rarely, for example a Terminal with some server tasks. Then on ...
0
votes
0answers
15 views

Strange word in Terminal Bash Prompt [duplicate]

When I launch terminal I'm greeted with: Last login: Thu May 1 15:36:29 on ttys000 fib:~ nyx$ What is fib and why is it there? Will be great if help can be provided to troubleshoot this...
0
votes
1answer
35 views

New mac - installed tmux but can't use mouse in for pane switching

I have the required setw / setg setting for mouse in my .tmux.conf but they aren't working. I've done tmux source-file .tmux.conf I can use tmux and split windows with my remapped keys and other ...
1
vote
4answers
69 views

Terminal: Adding logic to 'find' directories containing either [criteria A] or [criteria B]

I have inherited a vast media archive without a unifying organizational scheme. Its contents date back at least 10 years. I have been asked to find a needle in this hay stack, and I have some guesses ...
1
vote
1answer
34 views

Yara in terminal

I am quite new to mac and I came across something that I think is unusual (After researching the web). When I open the terminal application, I get a "Yara:" string before the command prompt... Is it ...
0
votes
0answers
28 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.
2
votes
2answers
34 views

How to restore the computer's username in Terminal?

I would like to restore the previous name (default) in my terminal. How can I do that? I changed to $ sign only by applying this code: echo "export PS1='$ '" >> ~/.bash_profile . ...
2
votes
4answers
303 views

How to open a new Terminal tab in current working directory?

I want to create and run a bash function that: cd into a project's directory Open a new tab in Terminal in the same directory Open my dev tools and start dev services Item #2 doesn't work as ...
1
vote
1answer
53 views

Why does my terminal open with “Basic” settings

I have a laptop running OS X 10.9.2 and 10.7.5. On both I use Terminal extensively. I have Terminal set up open with Homebrew settings on startup on both 10.7 and 10.9. The issue occurs when I ...
0
votes
1answer
73 views

Whats the equivalent of the unix tree command on OSX

Whats the equivalent of the unix tree command on OSX (10.8.5)
0
votes
1answer
27 views

Monitor network connection process / delay

I'd like to identify what in the world delays my OSX 10.9.2 system from connecting to wifi upon waking from sleep. What is the right log to read or script to run or netstat or lsof command to run to ...