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)

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
38 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
300 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
46 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
43 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
378 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'. ...
0
votes
1answer
145 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
101 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
40 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
72 views

How can I use Torify for an App on OS X

I want one of my applications to use Tor; however the app itself does not have proxy setting and it uses the System proxy. The problem is that I don't want to set my system proxy and I just want this ...
0
votes
1answer
196 views

Whats the equivalent of the unix tree command on OSX

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

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
1
vote
1answer
2k views

How to open a file in Excel from the command line

Is it possible to tell Excel to open a file from the command line? In Linux, I could do this using the command libreoffice --calc test.xlsx
4
votes
1answer
51 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 ...
2
votes
1answer
47 views

Cannot seem to download command line tools

I'm trying to download and install Command Line Tools for my Mac through Xcode, but it is not in the downloads section like youtube videos tell me to go. So, I manually download it and install it, and ...
0
votes
0answers
18 views

How do I make the batch command work correctly under under Darwin?

Under Linux, the command batch < script puts the script into a queue, and scripts (jobs) are started whenever the load average drops below a set value, usually 1.5. There's also a delay after any ...
0
votes
1answer
128 views

Add printer via lpadmin with custom queue

Is there a way to add a printer via the command line that has a custom queue that has two words separated by a space? My command so far is below but does not set the custom queue. Without the queue, ...
2
votes
0answers
30 views

Get RSS Memory usage from entire OS on command line

I need to get the entire count of RAM being used on a command line. I can get individual process RSS usage using ps -o rss= -p #{pid} How do I get all the memory usage for the entire system on the ...
3
votes
3answers
119 views

locate & updatedb - files not found

I ran sudo /usr/libexec/locate.updatedb then locate Radium3 but it returns nothing! but $ ls ~/Library/Containers/com.catpigstudios.Radium3/ Container.plist Data So why doesn't locate see ...
0
votes
1answer
138 views

Repeat a song in afplay

I am using afplay to play a song and I want it to be repeat. Is it possible just using afplay?
1
vote
1answer
70 views

skill -KILL -u $user Command on Max OS X?

Is there an alternative for the skill -KILL -u $user command on the Mac OSx. The basic requirement is I want to log out my current logged in user at end of shell script This program logs out Linux ...
2
votes
1answer
226 views

Deleting with rm did not free up space [duplicate]

I deleted a 5gb video using rm video.mp4, but the space hasn't freed. This was the situation: while encoding a video with FCP X, I ran out of space, I only had 50 MB free. Since in the trash I had ...
2
votes
2answers
183 views

make it easier to call often used terminal commands

I have a java tool that I use quite often from the command line but to use it I have to type java -jar dsim.jar. I want to make it so that I can call it just by typing dsim regardless of what ...
1
vote
1answer
42 views

Open Ruby installed gems in editor

How to open installed gems in editor such Sublime Text or Text Mate or Atom? I would like to do it from command line like: open -a Sublime\ Text\ 2 something_here
0
votes
2answers
53 views

“newgrp: too many groups” - why is it complaining?

In my earlier question, I got a response recommending the "newgrp" command. It diligently did the job of putting my desired group at the "top of the list" for the "id" command, but, why does it also ...
0
votes
1answer
53 views

Command Line - How do I change the order of a user's group memberships?

I have a troublesome Mac OS X server to deal with. When I ask for my current group membership using this: $ groups | perl -p -e 's/ /\n/g' I get a list of 20+ groups! cactuar ...
1
vote
1answer
44 views

Need help to understand how this find command works

I'm a beginner on OS X and I believe this command will make a list of all files and subfolders of specific folders find /Volumes/Documents/ -exec stat -f "%N %Sm" {} + >~/Desktop/test.txt I ...
2
votes
1answer
305 views

How to boot OSX into desktop from single mode?

Is there any possibility to boot graphical mode once I'm in single mode (CMD+S on boot time) logged as root? Related: http://www.mactalk.com.au/11/90219-boot-into-desktop-single-user-mode.html ...
2
votes
1answer
56 views

Equivalent of Ubuntu’s write-mime-multipart?

I would like to generate a multipart mime-encoded document for use as user data on EC2 instances. On Ubuntu, one is supposed to use write-mime-multipart to do this, as per these instructions. Does ...
0
votes
1answer
150 views

Disabling the trackpad from the command line

How can I disable the trackpad (without restarting my computer) from the command-line on OS X Mavericks?
2
votes
0answers
57 views

Does OS X support AnyIP?

I would like to assign a complete block to my mac as described in this question: Can I bind a (large) block of addresses to an interface? There it is explained that AnyIP is supported for IPv6 by the ...
2
votes
1answer
354 views

Escape character ^] not working from Mac terminal

If I ssh into an Ubuntu machine from my Mac with a "UK extended" keyboard and run telnet localhost 4730 I see: me@ip-10-xx-xxx-30:~$ telnet localhost 4730 Trying 127.0.0.1... Connected to localhost. ...
1
vote
0answers
87 views

What are the command(s) to script a daily time sync?

I'm experiencing clock drift on my Mac Mini of 1-2 minutes every day. Like questioner here, I get relief if I open Date & Time from preferences every day or two. It doesn't stop the drift, just ...
0
votes
0answers
16 views

Top command not outputting all information

I'm trying to put together a script which collects the information produced by the top command relating to the system rather than the processes (i.e. the top few lines). When viewing in top binary ...
0
votes
1answer
41 views

Does MS Word on Apple has any command line interface?

I wonder if MS Word on Apple has any command line interface? I tried the following: $ "/Applications/Microsoft Office 2011/Microsoft Word.app/Contents/MacOS/Microsoft Word" --help but no help.
0
votes
1answer
75 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 ...
1
vote
1answer
65 views

Anyone knows how to view the nice value of a process under Mavericks?

Used to be able to view the UNIX nice value of a process in the top CLI utility. I think it's gone from the top utility on Mavericks? Any other ways to view it?
1
vote
0answers
116 views

Building mysql with readline instead of editline

I'd really like to be able to use readline instead of editline with the mysql client, but I can't find out how to do this. The bottled mysql that brew installs by default for mavericks is using ...
2
votes
2answers
48 views

History commands render incorrect on Bash Vi mode

I'm having this werid and really annoying issue in bash vi-mode. Env: Mac 10.9.2, iTerm 2 1.0 or Terminal.app, $TERM={screen-256color|xterm-256color|xterm|vt} Repro steps: Run some long commands ...
1
vote
1answer
195 views

OS X PHP — dyld: Library not loaded: /usr/lib/libpq.5.dylib

What is the problem with my Mac's default PHP? Whenever I do php -version, it shows the following file missing information. How can I fix this problem?
1
vote
2answers
610 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 ...
2
votes
2answers
34 views

softlink to Network Location

does anyone know a trick how to generate a Softlink to a Network folder (smb or nfs) the idea is that there are some network folders i use regulary, but they usally not mounted .. the soflink i made ...
0
votes
0answers
26 views

How to automate iTunes to iOS File Sharing

Connect an iPad to a Mac via USB and iTunes allows you to copy arbitrary files to apps that support it. How can I automate that? Neither AppleScript nor Automator can do it. Is there a way on the ...
5
votes
6answers
5k views

How to fix curl: (60) SSL certificate: Invalid certificate chain when using sudo

So since the Mavericks upgrade curl has more issues with certificates. When trying to curl a file from my web server with it's self-signed certificate it was getting the error "SSL Certificate: ...
0
votes
2answers
121 views

how to configure Surfraw on OSX?

Has anyone had success configuring Surfraw on OSX? How do I get a working configuration for OSX? http://www.surfraw.org/
0
votes
0answers
14 views

How do I Install the xcode command line tools without the confirmation and license prompt? [duplicate]

I ended up answering this myself but I figured I'd throw it up here to document it. xcode-select --install asks if you are sure you want to install the script, then it prompts you to accept a license ...
1
vote
0answers
73 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
2answers
80 views

Why do I have to install CLT when Xcode is installed?

On a fresh Mavericks, I installed Xcode via the App store (accepted license agreement and enabled developer mode). After that, Command Line Tools (CLT) are found (checked via xcode-select -p). ...
2
votes
1answer
449 views

Use find in Terminal to remove directories and files of same search parameter

If I type the following into Terminal, it will remove all files that meet the search parameter: sudo find . -type f -name "*Xilisoft*" -exec rm -rf {} \; Then if I start again and type it with d ...
0
votes
0answers
23 views

Automatically copy PDF.plugin to Chromium.app

I'm using Chromatic.app to update my Chromium.app recently. I'd like to use Chrome.app's PDF.plugin in Chromium.app. Therefore I need to copy PDF.plugin to the following directory: ...