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)

2
votes
1answer
5k views

Dual boot Ubuntu 14.04 on a MacBook Pro

so after a few hours of Google searching and too many headaches with a broken GPT, I've turned here. I have a 2012 MacBook Pro (9,2) that I want to dualboot OS X 10.9 and Ubuntu 14.04 on. I've read ...
0
votes
1answer
122 views

Can I clean install Mavericks preserving other bootable partitions (Ubuntu on ext4)?

I have checked Will my other partitions be wiped when doing a clean install of Mavericks? but I'd like to make sure whether a clean install of Mavericks to my specific OS X partition won't mess up ...
1
vote
1answer
174 views

Error when mounting sparse bundle from terminal

I picked up this command on how to open a disk image and have the password prompt in the terminal window (useful for remote mounting):hdiutil attach -stdinpass /path/to/image source However, it's not ...
1
vote
3answers
3k views

How To Install Kali Linux (or Debian) on Macbook Air (Original 2008 Model)

Recently got an old macbook air 2008 model. I am a linux guy and I am very new to Mac OS X. I tried but I just prefer to have my familiar debian running on this laptop. On a PC I would do this easily, ...
3
votes
1answer
251 views

Super and admin user in OS X

Superuser account is disabled by default in OS X (Mavericks). But if you run sudo -l you will come to know that the admin user can execute all superuser commands. Then what is the point of disabling ...
0
votes
1answer
492 views

macbook air 2008 model want to install ubuntu

hi I want to install Ubuntu 12.04 or the latest version in my MacBook air. I had formatted my hard drive and there is no other os's installed, so how I can install Ubuntu on mac directly. I also ...
1
vote
2answers
1k views

What is CUPS on port 631?

I recently ran an NMAP scan of my Mac's open ports and discovered port 631 (ipp) was open. Intrigued, I saw it was for the CUPS web interface, and after enabling it I found it had something to do with ...
4
votes
1answer
13k views

How to create a USB installer for Multiple OS on an OSX system?

I would like to be able to create a disk image (that I can transfer via Disk Utility.app to a large USB storage thumb drive) which is a multiboot installer for provisioning various operating systems ...
2
votes
1answer
664 views

How does this complex BASH shell script work?

Apple Support Community member Linc Davis developed this command to aide in diagnosing issues. The output gives a general overview of one's system and is very similar to the program etrecheck. But, it ...
2
votes
1answer
207 views

Sending specific keys when using Remote Desktop UNIX commands

I would like to script the uninstallation and reinstallation of Profiles on a group of Networked Macs. In order to do this I shall use the UNIX Command part of Remote Desktop. When sending the ...
6
votes
1answer
539 views

/usr/sbin/uninstall? What is it/what does it do?

There's a /usr/sbin/uninstall command on my system. What does it do? There is no man page, and running it says "You must be root to run this tool.", and (after sudo uninstall -h) it says "URL is ...
1
vote
0answers
53 views

How do I get my dual boot to behave correctly?

Once upon a time my Mac had only OS X on it, but at various points in history it contained different versions of OS X and several different Linux distributions and their boot menus. I also had rEFIt ...
2
votes
1answer
1k views

I cannot login as root to my mac mini from a linux computer

From my Linux desktop (Fedora), I am trying to log in as root to my mac mini computer. $ ssh root@my-mac-mini Connection closed by 10.0.1.12 10.0.1.12 is the mac mini ip address. In the log file ...
4
votes
1answer
8k views

Whats the equivalent of the unix tree command on OSX

Whats the equivalent of the unix tree command on OSX (10.8.5)
1
vote
0answers
179 views

MacBook pro boot's to wrong OS after waking up from Safe Sleep

I am dual booting Ubuntu and OS X Mavericks on my MacBook pro 9,2. I am using the rEFInd boot manager, since I was told that I should use it to dual boot OS X and Linux (I could have used rEFIt, but ...
1
vote
0answers
78 views

To have inkscape's terminal scripts in terminal like in Linux

I am trying to write this makefile in OSX. I have installed Inkscape but it does not have the script that allows you run commands in terminal like this inkscape $(SOURCE).svg -w $(WIDTH) ...
5
votes
1answer
4k views

Bootcamp with Ubuntu Linux

Is it possible to use bootcamp to make bootable linux drives for you, or is there a similar boot manager for linux?
0
votes
1answer
189 views

What is a CPX port or driver?

What is a CPX port? More specifically what is CPX as relates to a Datacard embossing printer? A buddy dropped off an ancient Datacard 150i embossing machine with me to see if I could get it working. ...
3
votes
1answer
566 views

Can't write to ~/Library, even though permissions look OK

I'm totally stumped on this one — a Macbook Air, 10.9.2. As far as I can tell, I should be able to write to my Library directory. Everything I can see suggests I should be able to: [njvack@zot ...
0
votes
0answers
23 views

Installing Ubuntu aside OS X and Windows [duplicate]

My current config is this- I have OS X Mavericks 10.9.2 and Windows 8.1 installed via Boot Camp. I'd like to install Ubuntu too on my mac- I figured I could do it with rEFInd? Or does the Boot Camp ...
1
vote
1answer
441 views

CentOS will not install on my Mac

I am trying to install CentOS on another partition, and It will install, but every time, I get a GRUB HARD DISK ERROR. Here are the steps I took: •Resized Mac OSX disk and gave 20 gigabytes of free ...
1
vote
1answer
232 views

What is the LED in Audio port for?

I recently attempted to install Ubuntu on may Late 2013 13" Mac Book Pro with Retina Display. Under Linux I noticed a Red LED light inside the audio port. It looks like Ubuntu doesn't know how to ...
0
votes
1answer
284 views

Triple Boot 2010 Macbook Pro with Dual Drive

I have a 2010 Macbook pro running Mavericks and Windows 7 on a 250gb SSD. I just removed the cd drive and installed my old 250 gb hard drive. So now I have two drives. I would like to make the hard ...
1
vote
1answer
103 views

grep doesn't give the correct offset?

Trying to get the bytes offset of a text word in a binary file (with some text here and there). I need to know the offset of this word from the beginning of the file. I'm wondering if on osx the ...
1
vote
2answers
413 views

Simple app for taking/storing photos on a server

I am looking for a dead-simple app to take photos (either with the camera, or from the library) and store them onto a server via WiFi. This is for taking photos of whiteboards at work. I really want ...
2
votes
2answers
6k views

How can I get Homebrew working under Mavericks?

I had been doing most of my POSIX development on something other than my Mac after upgrading from Mountain Lion to Mavericks, and when I came back, Homebrew was not functioning at a smoke-test level. ...
1
vote
0answers
289 views

Recover images from iPhone - creating image

I am following the steps from this site to recover deleted images from iPhone (I've tried other softwares, nothing has worked so far). When I follow these steps, at the end I get the iphone.img file, ...
2
votes
1answer
257 views

Equivalent of Ubuntu’s write-mime-multipart?

I would like to generate a multipart mime-encoded document for use as user data on EC2 instances. On Ubuntu, one is supposed to use write-mime-multipart to do this, as per these instructions. Does ...
4
votes
2answers
3k views

Is there an equivalent utility to Linux's tracepath for OS X?

I'm attempting to determine the path MTU from my Mac to various sites, and can't find a built-in utility to accomplish this. In Linux, I would use a utility like tracepath, but I"m wondering if there ...
3
votes
1answer
684 views

Arrow keys output numbers when connecting to Ubuntu VirtualBox guest on Windows 7 host via remote desktop connection

I have a Ubuntu guest running on my Windows 7 host. I then wanted to connect remotely from my Macbook Air in bed, and so accessed the VM via Microsoft's OSX remote desktop client. I'm able to ...
0
votes
1answer
214 views

Using cal command of Ubuntu

When I want to see a calendar on Ubuntu, I just command like this: $ cal -3 Then, it displays prev/current/next month output. But, the cal command of OSX is a bit different from Ubuntu's, and ...
2
votes
0answers
293 views

Unable to mount SMB share using Snow Leopard

I have a Linux box (Raspberry Pi) with Samba set up, and when I try to mount the shares on a MacBook Pro (Snow Leopard, 10.6.8) it just stalls. I have an Applescript that runs at login, which I use to ...
1
vote
1answer
23 views

How can I find a changelog of core utility versions in OS X?

I often research what utilities are available on different POSIX-like operating systems in the interest of portability, but I haven't been able to find a stable listing of what versions of various ...
2
votes
1answer
504 views

Anyone knows how to view the nice value of a process under Mavericks?

Used to be able to view the UNIX nice value of a process in the top CLI utility. I think it's gone from the top utility on Mavericks? Any other ways to view it?
8
votes
3answers
6k 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 ...
0
votes
3answers
1k views

How to use “open in terminal”, and “two windows side by side” on mac?

I'm a Linux user. I just bought my first Macbook but I still need some features from Linux that I think are also useful. For example: Open in terminal (right click and choose menu to open the ...
1
vote
2answers
491 views

how to configure Surfraw on OSX?

Has anyone had success configuring Surfraw on OSX? How do I get a working configuration for OSX? http://www.surfraw.org/
2
votes
4answers
8k 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
2answers
300 views

How to install Linux & Windows on a Macbook

I've been contemplating on buying a Macbook Pro, but what I want to try and do is to have Linux, Windows and Mac (Primary) running on the Macbook. I feel this is a good idea for me, as I'm in my first ...
0
votes
1answer
234 views

How to install the RHIDE C++ IDE in OS X?

I'm looking to mimic the environment of the classic Turbo C++ compiler from the DOS days on Mac OS X. I have used DOSBox with actual Turbo C++ installed in the virtual drive, but I'm just ...
1
vote
1answer
713 views

Reinstall Mac OSX on Ubuntu Macbook

Last year I installed Ubuntu on my 2006 MacBook (Intel), and erased the hard drive with MacOSX 10.5 in the process. Linux was fun, but now I want another Mac to play around with. I've put 10.8's ...
3
votes
1answer
1k views

Special character codes are displayed in the Terminal for diacritics when connecting to an Ubuntu Server

When I connect to an Ubuntu Server (ssh) and I try to see some text in the Terminal form the remote server, I get character codes instead of the appropriate text with diacritics. for example for a ...
0
votes
2answers
2k views

Making a bootable USB OS X Installer from iso on Linux

I followed the procedure for using dd to put an OS X iso on a USB stick from Linux that is described here. The problem I'm having is that my Late 2006 Intel MacBook does not recognize the USB stick at ...
0
votes
0answers
62 views

How to read apple HDD on linux without root privileges?

My question is very simple. I just want to read my Apple HDD on my linux computer without root privileges. My goal is only to read and copy some file from my home directory (in Documents). Currently ...
6
votes
4answers
27k 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 ...
4
votes
2answers
147 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
1
vote
2answers
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 ...
1
vote
2answers
468 views

Mac USB Linux boot disk

I have a 13" MacBook Pro early 2011 model. It will not boot from any Linux USB boot disks I have created. I know these disks are working on later models as I have tried with 2012 Retina 15" booting ...
0
votes
0answers
167 views

Latex xdvi Error

I am new to Unix and am trying to use LaTeX. I am having a problem with xdvi. Every time I try to use it I get the error message: Error: Can't open display: I have a mac and I have Xcode installed. ...
10
votes
1answer
11k 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? ...