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)

1
vote
1answer
20 views

Can't connect from OSX to FreeBSD with mosh [closed]

I've installed mosh on my laptop using Macports and on my FreeBSD server using ports. Whenever I try to connect to my server I get the following error: Password for xxxxxx@xxx.xxx.xx.xx: zsh:1: ...
1
vote
2answers
39 views

Metasploit Directory Doesn't Run Executables Without ./

I have Metasploit installed on OSX in /usr/local/share/msf Metasploit's executables can't be run outside it's directory thus would give a command not found error. msfbinscan msfconsole msfd ...
1
vote
1answer
55 views

Why doesn't this work when I add it to the current sed being run?

I have a text file that looks like this: (empty) str int int If I add this s/^/\</g to my current sed (making it 's/\&/\</g;s/\</\ /g;s/^/\</g') this is the output. < ##only ...
1
vote
0answers
7 views

Fedora OSX Partition

I am wanting to dual boot fedora workstation with OSX. 2015 Macbook. However, when I get to the partition scheme screen on the fedora installer it shows my OSX SSD 250GB but with only 6KB free. But if ...
1
vote
0answers
24 views

Fedora/OSX Dual boot

I have been getting my mac ready to dual boot with Fedora. But when I get to the fedora set up, it only lists my Mac hard drive, not the partition I have created. My Partition: ...
1
vote
0answers
11 views

What does UniqueID do on Mac OS X?

Scripts to create a new user on OSX typically use the command dscl to set a user attribute UniqueID. What does UniqueID do and how should I determine what to set it to?
1
vote
0answers
18 views

Can I specify partition in “reboot” or any similar commands?

I like to make scripts for everything that takes a bit of time, and when I have to reboot to another partition, I press the reboot button and then hold alt (⌥) and then I have to choose partition. I'd ...
1
vote
1answer
38 views

copying and working on OSX .app files (folders) in linux

tldr; I want to run a script over an external hard drive and tar.gz every folder that ends with .app into their own archive. That is, I don't want them all in one tar.gz file, I want to create one ...
1
vote
0answers
22 views

How can I remove Ubuntu from reFind on my Mac?

I used to have Ubuntu installed dual boot on my Mac but have removed it since. The hard disk has been repartitioned into a single Mac OS X partition. However, reFind still shows Ubuntu as one of the ...
1
vote
0answers
37 views

Revisiting and learning UNIX [closed]

To get back up to speed on best practices, which UNIX learning resources does the community recommend (slide decks, good videos series, interactive serious games, online virtual learning environments) ...
1
vote
0answers
10 views

How do I make changes in winetricks permanent?

I downloaded a game powered by wineskin X11, it requires videomemory of at least 1GB winetricks works great, but each time I will have to open the dialog, modify it and run the game. Any ideas? I ...
1
vote
0answers
54 views

iowait monitoring in top on OSX/iMac

I'm trying to monitor the performance of a process on OSX 10 (iMac), specifically whether I/O is currently a bottleneck or not. I don't use the machine, hence I need something simple that the user can ...
1
vote
1answer
70 views

Debian Jessie Nvidia proprietary drivers and screen brightness buttons

How do you make Mac OS X screen brightness work when using Debian Jessie 8 and Nvidia proprietary drivers? There are a lot of answers floating around about editing the config file adding some options ...
1
vote
0answers
31 views

Booting full Linux Mint off USB on Intel Macbook pro?

I almost never post questions online but this time I couldn't find a solution to my problem. My problem is that I'm trying to boot full Linux Mint from a USB on a Macbook Pro. I was already successful ...
1
vote
0answers
16 views

Anybody ever seen a file called .x64HG0B+VC on a Mac? [closed]

I've been looking at a file called .x64HG0B+VC and was wondering what it was...anybody have an answer?
1
vote
0answers
47 views

Upgrade OSX (Macbook Pro) when it has a Debian dualboot

On my Macbook Pro, I have a Debian/OSX dualboot, the partition looks like the following on OSX: bash-3.2$ diskutil list /dev/disk0 #: TYPE NAME SIZE ...
1
vote
1answer
27 views

Reset Bash's memory used for auto-complete

After renaming a file to a similar name, I noticed TAB was still completing the old filename (if it matched the letters so far) and not showing the new one. No matter how many letters I typed, it ...
1
vote
1answer
460 views

Printing to Linux CUPS printer from Mac El Capitan - fills error_log and doesn't print

any ideas on this one? I'm trying to print to a CUPS printer running on Debian from a Mac running OSX 10.11 El Capitan. When I try to print, my /var/log/cups/error_log reads: D [12/Oct/2015:00:59:04 ...
1
vote
0answers
20 views

Gtk primary key

Is there any way to setup Gtk applications under Linux to force use Super as primary modifier, instead of Control. I tried gtk-key-theme-name=Mac for both gtk2 and gtk3 without success, also I found ...
1
vote
0answers
29 views

What are the major differences between the Darwin/BSD and GNU versions of Findutils?

OS X comes with its own versions of find, locate, and xargs. GNU versions of these utilities are also available as part of GNU Findutils. What are the major differences between the two versions? Is ...
1
vote
0answers
60 views

How to permanently get rid of folder that keeps coming back on reboot

I ran a virus scan with Clamxav on my mac a couple days ago and it picked up on a PUA (Potentially undated app). It was located in /Application Support/Generic/E18VMjMwVtTrc. There was and executable ...
1
vote
0answers
25 views

Mac OSX, how to auto generate a select box of locally installed printers?

Short introduction into the current architecture of a POS program which I am currently developping: + Web based database server + locally installed Mac Mini (Yosemite, headless) with database mirror, ...
1
vote
2answers
113 views

Apply Colors to Terminal Output to highlight URL & Others

I am looking for a way to apply colors to highlight URLs (http://....) and IP @ in the output of a terminal command. Example would be with a wget command for example where I would like to be able to ...
1
vote
1answer
161 views

Connect to an Ubuntu VM from a terminal on the host machine

I'm running an instance of Ubuntu Server 14.04 inside VirtualBox, and for multiple reasons, I prefer to work with it using the terminal emulator on the host system (OS X 10.0) than with the default ...
1
vote
0answers
14 views

How can one enable sharing for a mounted volume via command line? (2 Macs)

I am trying to remotely enable "sharing" on a volume connected to a remote host. So, in other words, from my local machine I'm trying to ssh into another machine where a volume is already mounted. ...
1
vote
1answer
45 views

The server Emacs can't recognize the ALT key when accessed by a Mac

I use Mac's ssh to get access to a server. I find the emacs on the server can not recognize the ALT key. My server is RHEL with emacs23.
1
vote
0answers
280 views

What exactly files whose names' prefix is “AT.postflight.” are needed for?

I am not sure if this question should be asked here, since I am on an OS X, but since I am using bash, and I am asking about the meaning and the purposes of some files. I am trying to understand why ...
1
vote
1answer
25 views

tstime and memory usage

So I am interested in measuring the high-water memory usage of a process. I would love to be able to use tstime but am having troubles figuring it out. Does it work in Unix? When I go to ...
1
vote
0answers
11 views

How and when is keyboard data encoded from keyboard to application? [duplicate]

I hope this is not the wrong place to ask this, if it is, please point me in the right direction. As the title says, how and when is keyboard data encoded? I just wanna know in basic terms the ...
1
vote
2answers
74 views

Insert multi lines after match using Mac's sed command

I have 2 files:- a.xml <project> <modelVersion>4.0.0</modelVersion> <parent> ... </parent> </project> b.xml <project> ...
1
vote
0answers
138 views

Using curl results in error: “Library not loaded: /usr/local/lib/libcurl.4.dylib …”

I had a few issues with the cURL library interfering with Homebrew. After hopefully removing the library (I no longer use it anyway), I started receiving errors whenever I used commands such as curl ...
1
vote
1answer
221 views

Installed PDFInfo with Homebrew Cask but no command associated with “pdfinfo”

First, please excuse this very basic question. I'm sorry I have to ask it, but it's very difficult to find your way around the shell at the beginning. I installed pdfinfo with Homebrew Cask: brew ...
1
vote
2answers
115 views

Making persistent USB with minimal OS on os x

I am looking to turn a 8Gb USB into a bootable drive with a minimal OS. All I want is an OS that will allow me to use vim, nothing else (no internet/any other services). I basically want to turn a USB ...
1
vote
0answers
41 views

osx - dd command behaving weirdly [duplicate]

I've been using dd for a couple of years now, most of the time successfully. I usually use it to dd Linux images to USB drives. My workflow doing so is as such: convert .iso image to a .img format ...
1
vote
0answers
43 views

partprobe equivalent on OS X

After I manually edited a partition table on a device in OS X, the corresponding devices don't get created automatically under /dev. How to I tell the OS X kernel to reread partition tables as I ...
1
vote
0answers
308 views

$PATH variable on Fish Shell OS X

I have somehow screwed up my path variables with Fish shell on OS X. Is this the proper $PATH variable in the config.fish? user@host ~> more ~/.config/fish/config.fish set -g -x PATH ...
1
vote
1answer
327 views

Access Macintosh HD from Ubuntu - Permission denied

I've followed this instructions and now I'm able to access my Machintosh HD from Ubuntu, the problem is that I can't access the folder I need (example Desktop), it say that I haven't enough ...
1
vote
1answer
236 views

Lsyncd not working on Mac 10.9

I'm attempting to use lsyncd to automatically move files to my local development server. My host is OSX 10.9. SSH on the server works. I can connect using ssh from the host. I am using an SSH key to ...
1
vote
0answers
43 views

does vi have a bug which changes spaces in unedited lines, or is there an option to turn this “feature” off?

I changed a file by just adding a few lines, then ran a git diff and found changes strewn throughout the file resembling as shown in the image above: an extra space at the end of a line in the ...
1
vote
1answer
49 views

What happens if I move the hard drives used by Rsync to another computer, and keep syncing them with it?

I realise the question is confusing, so allow me to elaborate. I apologise for the phrasing, as I wasn't sure how to put it. Here's the scenario: As my backup, currently my Mac launches Rsync every ...
1
vote
0answers
97 views

Installing homebrew - dangerous permission changes?

I'd like to install homebrew, but when I start it up, I get this message: ==> The following directories will have their group set to admin: /usr/local/. /usr/local/include /usr/local/lib Seems ...
1
vote
1answer
87 views

OSX: MBP: How does system detect sd card inserted?

I have a MacBookPro running Mavericks. I can insert one sd card into the slot and it mounts just fine. Another sd card I slip in and nothing happens. It does not appear in disk utility. It does ...
1
vote
1answer
38 views

How do I get the Truecrypt CLI installed?

I have a unix machine with truecrypt 7.1a installed. I'm trying to mount a volume to test with the command line but I don't have the truecrypt command installed evidently. Did the command line ...
1
vote
1answer
230 views

Process Being Killed due to low swap

I'm running a python (2.7) script on mac osx yosemite. The script is fairly computationally intensive, certainly bumping up against my machine's RAM limitations. The computer crashes and restarts ...
1
vote
0answers
310 views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
1
vote
0answers
27 views

To plot 7x10 pictures for review in video

Assume you have 77777 pictures. You want to review them and their differences: have 7x10 pictures without margins to have an image viewer where the minimum browse time can be less than 1.0 s such ...
1
vote
0answers
47 views

OS X: Apply inheritable ACL permissions to pre-existing subfolders and files

I have a folder with numerous ACL permissions set. Most of these include file_inherit and directory_inherit permissions and therefore should be, and are, automatically propagated to any new ...
1
vote
0answers
63 views

need help with vf project in fish shell

Hi I am using virtual fish on fish shell, so while trying to do vf project projectName it throws the below error: vf project pytube fish: Unknown command 'virtualenv' ...
1
vote
0answers
68 views

OS X Yosemite is SUS - Single Unix Specification 3 certified. But what posix standard is it compliant to? the latest one is 2008

I'm confused. Is SUS compliance the same as POSIX compliance? Is yosemite compliant to the latest standards, what years exactly?
1
vote
0answers
102 views

Ubuntu Grub recognises MacOS but cannot boot up

I tried a little experiment on installing MacOS on a non Mac Hardware Laptop... Got this far as to put the MacOS Install ISO on to an HFS+ partition but the machine needs to boot this up for the ...