Using programs and commands that do not have a graphical user interface (GUI) but are rather controlled by typing text commands into a terminal program, or shell.

learn more… | top users | synonyms (1)

0
votes
1answer
30 views

How to get rid of emoji (emoticons) in Terminal.app (OS X 10.9)

I am experimenting with Twitter API. I now have emoji characters in Terminal.app. I don't know how to handle that. How to get rid of that or use it well? see screenshot
0
votes
1answer
22 views

How to download images from an xml feed using terminal?

How can I download png images from an xml feed that looks the following way? <ListBucketResult xmlns="http://url1.com"> <Name>imagesToUse</Name> <Prefix/> <Marker/> ...
0
votes
1answer
25 views

Command line tools to replace bytes in a file

I need to write a script that patches a few bytes at a particular offset in a binary file. I know of textual tools for this task (sed, though I find it utterly hard to use) but can't find one for ...
42
votes
3answers
17k views

git auto-complete for *branches* at the command line?

On my linux machine I have autocomplete for branches with git. For example I can type git checkout [TAB] and get a list of branches. Or I can type git checkout feb* [TAB] to get all branches that ...
0
votes
0answers
5 views

Changing display resolution on Retina machines while in Command Line Mode

I frequently prefer to boot into the command line mode (CMD + S on boot) instead of booting to the normal GUI-imposed version. I do most of my work in the terminal, so it's nice to save some time and ...
18
votes
10answers
20k views

Password dialog appears when SSH private key permissions are set to 0600

I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to ...
0
votes
2answers
593 views

Can not successfully re-install MYSQL 10.8.2

Removed the old installation as explained here: http://superuser.com/questions/129193/how-do-i-uninstall-mysql-on-mac-os-x-snow-leopard Installed the package contained in the mysql 5.1.67 DMG ...
1
vote
0answers
15 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 ...
14
votes
4answers
40k views

Why does OS X Mavericks block the purge command in Terminal?

When I try the purge command on my terminal, OS X Mavericks gives me the following message: Unable to purge disk buffers: Operation not permitted This hasn't been the default behavior until now. I ...
1
vote
1answer
214 views

-d option for split is illegal on OS X 10.9

I have bash script that works on Ubuntu but for OS X 10.9 i get the error for split command: split -b 1000000 -a 3 -d $F $F && rm $F || { echo "Error: 'split' command not installed" ; exit 1 ...
1
vote
1answer
19 views

Using dd on video DVDs gets permission denied after about 700MB

I bought three movies on DVD on eBay. I am trying to make .iso backups onto my external hard drive. The first one I tried using Disk Utility, but it only produced a partial copy (without generating ...
22
votes
2answers
8k views

Linux' `ps f` (tree view) equivalent on OSX?

How can I get a tree view like the one below on OSX? vartec@some_server:~$ ps xf PID TTY STAT TIME COMMAND 11519 ? S 0:00 sshd: vartec@pts/0 11520 pts/0 Ss 0:00 \_ -bash ...
2
votes
4answers
75 views

Get Info of a hidden file (to change its default app)

I have a hidden file (.htaccess). When I double click it I would like it to open with a certain app (Sublime Text for this particular file type). In order to set the default app I have to open the ...
0
votes
0answers
21 views

How to record human voice and display as text on command line?

I am looking tool or a script that records human voice and displays as text purely on command line. I am not looking for text to speech, but rather speech to text. I do not want to work at all with ...
0
votes
3answers
1k views

PageUp and PageDown keys for Irssi (IRC) in Macbook?

I cannot find the keys on my mackbook. I need them to go page-up and page-down in irssi (IRC). I have tested the tips here but they do not work. They model some different Up/Down, not the traditional ...
16
votes
7answers
8k views

Can home and end keys be mapped when using Terminal?

The home and end keys on a MacBook Pro can be emulated with fn + left arrow or fn + right arrow. Or when certain settings are changed, with the Command (Apple) key instead of fn. None of these ...
1
vote
1answer
472 views

Opening new Terminal.app window/tab with a certain profile from command-line or AppleScript?

When I login to my Mac, I want to automatically open a new Terminal.app window with a certain profile, say Monitor, that has a startup command and several appearance settings. I thought it would be ...
1
vote
1answer
25 views

com.apple.quarantine extended attribute gets re-added each time I open the file

I have a file called tasks.taskpaper that I associated with FoldingText. When I open the file, the dialog pops up with text “tasks.taskpaper” may be a script application. It was created by ...
0
votes
1answer
48 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? ...
0
votes
0answers
23 views

Having trouble installing apache ant on mac os 10.9

In the terminal when I type 'ant' I get this back: The program 'ant' can be found in the following packages: * ant * ant1.7 Ask your administrator to install one of them How do I, the administrator, ...
3
votes
1answer
980 views

How can I use RSVG with ImageMagick?

I'd like to use the RSVG for SVG processing in ImageMagick (the included library is fairly incomplete). RSVG is a supported delegate but needs to be installed separately. I've installed librsvg and ...
3
votes
0answers
33 views

Get ambient light sensor value from ioreg

I'm using the ioreg command line tool to try and read sensor information available on my computer (iMac). Particularly, I'd like to read the current value of the ambient light sensor. So far, I have ...
27
votes
3answers
16k views

MacPorts vs. Fink vs. Homebrew

I always used MacPorts to install and maintain my GCC compilers (4.4, 4.5, 4.6, 4.7, ...) and gnuplot. Now I've heard about Fink and Homebrew. I think these two utilities are gaining ground in the Mac ...
4
votes
1answer
700 views

Enable/Disable power nap from within Terminal

How can I enable and/or disable OS X's power nap feature from within Terminal? I guess I can deal with it using some command-line programs such as defaults write ... etc, but don't know what the exact ...
1
vote
1answer
12 views

Viewing/Changing App paths used by `open -a foo.app …`

When using open -a iTerm.app SOMEPATH from a shell-script or Emacs eshell command, it appears to launch a different instance of iTerm than the one in /Applications/iTerm.app that I'd expect. ...
3
votes
1answer
51 views

open image full screen with “open -a Preview”

Using osx 10.9.3 I would like to write a script that opens images full-screen with preview but I can't seem to find the command line options for the Preview application.
6
votes
6answers
330 views

How to prevent the application launched in Terminal from undesirably exiting?

I launch applications from the Terminal with commands like this one : /Applications/Mail.app/Contents/MacOS/Mail & The important part is the &. For Unix / Linux / Solaris : I have ...
0
votes
0answers
30 views

open command could not be found

Where can I find 'open' command?(OS X 10.9.3) I think there may be some issues in my environment or I may remove this tool by mistake. ➜ ~ open zsh: command not found: open ➜ ~ which open open ...
1
vote
2answers
57 views

Rename screencapture program

I would like to rename the "screencapture" utility triggered with the shift+cmd+3 keys, in order to take screenshots from a program that recognizes and disables this utility. Specifically, I want a ...
2
votes
1answer
52 views

How -exactly- do I remove a specific directory, from my PATH, in OSX, Mavericks?

Ok - so this issue has become somewhat of a white whale for me. I have browsed some of the questions here, but I cannot seem to figure out how to, very simply, delete a directory from my PATH. (I ...
1
vote
2answers
111 views

How to list bluetooth devices from command line

I have to list all available bluetooth devices from command line. I tried to google it, but got only results like "how to turn on bluetooth from terminal". Simply: bluetooth scan Thanks for help in ...
2
votes
1answer
45 views

Adding a username alias using the command line

How do I add a username alias using the command line? I can do it fine using the preferences dialog through the "Advanced Options", but I need to do it during an installation script. Can someone ...
0
votes
1answer
47 views

Using cal command of Ubuntu

When I want to see a calendar on Ubuntu, I just command like this: $ cal -3 Then, it displays prev/current/next month output. But, the cal command of OSX is a bit different from Ubuntu's, and ...
17
votes
3answers
25k views

Can I get the CPU temperature and fan speed from the command line in OS X?

Is there a command I can run from the command line in OS X to get the current CPU temperature and/or the fan speed(s)? To be more specific, I'd like to be able to get the same info available in 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
1answer
37 views

Which of the GNU coreutils applications are included in the MacPorts coreutils package?

In general, I would like to know if there are any discrepancies between the MacPorts coreutils and the GNU coreutils, and how I might go about answering this question myself. In particular, I don't ...
6
votes
4answers
14k views

How to download command line tools in xcode 4.5

I just installed xcode 4.5 and need to install the command line tools. The apple documentations says (with very little detail) that there is a download section in the preferences pane. I have yet to ...
0
votes
0answers
37 views

How can I export a single private key in OSX with the command line?

I need to export a identity from my OS X Keychain with the command line. With security I can only export all identities as a single p12, but I need to export just one (I want to use it with Xtify) I ...
1
vote
3answers
66 views

Accessing Apple Mail's mailboxes remotely, maybe over SSH?

Because of the way my work email is set up, I currently have my Mac (at home, running Mavericks) fetching my email via POP from my work's email server. I've been able to access my email over SSH ...
1
vote
1answer
30 views

Keychain: ask for certificate from command line

Is it possible to ask for certificate (.certificateRequest file) from command line? I want to mimic behavior like Keychain -> Certificate Assistant -> Request for Certificate in Certificate Buro from ...
2
votes
1answer
24 views

top, group by command

Is it possible to run top and group processes by COMMAND? Seeing every single individual Chrome process not very helpful PID COMMAND %CPU ...
1
vote
0answers
20 views

SIDO Error: unbound variable: voice_kal_diphone, to generate prompt using festival

I have tried to generate the prompts and their label files with the following command The to synthesize the prompts festival -b festVox/diphlist.scm festVox/us_schema '(diphone-gen-waves “prompt-wav” ...
1
vote
1answer
124 views

Is there a built in command line utility for airport and other wifi networks?

Is there a built in command line utility to show information about Apple Airport networks and other wireless networks? Where? What's its usage?
0
votes
0answers
28 views

Way to bypass USB lockdown from the ProfileManager via command line?

As I manage a few MacBooks in a company we enforce security policies by Profile Manager. One of those policies is blocking USB ports. We have a group of people that we allow to use USB. It works well, ...
1
vote
2answers
32 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 : „ÅÇ„ÅÑ„ÅÜ„Åà„Åä. ...
5
votes
2answers
173 views

Understanding the 'staff' user group

It's known that all users are members of the 'staff' group. If you setup a standard user and create any file, a list of that file in the terminal with 'ls -la' shows the user group to be 'staff'. ...
4
votes
1answer
610 views

Is there a OS X equivalent for iproute2?

I am searching a command line tool collection like iproute2 on Linux. Network Utility is OK, but I would like it on the command line.
0
votes
0answers
63 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 ...
1
vote
2answers
37 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.
4
votes
1answer
46 views

Graphical man pages viewer in Terminal.app

There is a feature in terminal to view man-page of selected string in external window with ⌃⌘? shortcut. But it has a priority to display preinstalled man pages. So for example I've installed gnu ...