UNIX is both the underlying code and architecture that makes up Mac OS X / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Whether you're logging into a mac using `ssh`, using `mdfind` or `tmutil` or using other open source ...

learn more… | top users | synonyms (7)

42
votes
4answers
19k 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 ...
0
votes
0answers
21 views

Remove a physical partition on a Mac drive

I wanted to install ubuntu with rEFind on my Mac but I made a mistake during the installation and created a physical drive instead of a logical drive for Linux. My Mac boots fine, but I want to ...
1
vote
1answer
15 views

How do I install certain applications on a server

I have an Ubuntu server that uses netatalk by which I am able save files and backup to it. I want a way where the installation of an application in mac happens in the server and my mac is able to read ...
0
votes
2answers
69 views

How can I install Fedora Linux on a MacBook Pro, Model A1150?

I performed the following steps: Formatted a USB Flash Drive as: FAT32 Copied the Fedora Live ISO image to: /efi/boot/boot.iso Copied ISO 2 USB EFI Booter for Mac to: /efi/boot/boot.efi I then ...
1
vote
0answers
32 views

Are there any advantages to using GNU over the default OSX command line utilities? [closed]

Are there any advantages to using GNU utilities (installed via homebrew) as opposed to the default, BSD based OSX utilities? They seem very similar to me, but I will not pretend to be a master of ...
13
votes
5answers
3k views

Installing 20+ operating systems on Mac without any virtualization

For a scientific project I need to install these operating systems on my Mac Pro. The catch is... It has to run on a native hardware, no level 1 or 2 virtualization is allowed. Here is the list of ...
7
votes
3answers
4k views

Replacing OS X with Windows/Linux on aging Mac

I have an old 2008 13" Macbook4,1 model (not pro) running Snow Leopard with 4GB of RAM and 160GB of HDD. It is adequate for my needs at the moment but the OS is no longer being supported by Apple (NTP ...
-1
votes
0answers
28 views

Installing Linux on old Mac Mini

I have an old Mac Mini with a blank HDD (OSX formatted), and I'd quite like to load and run Linux on it. How should I prepare loader media and load it on the mini?
2
votes
2answers
187 views

Running Ubuntu on MacBook Pro 2015 — run natively (dual boot) or run in virtual machine for longer battery life?

I currently use Ubuntu in a virtual machine, using VirtualBox software on my host operating system, OS X, on my MacBook Pro 2015. However, the battery life drains quickly when Ubuntu is used ...
1
vote
1answer
9 views

Transfer statistics per process or destination, not interface

I would like to log upload statistics for an application I run on my Mac. Now, I know that with netstat -ib I can access statistics per network interface. I also know that with lsof -i I can get a ...
0
votes
1answer
15 views

Can I edit/create a PDF's Table of Contents with freeware?

I have a PDF with a number of parts. I would like to create a Table of Contents to navigate the PDF with ease. I would like to do on a Mac this with freeware. (A command-line program would be great.) ...
0
votes
0answers
26 views

Mac mini, installed Lubuntu but some how it has been crashed, want to install OS X

Please help! I have installed lubuntu in my old mac mini. Some how it has been crashed. So I can reach to grub only. I tried to Start up from a bootable OS X USB drive by long pressing Command+C . ...
44
votes
7answers
30k views

Is there a way to convert audio files in Mac OS X or the command line without using iTunes?

Now, I know I can use iTunes to convert music. But it's quite a pain.. All I'm asking is: Is there anything built into OS X or UNIX for converting files? Right now I simply want to convert .mp4 to ...
2
votes
2answers
2k views

Macfusion: Can't mount SSHFS directory, “Authentication has failed.”

I have a problem with Macfusion. After following the instructions here: http://www.kevinfodness.com/using-macfusion-for-sftp-connections-on-osx, I set up an SSHFS connection in Macfusion, and after ...
5
votes
4answers
11k views

VirtualBox Ubuntu shared folder is empty

I have a Ubuntu virtual machine (Virtual Box) hosted on my MBP w/ Mountain Lion. OSX 10.8.6, VirtualBox 4.2.16, Ubuntu 12.4 LTS (32 bit) PROBLEM The shared folder(s) as seen in Ubuntu is/are empty. ...
1
vote
2answers
2k views

How can I reformat an HDD to HFS+ in Ubuntu (without using a Mac)?

I have attached an HFS+ hard drive with Mac OS X installed to an Ubuntu machine because while booting the Mac shows a blinking folder with a question mark. I searched Google and the results say that ...
2
votes
1answer
3k views

How to create a Mac bootable gparted or Parted Magic thumb drive?

Is it possible to create a Mac-bootable thumb drive containing gparted or Parted Magic without installing a full Linux distribution? I tried several methods like unetbootin (some blogs suggest this ...
0
votes
0answers
26 views

How to SCP Linux Box to Mac Drive?

On mac terminal SSH'ing to a linux box, my local path seems to be interpreted as a server path: scp objects.yml ~/Documents I'm getting: cp: cannot create regular file /ngs/app/project/Documents': ...
0
votes
0answers
25 views

Can I create a bootable VM from a Mac sparsebundle using symbolic links?

I'm trying to find a method for booting the sparsebundle image of my Mac inside VM software (VMWare, VirtualBox, doesn't matter), either by booting the sparesbundle itself or converting it to a ...
1
vote
4answers
74 views

In Terminal, how can you determine which shell is actually running?

Using Terminal on OS X 10.11.4, initializing Terminal opens a new window running bash (by default). As I understand it, inputting echo $SHELL should output the shell that said command is submitted to. ...
1
vote
1answer
41 views

How to use unix find and exclude paths?

I need to exclude Time Machine path /Volumes/somedrive/Backups.backupdb from the results of find. I currently use the following code, but it generates massive logs as it finds and includes all files ...
0
votes
0answers
23 views

How to Read External HDD (Ubuntu) on OS X?

I do not want overwrite my OSX HDD, like the email-discussion will ubuntu 16.04 support single boot on mac air? but use instead external HDD for Ubuntu Linux on mac air. I use USB3.0 to Sata cable ...
1
vote
1answer
552 views

Install rEFInd on another partition

I recently tried to install rEFInd onto my Mac but it could not boot into the Ubuntu disk. To uninstall It I formatted my drive and reinstalled OS X along with my backup. To avoid this issue again I ...
0
votes
2answers
2k views

How to select text with touchpad without pressing the “hard” key?

Now on OS X, when I want to select some text, I have to press the "hard" key on touchpad with thumb and drag through the text with another finger on touchpad. With linux on the same macbook pro, I ...
1
vote
0answers
31 views

Does rsync have issues with Unicode Characters in filenames?

I run rsync via a crontab every night to make an offsite backup of a directory's state, fairly trivial stuff really. While going through the logs, I noticed that in particular there were a set of ...
19
votes
6answers
108k views

Copying ISO file to USB drive in OS X?

I have tried to copy an ISO file to a USB drive. I am unable to do it with Disk Utility. How can I copy the ISO file to a USB drive? But I get the below. I have enough space in the 16GB USB drive ...
2
votes
5answers
10k views

How to erase and reformat SD card to ext3 on my macbook to prepare it for my raspberry pi

I'm trying to reformat my 32G SD card to prepare it for my raspberry pi. My GUI program on my mac does not allow me to format it to ext3 which is what i'm told to reformat it to for my raspberry pi. ...
155
votes
3answers
87k views

What is the “rootless” feature in El Capitan, really?

I have just learned about the "Rootless" feature in El Capitan, and I am hearing things like "There is no root user", "Nothing can modify /System" and "The world will end because we can't get root". ...
2
votes
0answers
29 views

Open applications in the background in OS X, I don't want my focus taken from me. Respect my Focus!

I'm running El Capitan 10.11.4 on a 2014 Mac Mini. I'm often running 10-14 apps at one time as I work writing reports, word/excel/Adobe/Safari/iTunes/calendar/etc... Frequently I want to open ...
0
votes
2answers
66 views

Creating a bootable Linux distro compatible with Mac OS X [duplicate]

I have downloaded the appropriate Linux distro (in this case Fedora Xfce Live) and I have partitioned the USB with Disk Utility and attempted copying both the Fedora iso, and a Fedora iso converted to ...
31
votes
2answers
27k views

Unix “ln -s” command not permitted in OSX El Capitan Beta3

I was installing nodejs for Symphony and I don't know why happend this but i need to solve it. Anyone knows why? MacBook-Pro-de-XXX:~ XXX$ sudo ln -s /usr/local/bin/node /usr/bin/node ...
2
votes
1answer
447 views

To install unbuffer in OSX

There is the terminal command unbuffer in Linux Redhat, for instance. I did not find it in homebrew. How can you install unbuffer in OSX Yosemite 10.10.3?
4
votes
7answers
30k views

How can I transfer large files from Linux to iPad over a cable or wifi?

I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server. I run an Ubuntu laptop as my only OS at the moment and want to be able ...
2
votes
2answers
86 views

What is the most OSX or Darwin-like command-line experience available (without buying an expensive Mac or hauling my production machines home)?

I want to emulate the command-line experience from OSX with a small netbook and practice my skills with the comfort of this small machine. Surely Apple offers actual Darwin Links for developers or ...
21
votes
4answers
23k views

File can't be moved by root on OS X

I tried to move a few files to a subfolder on OS X. One refused to move. It said Operation not permitted. I tried again as root: $ sudo mv file subfolder/ mv: rename file to subfolder/file: Operation ...
1
vote
2answers
115 views

How do I install gnu sc on my mac?

I want to install the command line spreadsheet sc. I would prefer to do with homebrew. I need both psc and sc commands. Is there a homebrew package? If not other methods would be good.
0
votes
0answers
47 views

Burning an iso image to DVD on a mac aways results in something unreadable

I have tried burning the iso file 64-bit Mac (AMD64) desktop image (from http://cdimage.ubuntu.com/releases/14.04.4/release/) by running $ hdiutil burn ubuntu-13.10-desktop-amd64+mac.iso It tells ...
0
votes
0answers
38 views

Boot Ubuntu from USB stick on 2011 Macbook Pro

I have followed these instructions exactly, up until the point where I need to restart my computer and press the alt/options key right after the chime. I have tried doing that, but no menu has popped ...
1
vote
1answer
39 views

cupsfilter: Unable to determine MIME type of ““??”.**

I'm trying to convert html files to pdf files using the following command line for file in *.html; do /usr/sbin/cupsfilter “$file” > $file.pdf; done But I got the message as below and empty pdf ...
1
vote
3answers
174 views

Which Linux Distro installs on a MacBook (13-inch Early 2008) [closed]

I have a MacBook (13-inch Early 2008) and need to stick with it for some more time, but Apple doesn't give support anymore to it, so I'd like to install an operating system to keep it alive and ...
-1
votes
1answer
133 views

How to install OS X on KVM?

I need to run an OS X to run Xcode to submit my project written in Cordova. I am using an Linux laptop and I think the best choice is to use KVM to run a virtual machine of OS X, since KVM has the ...
13
votes
2answers
13k views

What is standard for os x filesystem? e.g. /opt/ vs. /usr/

What does and should go into /opt/ and what should/does go into /usr/? My understanding is that /usr/ used to be for user home directories, but since that exists in /Users/ - what is the purpose now? ...
0
votes
2answers
3k views

Unable to mount Ubuntu 12.10 install .iso or .img

I'm following the instructions to create a bootable Ubuntu 12.10 USB stick on OS X found here. I can do step 3 and hdiutil appears to work fine, but when I go to mount the resulting ubuntu.img file I ...
0
votes
1answer
31 views

opening two remote screen sharing on the same client

I have a macbook and I connect to my linux accounts with screen sharing. I would like to connect to two different linux accounts from the same client (my macbook) at the same time, using two different ...
1
vote
1answer
153 views

Boot problem on dual-boot MacBook Pro

Can anyone help me restore the original boot 'order' on my Mac, using command-line? I wanted to install Ubuntu on my Macbook Pro Retina (early 2013), so I could run some specific software I needed ...
6
votes
5answers
37k views

How do I delete a BootCamp partition using Terminal's diskutil?

For some reason, the BootCamp Assistant app won't let me delete my BootCamp partition. How can I do so using Terminal and the diskutil terminal app?
0
votes
0answers
33 views

Troubleshooting converting Ubuntu.iso to ubuntu.img with hdiutil in Terminal

When I try this command: hdiutil convert /Users/Example/Example/ubuntu.iso -format UDRW -o /Users/Example/Example/ubuntu.img The terminal says that the image is not recognize, what am I missing?
1
vote
1answer
39 views

Remove characters preceding the second underscore in file names

I have a bunch of files and I would like to remove all characters preceding the second underscore in the file names. An example is shown below. How do I do this using bash commands? [From] ...
1
vote
0answers
617 views

custom ringtone on iphone5s using linux?

I have an iPhone 5s. I want to have my own custom ringtone on my iPhone. But is there any way to do this without the (really time consuming) way of starting up computer, start iTunes, connect iPhone ...
0
votes
0answers
179 views

ssh: connect to host 192.168.10.9 port 22: Connection refused

I am using a MacBook Pro (10.11.2). I'm connecting to an ODROID (an ARM-based single-board computers) with Ubuntu 14.04 installed via ssh. Also I used ssh-copy-id on the Mac side to enable ssh'ing to ...