Questions about the command line and other Unix-like aspects of Mac OS X, including the Mach/BSD-based kernel and FreeBSD-based userland. You may want to consider using Ask Different instead.

learn more… | top users | synonyms (1)

0
votes
0answers
23 views

The included VM could not be uncompressed (GZIP/UNCOMPRESS)

I have a .bin file to install Bladelogic NSH console and I want to install it in my OSX(Capitan). When I execute the .bin file in the Terminal I get the following error: Preparing to install... ...
2
votes
0answers
50 views

find - No such file or directory albeit it exists

I run the following command on a directory: find . -name "*.pyc" -type f -delete however it prints this find: -delete: unlink(./tests/unit/framework/__init__.pyc): No such file or directory for ...
0
votes
0answers
51 views

Does `find` return directories that are not on the file system?

I'm trying to identify where the python site-package matplotlib is installed on my computer. I ran find ./ -name matplotlib at the top most directory (called the root, no?) and was returned the ...
4
votes
1answer
49 views

How can I tweak unix settings for 360 Spatial Workstation (specifically the vst and aax audio plugins) to make it run as a non-administrator?

There are free vst and aax (Pro Tools) plugins installed as part of 360 Spatial Workstation. These are greyed-out (as if requiring a license), or invisible (VSTs e.g. in Ableton Live). If you login ...
1
vote
0answers
26 views

Typing { } on Debian in VirtualBox on OSX [closed]

I have a OSX with VirtualBox and a virtual machine with Debian. In the virtual machine I'm not able to type those brackets {}. Any help ? I have an Italian keyboard on my Mac.
1
vote
0answers
25 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
1
vote
3answers
49 views

how to spawn a separate process in the background while running a foreground process

e.g., I want run a python -m HTTPSimpleServer in the background while running a watch in the background python -m HTTPSimpleServer; watch -n (my awesome test command) how can I run both in ...
2
votes
2answers
88 views

find command, is there a way to get a progress report?

firstly please forgive my lack of knowledge of Unix - that's why I'm here after all. I've created an AppleScript which searches for files on a Mac and have greatly improved the speed by using the ...
0
votes
0answers
20 views

getting wrong order of files with ImageMagick and *.png [duplicate]

I am using ImageMagick to concatenate files which I have named 1.png to 50.png. However the files are arranged in the wrong order going 1.png, 11.png, 12.png ... instead of 1.png,2.png ... It must ...
2
votes
0answers
47 views

cd with double slash hangs forever on Mac OS X Terminal

If I type cd // on the Mac OS X Terminal (Version 2.6.1 (361.1)), the prompt hangs forever. Why? Curiously that doesn't happen if I do cd / or cd ///. I am using El Captain with the bash that comes ...
1
vote
1answer
128 views

Why kernel may be throttled?

My MBR start freezing up for over hour and I've found that my kernel reported being throttled, e.g. (this is just a sample for 2 seconds) $ sudo fs_usage | | grep -i throttled 12:26:45 THROTTLED ...
1
vote
1answer
18 views

Why does `hostname.local` resolution fail

I have a number of Linux machines, all with avahi running and a few Macs, all on the same local network. I often use ssh between pairs of machines, using hostname.local as the address. Most times ...
1
vote
0answers
29 views

El Capitan 10.11.15 can't set disk with OS as startup disk, only boots if I reset nvram

Mac Pro (Mid 210) Since installing El Capitan on new HGST 6T drive I can ONLY boot this system by resetting NVRAM. If I try to restart I get apple, progress meter, then circle with line through it ...
2
votes
2answers
60 views

xargs on OSX: illegal option --

I'm on OSX. I want to run a python script against all pngs in a particular directory. This is what I've tried: find docs/ -name "*png" | xargs --replace=F python myscript.py "F" But I see this: ...
1
vote
1answer
34 views

Zip files served by nginx do not open on Mac OS X [closed]

I have a Windows machine where I zip my files using a gulp script, and upload them to my Linux machine in some directory under nginx. The files download and open properly on Windows, but when I ...
2
votes
2answers
69 views

How to Find LaTeX generated PDF files?

I need to find LaTeX Generated PDF files because I want to find those files made by me. I think find could possibly work here. OS X El-Capitan I run Ulrich's proposal find BitTorrentSync/ -exec ...
1
vote
1answer
37 views

install gnu command

I have the command split installed. However I need the '--filter'argument, which is supported by gnu's split command. SO I need to install gnu split. How do I do that on my mac? I tried $ brew ...
3
votes
1answer
23 views

Cannot ping OUT of a Mac OS X server

I have just inherited a Mac OS X server that is using pf. The problem I am trying to solve is why I can't ping OUT of the server. I can ping to the machine no worries, but just get timeouts on pinging ...
4
votes
1answer
62 views

Why grepping with color doesn't return anything?

I've got the following foo.txt file: This is the first line. This is the middle line. This is the last line. And I'm trying to grep the middle line just by the word middle and return the ...
0
votes
1answer
44 views

Why am I receiving the error: “sudo: update_prebinding: command not found” on the command line?

One of my applications won't open so I'm trying the first thing to do on this website: http://www.cnet.com/news/tutorial-what-to-do-when-a-mac-os-x-application-will-not-launch/ But I am getting an ...
0
votes
0answers
44 views

Cannot ssh into server through VPN

I'm trying to ssh into my university server via vpn (PPTP). I'm on an Mac OSX 10.11.4. (El capitan) Unfortunately, I get the following error: Adams-MacBook-Pro:~ adamG$ ssh gadam@xxx.xx.xx.ac.uk ssh:...
-1
votes
1answer
48 views

tmux not printing ANSI colors in status bar

I'm using Mac OSX Yosemite, and I use istats to get CPU temperatures: I wanted to put my CPU temperature in my tmux status bar, so I made my tmux config the following: As you can see, when I ran :...
6
votes
3answers
477 views

A lot of “._” files inside a tar

I have a tar that was generated on a linux machine. I need to upload part of that tar to another linux machine. The full tar is huge and will take hours to upload. I am now on a Mac OSX machine and ...
0
votes
0answers
53 views

wakeonlan: cannot wake up ubuntu server 16.04

I can wake up ubuntu server 16.04 from my iphone using WOL. I tried to do the same thing from mac osx yosemite. couldn't get it work. first I installed wakeonlan. "brew install wakeonlan" then I ran ...
0
votes
1answer
38 views

Is there a minimal POSIX shell for OS X?

Is there a minimal POSIX shell implementation for OS X? I like to write fairly portable shell scripts and want to catch as many incompatibilities or bashisms up front as I can. I'm not intending to ...
0
votes
1answer
6 views

Netatalk users can't read World/Other readable files

I'm using Netatalk to share documents with several Mac machines. Regardless of what permissions I'm using for the file (typically 775 for folders and 664 for files) they can't be read by users in the ...
2
votes
1answer
35 views

Darwin strips setuid from interpreter in hash bang execution

This is not exactly a question about how to run a hash bang script. In this situation, a hash bang script exists which doesn't (necessarily) have the u+s permission. Rather, the interpreter has u+s, ...
1
vote
1answer
35 views

how to inject keystrokes in a program like Safari from a bash script?

I am trying to automate some keypresses every few minutes. The exact timing is still undetermined. But basically I want to capture a live chat dialogue. I'm sure I could do this more elegantly. I don'...
1
vote
2answers
42 views

Regex in find - OS X

I cannot figure out what's wrong with my regex, it seems to be working with grep but now with find. I'm trying to find all the files which follow the common expression in TV shows e.g. S02E21. find -...
0
votes
2answers
41 views

How can I give files extended attributes in mac os x?

How can I give files extended attributes in mac os x? Mac os x doesn't have the 'setattr' command.
1
vote
1answer
21 views

OSX: Grammarian won't uninstall

Im trying to uninstall an annoying app on my Mac called Grammarian Pro X and the uninstaller doesn't work with my version of OSX 10.11. You can uninstall the main app but there is still bits of the ...
0
votes
1answer
21 views

Redirecting output of `man <command>` to file produces file with tons of `^H` characters on OS X [duplicate]

The following behavior occurs in OS X (10.9.5) with the BSD utils, but not Linux (Ubuntu 15.10) with the GNU utils. OS X: $ man -v man, version 1.6c Linux: $ man --version man 2.7.4 I'm ...
2
votes
0answers
69 views

Schedule on boot persistent reverse SSH tunnel on Mac OSX

In attempts to run a self sustaining reverse ssh tunnel I have tried installing the 'autossh' package with brew. Autossh works alone when ran through the user's prompt, but not with launchctl/launchd. ...
2
votes
4answers
63 views

How to know which ports are listened by certain PID?

I have a PID of certain process listening some port(s) on my OS X and I need to know which port(s) is listened by this process. How can I do it? I know I can use lsof to know which process is ...
2
votes
1answer
49 views

Feasibility of open source OS that is binary compatible with OS X?

Could this be achieved? It would have to be done legally, without infringing on Apple's copyrights. Could it be built on a Darwin, FreeBSD or other base and then aim for binary compatibility with OS ...
1
vote
0answers
41 views

Is compatibility technically easier to achieve for Darling than for Wine?

I hope this question isn't too theoretical. I find it very interesting. A project called Darling is attempting to create an OS X compatibility layer for Linux. If successful, this will allow users to ...
0
votes
1answer
21 views

How can I tell if GNU GSL is installed?

How can I find out if GNU Scientific Library is installed? OSX 10.11
1
vote
1answer
101 views

Find not working

The find command is not working as expected on my OSX with oh-my-zsh. A few examples: $ find . -name test find: .: Invalid argument $ find usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [...
2
votes
2answers
74 views

What is the best way to setup 3 HDDs with 3 OS on one computer?

I am building a new PC, I am a developer of whatever people want me to make, but I personally like to code games. To do this, I have a simple set of requirements: Machine must run Windows 7, to run ...
0
votes
0answers
14 views

Stop Ubuntu on Macbook from booting into OS X from external drive

I have Ubuntu (Lubuntu) installed on a MacBook which has two external hard drives connected to it. One of the partitions on one of those drives is a bootable backup of an OS X machine. When I reboot ...
0
votes
0answers
13 views

pcfl - Allow ssh for an specific IP

I'm working with pfctl on Mac OS X. Im trying to make a policy/anchor what blocks SSH for ALL ips, minus specific ip. I try this: pass in on fxp0 proto tcp from any to any port < 22 flags S/SA ...
1
vote
1answer
68 views

Access manpage(2) on OS X

In Mac OS X, at the end of the chmod man page, it shows See also: chmod(2) But when I enter man chmod(2) It says that there is no such man page. How can I access the man page chmod(2) man page? ...
1
vote
0answers
50 views

Linphone (3.9.1) compiling error with ./prepare.py --package in OS X El Capitan (10.11.4)

I'm a noob with the linphone project. I had clone the linphone-desktop project and follow all the steps provided both on the README and in the README.macos from the linphone repository to install all ...
1
vote
1answer
56 views

List hidden files only (not just dot files) using an ls alias

I would like to use an ls alias (like l.) to output a colored list, consisting of only hidden files & directories, whether or not they begin with a dot. Any suggestions? Example of desired ...
1
vote
0answers
50 views

ncurses over ssh (osx -> linux) freezing and unresponsive

I'm using linux perf_events and sometimes am having trouble with the perf report (which is an ncurses terminal application) view freezing up. I'm interacting with a remote linux server which is ...
0
votes
2answers
49 views

Command to merge all terminal windows?

Is there a terminal command that merges all open terminal windows into one window with tabs? Been searching all over the place, but have yet to find any solutions.
4
votes
1answer
138 views

Error on enabled probe: syscall::open_nocancel:entry): invalid user access in action #2 at DIF

I've the following one-liner to show files opened by process: sudo dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' however I've plenty of repeated errors such as: ...
1
vote
1answer
32 views

Substitute with `…` multiline output of find command [duplicate]

I need to substitute output of find command to another command to process every found file, e.g.: mdls `find ~/target_dir/ -iname '*some*' -depth 1` (mdls is a command in OS X which get metadata ...
0
votes
0answers
45 views

Terminator installed via Homebrew “Incompatible library version”

I've installed Terminator from the homebrew/gui tap, but when I ran it, it raised this error: You need to install the python bindings for gobject, gtk and pango to run Terminator. I edited /usr/...
0
votes
0answers
41 views

Corrupted netatalk time machine drive

I wasn't sure, whether it fits this section. If not, please let me know by commenting and I will move it to other, more suitable section. My home nas, which is running debian jessie, is configured to ...