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)

83
votes
9answers
172k 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 ...
59
votes
3answers
33k 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
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 ...
24
votes
1answer
6k 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" ...
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 ...
10
votes
4answers
6k 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 ...
8
votes
5answers
8k 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
774 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 ...
5
votes
4answers
13k 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 ...
2
votes
1answer
6k 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 ...
-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 ...
5
votes
3answers
18k 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?
2
votes
2answers
7k 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 ...
0
votes
1answer
878 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 ...
8
votes
1answer
8k 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? ...
11
votes
9answers
708 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 ...
6
votes
4answers
27k 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 ...
32
votes
2answers
14k 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 ...
15
votes
5answers
85k 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 ...
16
votes
5answers
2k 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 ...
7
votes
5answers
6k 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 ...
30
votes
7answers
19k 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 ...
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
21k 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 ...
10
votes
1answer
3k 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.
8
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
3answers
1k 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
27k 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?
1
vote
1answer
2k 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 ...
1
vote
4answers
6k 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. ...
1
vote
3answers
602 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
7k 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? ...
4
votes
1answer
3k 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
1k views

Replacing OSX 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 ...
3
votes
2answers
470 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 ...
3
votes
2answers
6k 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 ...
2
votes
3answers
1k 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
2answers
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
5answers
14k views

Xcode for iPad?

I don't have an Apple computer, only iPad and Debian computer but I still would like to add a feature to iOS app here. Earlier I found out that I can download Xcode, more here, from Apple Store. Now I ...
0
votes
2answers
106 views

To prevent Finder from showing .noindex files

I can restrict Finder searching files by adding .noindex -extension, this thread. However, I want hide those files in Finder search. How can you prevent Finder from showing .noindex -files?
6
votes
4answers
1k views

What are the main difficulties people face migrating from Linux to Mac OS?

Coming from a Linux background what are the main difficulties I will face if I start to work on iMac? I use to work on Linux with consoles and I know I have a huge apps repository (synaptics) for ...
5
votes
1answer
3k views

How can the 'mail' command be used?

I've had my first Mac for about five months now. Though, even when I was a full-on Windows user, I never did things through a command line; I was pretty much for the GUI all-the-way.. But now that I ...
5
votes
2answers
5k views

Mac webcam - get the device

How do I access my default video camera on my mac? I know on Linux it is /dev/video0 but my Mac does not have that. I'm trying to capture my webcam into ffmpeg ffmpeg -i /dev/video0 But it won't ...
4
votes
5answers
4k views

Reading PDFs on iPad without iTunes syncing

I am trying to read for an exam and I want to download exercises to my iPad. I have downloaded the exercises from here. I have no Mac laptop or desktop computer. I am tired of clicking every pdf ...
3
votes
1answer
5k views

Can I boot Linux (any distro?) from USB on a MacBook Air that has no hard drive?

I've a MacBook Air that has burned out three hard drives from OWC. The original drive is gone somewhere, and it no longer makes sense to purchase a replacement. The rest of the hardware is in good ...
3
votes
1answer
4k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
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
1answer
3k views

Can Find My Mac still persist after erasing the hard drive?

I have recently acquired a MacBook Air 2011 off of ebay. In order to avoid second-hand Mac issues relating to iCloud remote shut downs, I have performed the following actions: Secure erase (using ...