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)

156
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". ...
94
votes
10answers
205k views

How can I mount an ext4 file system on OS X?

Is there a safe, stable application for reading from and writing to ext4 file systems on Mac OS X? If not, what's the best way to access the contents of an ext4 file system on ...
79
votes
4answers
49k views

How to replace Mac OS X utilities with GNU core utilities?

I found there is some differences between the utility command I used on the mac OSX and linux. I want to make my experience united. How could I replace all my mac utilities with GNU utilities?
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? ...
1
vote
2answers
916 views

Cause of Unix Epoch time integer underflow? [closed]

By setting the time on 64-bit iDevices to January 1, 1970 (Unix Epoch time 0) and rebooting it, the iDevice becomes bricked because of an integer underflow. My question is about which operation ...
14
votes
2answers
2k views

why does OSX add extra '._<filename>' when I tar a directory?

I'd just like to know why if I "tar -czf" a file/directory, osx adds a: ._ for each file? I see these when I untar in linux. Or when I work with the uncompressed project in eclipse as it doesn't ...
16
votes
5answers
3k views

Is there a native terminal in OS X, without having to load the desktop, window manager, etc? [duplicate]

FOr example, in linux you can boot to a terminal, you don't have to load a desktop, window manager, etc. Is there something like this in Mac OS X? And like in Linux, is it possible to switch to one of ...
16
votes
3answers
27k views

iOS7 won't trust linux computer

iPhone 4S iOS7 Linux Mint When I plug my phone into my Linux machine I get the following message "Trust this computer?" No matter how many times I tap "Trust" the message comes up again. I do not ...
11
votes
4answers
11k views

How to remove caps lock delay on Apple MacBook Pro aluminum keyboard

Apple's MacBook Pro has a slight delay on the caps lock key. That is, the caps lock key has to be held down slightly longer than normal to register the key press required to engage the caps ...
10
votes
1answer
5k views

Does Windows or Linux have any tools for accessing a FileVault2 encrypted drive's contents?

I'm looking to mount (and access files on) my FileVault2 encrypted drive on a non-OS X box, and am wondering if anyone has done this with Windows or Linux.
4
votes
1answer
1k views

Where should shell tools be installed?

Are there Apple guidelines for where user shell tools in Mountain Lion should be installed? Some (e.g. TeX, or Apple's Git) end up in /usr, and others (e.g. X11) seem to end up in /opt (sometimes with ...
9
votes
5answers
11k views

How do I run a GUI app via SSH?

I'm used to working on Unix/Linux and recently moved to Mac. In used to be able to do this: derick@linux1:~$ ssh -X linux2 derick@linux2's password: derick@linux2:~$ xclock I've install X11 from ...
3
votes
1answer
8k views

How to recover a deleted/replaced HFS+ partition from external drive?

How do I recover a HFS Plus partition that somehow I've managed to delete or replace with a Linux command? I didn't do anything else, I mean, I didn't put any files or folders on the drive, so it is ...
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. ...
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 ...
7
votes
4answers
22k views

How to install Ubuntu on a 1st gen Apple TV?

I want to install Ubuntu on my 1st gen Apple TV. How should I go about doing this, using as little third-party software as possible?
6
votes
4answers
17k views

How do I search all hidden files that are in hidden folders using Terminal?

I need to find some configs buried in some hidden folders and can't recall where they are to navigate to them directly Cmd+Shift+G. I did a sudo find -name Foo* (slow), but none of the returned files ...
5
votes
2answers
2k views

most Mac-compatible linux distribution

I want to install Ubuntu on my iMac. But I don't want to use Unity. I want to use Gnome 3. I can install it over Ubuntu (as I do on my laptop) but I know that Fedora and OpenSuse use Gnome 3 natively. ...
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 ...
1
vote
1answer
3k views

Create bootable USB drive from Linux ISO

I'd like to take a Linux ISO (e.g., CentOS, Ubuntu), and create a bootable USB drive. (It will be used for booting on a stock PC, not on the Mac). How do I go about creating such a drive using a Mac?
0
votes
2answers
2k views

Can I use Linux in a 2011 Macbook Pro with a defective discrete GPU?

I have an early 15" 2011 Macbook Pro that is affected by the defective discrete GPU. I know there are workarounds in OSX to force the use of the integrated Intel GPU, or disable the drivers for the ...
-1
votes
1answer
2k views

How can I use iTunes with Debian?

Wine fired a lot of errors at least with Ubuntu last time -- and also with Debian, below a picture. Is there any way of using iTunes with *ix -systems? Look I have iPad and I am unable to use it ...
2
votes
2answers
8k views

Ubuntu bootable USB drive does not show up as bootable

I tried to make a bootable Ubuntu installation USB drive accordning to these instructions. However, when the procedure is finished, the USB drive does not show up in the "Startup Manager", nor does ...
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 ...
42
votes
3answers
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 ...
9
votes
5answers
37k views

How do I make my 1.5 GHz PowerBook G4 boot from a USB stick?

I actually want to boot Linux but since that is not working I'm thinking some one might know on the Apple end. If there's a way to boot Mac from a USB stick, then booting another operating system ...
11
votes
9answers
715 views

Which command-line packages do you need? [closed]

I generally have one of Fink, MacPorts, Homebrew installed. Most often for a single, small, and trivial package. I've found that all my day-to-day software exists in OS X versions. So, which non-OS X ...
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 ...
8
votes
5answers
8k views

Mac OS X - How to Symlink /home to /Users

For those of us who dabble in penguins and apples, it seems very worth while to be able to use /home paths either out of habbit or for those odd cases where the value may have been sync'd somewhere ...
8
votes
2answers
3k views

Triple Boot Lion+Win7+Linux

I have a challenge for you. I've been doing lots of research, and I've found quite a few questions here left unanswered. I know this is possible, I'm interested in hearing from people who have ...
6
votes
4answers
31k views

How to automatically mount NFS shares on OS X

I have a NFS server set up on my local LAN running on Arch Linux that I can connect to using OS X Mavericks by issuing the following command in the terminal: mount -t nfs -o resvport ...
3
votes
1answer
3k views

how to store Time Machine backups on NFS and keep metadata?

There is a Mac OS 10.7 (Lion) desktop, it stores Time Machine backups on a separate partition. Also there is an Ubuntu 12.04 (Precise) server with NFS daemon running, it exports a /BACKUP disk. This ...
2
votes
1answer
7k views

How to download and install Darwin 13 OS in x86?

I've conducted a research on UNIX operating systems and found out that an experimental OS (Darwin) is used for development of the OSX; just like Fedora on Red Hat Enterprise Linux. Darwin OS has a ...
1
vote
1answer
3k views

Make and create Live USB Linux for Mac? How?

I'm wanting to create a live usb linux so I can easily access it everytime when I need it without taking up any space. But with other sources, they say to rEFInd and I did so, however when restarting ...
9
votes
2answers
7k views

Proper group ID (gid) for Lion?

If you create a brand new admin account in Lion, the following will be your id and group memberships (from $ id [new Lion account] | perl -lne 's/ /\n/g; s/,/\n\t/g; print;'): uid=504(lt) ...
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?
6
votes
4answers
2k views

Virtualizing Mac OS X on Linux - is it legal?

While browsing i found an interesting tool in sourceforge.net it says Mac-on-Linux is a Linux/PPC program that virtualizes Mac OS or Mac OS X in Linux. Is it legal In india?
4
votes
4answers
12k views

How to find all files that are larger than 1GB on the Mac HD?

It seems that either one of these commands can be used: sudo find / -size +1G sudo find / -type f -size +1G But when it gets to /Volumes, it actually look at all the back up files by Time Machine ...
4
votes
2answers
7k views

Using NFS between OSX and Ubuntu with mis-matched uids

I have a fileserver running Ubuntu 10.04 I'd like to access via NFS from my Mac running 10.6.8. Problem is, while the usernames are the same, the uids are different. Googling suggests that the past ...
3
votes
5answers
13k views

How to properly install Kali Linux on MacBook Air (dual-boot with El Capitan)

I updated to El Capitan yesterday (on MacBook Air 2014). I then decided to install Kali Linux 2.0, and boy it's been one problem after another, so far nothing has gone the way it's supposed to. ...
1
vote
3answers
785 views

Sshfs or its substitute in Apple products?

I instructs my Apple friend to get Sshfs, i.e. to mount an outside target, to home -directory but he cannot find sshfs for Mac. Dose there exist some substitute or some Apple-compiled version for ...
6
votes
2answers
9k views

Can I use my Time Capsule with other OSes?

I have two Macs at home which use Time Machine to back up to a shared Time Capsule. Does anybody know of any tools or methods for other operating systems to perhaps make use of that back-up facility? ...
5
votes
2answers
8k views

Using Linux computer as time capsule - possible but any experiences?

have a Linux computer running as a server on which I also installed a time capsule (see for Vortexbox (my setup) but also for Ubuntu). Before using this as my main backup, has anybody any experiences ...
4
votes
2answers
537 views

Mac OS X UNIX-oriented Tutorial

Is there any Mac OS X tutorial/book that covers the UNIX part of this operating system? Topics like: Managing daemons from the command-line Package management Install/Remove dmg's from the ...
4
votes
1answer
4k views

Boot MacBook Pro into non OSX operating system from external harddisk

I have a MacBook Pro and an external HDD with Ubuntu, I can use this HDD to boot other machines into Ubuntu but no amount of pressing option would make my MacBook Pro think that the drive is bootable. ...
3
votes
1answer
2k views

Best keyboard mapping approach to make a Mac work like Ubuntu?

Through the day I work on both a Mac and Ubuntu. What's the best option for mapping the Mac keyboard (an external, non-Mac one) to Ubuntu style keys - when using the Mac (OS X). Basically I want to ...
2
votes
3answers
2k views

Installing Ubuntu 12.04 LTS on Mountain Lion

I'm working on a MacBook late 2008 Unibody Aluminium with Mountain Lion on. I'm trying to mount Ubuntu 12.04 LTS 64 bit on a USB stick in Mountain Lion but it seems impossible. I've read all the ...
2
votes
1answer
1k views

Mac doesn't recognize hosts on local network

I have a Linux server in my cupboard. My Windows machines can connect to it via its hostname. I have never configured any DNS server; all I did was assign the Linux box a name when I installed Ubuntu ...
1
vote
3answers
2k views

Dual boot Kali with Mac

I want to dual my Macbook with Mavericks 10.9.4 and Kali 1.0.8. I have downloaded the Kali .iso and "burnt" it to a USB stick using the dd command from in Terminal. I have partitioned my hard drive ...
1
vote
3answers
8k views

Best way to get Linux on a Macbook Air

I have aquired a macbook air from work after a collegue left. I have tried, but I can't deal with the locked down nature and lack of customization available in OSX, so I want to get Linux on as soon ...