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
171k 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?
35
votes
7answers
53k views

As a developer, what will I miss on a Macbook Air? [MBA vs MBP] [closed]

I am an indie game developer. I am in love with the Mackbook Air [13 inch], and want to buy it. I was wondering: Will I miss the DVD drive, and upgradability if I am choosing a Macbook Air over ...
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 ...
29
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 ...
23
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" ...
21
votes
8answers
28k views

How to monitor file access for an OS X application?

I am looking for the OS X corespondent of FileMon, that was later included in ProcessMon. BTW, it is essential to be able to filter by process.
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 ...
16
votes
7answers
928 views

Can I use an iPad effectively without a computer to dock it to?

I'm interested in buying an iPad, but I'm trying to understand what the implications are of not synchronise/docking it with a computer. I only have Linux (Ubuntu) machines these days; I have nothing ...
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 ...
15
votes
5answers
84k 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 ...
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 ...
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 ...
11
votes
1answer
382 views

How does iOS delete a file technically and can it potentially be undeleted?

We have an interesting discussion here about file deletion on iOS devices. The question was: if I delete a file using NSFileManager, what's happening under the hood? My understanding is that deletion ...
10
votes
1answer
6k views

What is the difference between the sudo and su command?

What is the difference between the sudo and su command? Why does OS X handle these different than Linux?
10
votes
1answer
14k views

Is there a Mac OS X equivalent of the Linux iwconfig command?

I'm looking for a command line tool in Mac OS X that performs the equivalent of the iwconfig command in Linux. Example: kirkland@x220:~/src/byobu/byobu$ iwconfig wlan0 wlan0 IEEE 802.11abgn ...
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 ...
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.
9
votes
3answers
6k views

How do I change the time format used by ls command line on osx?

I want to make ls display time in ISO format (military format). How can I change this behavior? On Linux I knew that I could force ls to display time in long format by usin --full-time but this ...
9
votes
1answer
4k 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 ...
8
votes
4answers
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 ...
8
votes
6answers
2k views

How to prevent the application launched in Terminal from undesirably exiting?

I launch applications from the Terminal with commands like this one : /Applications/Mail.app/Contents/MacOS/Mail & The important part is the &. For Unix / Linux / Solaris : I have ...
8
votes
5answers
6k views

Can I install Linux and Windows on a Mac to triple boot the hardware?

I'm quite the newbie at operating systems etc., so forgive me if my question is dumb. Is it possible to install Linux and Windows on a Mac, to run side by side with OS X? I'm about to start a new ...
8
votes
2answers
544 views

Piping multiple commands

I would like to run the following command and pipe stout of both to TextEdit: pmset -g; echo; pmset -g assertions | open -f -a TextEdit This doesn't work, it only executes the latter: How?
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? ...
8
votes
4answers
4k views

Remotely SSH to IP address in home network

I've got a device at home I want to SSH to from work. The device has port 22 open locally and I have port 22 opened on my AirPort Extreme. However, on the AirPort Extreme it says the open 22 port only ...
8
votes
1answer
207 views

Is this possible? Prevent Live-Linux from booting and grabbing your files without encrypting your disc?

I am a medium-experienced Power User with knowledge about most of the stuff (studying this since two years) and I know something about how Linux and Windows work; I have screwed up countless ...
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 ...
8
votes
4answers
13k views

Why won't my MacBook Pro boot from a Linux Live CD?

Whenever I try to boot up from a live cd, it starts to boot and then it tells me: No bootable file system available. It's an Early 2011 MacBook Pro 13" 8,1 with the 2.3 GHz Core i5. What's ...
8
votes
1answer
7k views

How to mount ext4 partition on OS X 10.8.2?

I'm new to OS X, I was using Ubuntu till now. All my data are stored on an external drive formated as ext4 system file. Is there any other way to acces this data than installing Virtual Box? I'm ...
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) ...
7
votes
6answers
3k views

What would happen if I force installed a Linux driver into Mac OS X?

So, recently I got a Mac system and I was planning to put in an Intel WiFi card (as an upgrade for its current card). Now, as we know, Apple and Intel do not get along WiFi-wise. However, this same ...
7
votes
5answers
703 views

Should I stick with programming on my Apple or switch to Linux?

I was wondering whether or not the switch to Linux would be worth it. I feel like programming on my MacBook Pro is fine and I was wondering what the advantages would be for staying or switching. ...
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 ...
7
votes
2answers
4k views

Linux 'Byobu' equivelant for mac

So at home ive been a linux user for a while, and frequently use byobu in the terminal. After a little searching I was unable to find anything like it for a mac, which I now have to use at work. I'm ...
7
votes
2answers
190 views

Where are all of the command line tools installed?

I was playing around to set up a prober working/development environment. I installed command line tools such as: NodeJS NPM Grunt Bower Where can I find those tools and how can I delete them? Is ...
7
votes
1answer
2k views

Adding a song file to iTunes via the command line without playing the file

I want to add song files to iTunes via the command line. open -a iTunes -g song.mp3 does exactly this. - However it starts playing the song, too. Any way to avoid this?
7
votes
2answers
1k views

Time Machine backup format

Is the format of Time Machine's backups documented, or standard? Can I extract the files with a non-Mac system?
7
votes
1answer
7k views

Sudo keeps asking for password, despite that NOPASSWD already set

The following sudoers configuration used to work well in MacOS 10.8.5, several days ago I upgraded to Mavericks, NOPASSWD flag does not seem to work anymore: # User privilege specification root ...
7
votes
3answers
6k views

Dual boot Linux and Lion on FileVault 2 disk

I have Mac OS X Lion installed on FileVault partition. On the same disk I've installed GNU/Linux. When I boot my MacBook I can only boot Lion. How to boot Linux? In case you need here is more ...
7
votes
1answer
371 views

Why are Mac files able to have multiple owners?

Regarding Unix file permissions, which Macs use, why are Mac files in particular able to have multiple owners? For instance, you can view the "Get info" panel of a file, and under the Permissions ...
7
votes
2answers
3k views

Can i use “Remote Disc” from a Linux host remotely to OS X?

I just got my first MacBook Pro (retina), so I'm new to OS X. It does not have an optical drive, but I notice there's a "Remote Disc" device in Finder. I was wondering if I can mount my physical disc ...
7
votes
1answer
8k views

Ubuntu on Mac (dual-boot). Where do I install GRUB?

When installing Ubuntu, I choose to install GRUB on a partition other than: /dev/sda i.e. /dev/disk0 as this is stated in various tutorials. However, this way I end up with the error message: ...
6
votes
3answers
4k views

Is it possible to ditch OS X and install BSD on my 3rd Gen Macbook Pro

I would like to run BSD to take full advantage of the Mac hardware. I'm unable to locate a version of BSD that runs on any MacBook Pro. I'd like a native install, replacing OS X entirely and not ...
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?
6
votes
2answers
830 views

Is there a UNIX-style triple click to select path in Terminal.app?

In Red Hat, if there is a path somewhere on my terminal window and I triple click it, the whole path is selected. I can then easily copy it using middle-click or a regular copy-paste. This doesn't ...
6
votes
7answers
10k views

Is there a beginners guide to Unix from the OS X point of view?

I'm hoping to build on my embarrassingly-limited knowledge of the command line, and I know there are a ton of great resources out there. I'm wondering if there are any books or other resources that ...
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 ...
6
votes
3answers
5k views

How can I manipulate several security settings from terminal?

I want to change these behaviors from terminal: Auto-login Showing password after screensaver and sleep mode Go to sleep mode after x minutes Enable screensaver after x minutes
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 ...