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 (8)

0
votes
0answers
31 views

Can you backup/restore a Fusion drive with a simple 'dd' command?

I have a MacPro with two drives configured as a Fusion drive. It is worth noting that the HDD of the pair also has a bootcamp partition carved out. I'm nearly ready to upgrade from Mavericks to El ...
0
votes
2answers
296 views

Mounting HFS+ volume in Linux

I'm not sure if this is the appropriate area to post my question. But I am wondering how can I mount a MacBook Pro mid 2007 HDD on Debian Linux. My MacBook bombed out on me and now I need to attempt ...
0
votes
0answers
53 views

File/Group permissions on CIFS mounted from Linux server

I have a Centos 6 fileserver serving Samba/CIFS to Mac OS X. How do I get the Macs to honor permissions set on Samba server? Macs are running 10.10.x
1
vote
2answers
68 views

How to change “Nov 9 03:21:11” to yymmdd mmhhss using AppleScript/Unix?

How to change string "Nov 9 03:21:11" to yymmdd mmhhss in AppleScript?
0
votes
1answer
63 views

How to get previous shutdown cause?

I try to get previous shutdown cause and when it happened but i don't know correct syntax. syslog -k Sender kernel ??? I need to get date and time in start of the row and shutdown cause number in ...
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 ...
0
votes
1answer
66 views

Attempting to fresh install Ubuntu dual boot rEFInd does not recognize live boot

Attempted to do a fresh install of Ubuntu by following the procedure found here: Clean install Ubuntu on a dual boot with Windows I assumed that the fact that it was for Vista instead of OS X was ...
2
votes
1answer
1k views

How to get the hash linked to a GeneratedUID in El Capitan?

Trying to find the GeneratedUID in OS X still works (see example below): dscl localhost -read /Search/Users/<username> | grep GeneratedUID | cut -c15- But entering the following into the ...
3
votes
5answers
17k 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
0answers
42 views

Intel GPU drivers for Linux - can't decide

I installed Linux (Kubuntu) on my MacBook. I always wondered if my graphics card drivers were configured correctly, as any games (and some other applications) running on my computer were extremely ...
3
votes
1answer
28 views

How to run unix script in login screen before user logs in?

I would like to have unix script run when the login screen appears when booting. It should run immediately and not when user enters username and password and logs in. Is there any way to accomplish ...
0
votes
1answer
55 views

Is there an easy way to install Linux similar to Boot Camp?

I've so far been using Disk Utility to partition my Mac's drive and install Linux, but is there an easier way to do it, using something similar to Boot Camp, or a third-party software application that ...
0
votes
1answer
612 views

GRUB 2 - “fb: swiutching to radeondrmfb from EFI VGA”

Whenever I try to boot Arch, Mint or Debian from a USB stick using GRUB 2 on my mac with compatibility mode, it freezes on this error (given in the question title). I've tried every available, up to ...
1
vote
1answer
107 views

Accidentally deleted files using GNU find -delete - how to recover?

I was playing around with OSX find and GNU find from findutils (v 4.4.2) package for learning purposes. GNU find has a -delete option, which is self-explanatory. What isn't, however, is that "Use of -...
1
vote
1answer
292 views

Is running Linux through a VM as fast as running it natively on MacBook?

I am trying to decide whether I should run Linux natively or through a VM on MacBook 7,2? How much performance difference would I observe? Is it worth installing Linux natively or is running it ...
2
votes
1answer
178 views

How do you stop wtmp from erasing?

I track user login times on a couple of shared computers running OSX 10.10.5 using the last command in terminal. It seems after updating from 10.9 the wtmp file gets frequently deleted and only show a ...
0
votes
1answer
290 views

Virtualization with Intel's GVT-d on Mid-2015 Macbook Pro

I have a mid-2015 15" Macbook Pro. The iGPU is part of Intel's Iris Pro brand, which as I understand allows a VM to access the GPU directly with a native driver through GVT-d. I would like to run a ...
1
vote
1answer
25 views

zero pad numbers in `cal` (or `gcal`) output?

This seemed pretty easy, but I have not found a good way to do it. In Terminal, cal will give this output: September 2015 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
1
vote
3answers
659 views

Dual boot OS X and Manjaro - Problems

(Cross-posted in Linux StackExchange) So I'm trying to dual boot OS X and Manjaro. Using the graphical installer of Manjaro, you're given the option (well, it's an obligation) to create a partition ...
0
votes
1answer
212 views

How to fix my partition table after messing it up trying to install Linux Mint

I tried to install Linux Mint alongside my working OS X Yosemite. I have a Macbook Air released mid 2013 with a 128gb SSD and 4gb of memory. Well to achieve my aim I first added a partition using ...
2
votes
2answers
214 views

Kali Linux auto boot

I have just installed Kali Linux in a separate partition of an iMac with wireless keyboard and mouse and with rEFInd. When I turn on the Mac it boots into Kali Linux automatically and doesn't ...
1
vote
1answer
259 views

Disk Utility reading disk incorrectly; viewing ext4 as JHFS+ and seeing Recovery HD

This is imported from Superuser, I felt like I would have an easier time getting an answer here than in Superuser - it is copy pasted, as below. So, I have some strange issues in Disk Utility and ...
1
vote
0answers
200 views

Yosemite to AFP Ubuntu server connection freezes (UBUNTU CNID dbase error)

I have problems with Yosemite network connections to ubuntu server. Connection working for a while and freez after one minute or little more. This is big 3 TB server for work, with lot of files like ...
1
vote
4answers
184 views

Quote a filename in a script passed to chmod?

I'm having trouble quoting a filename that's eventually passed to chmod. The script was originally written for SSH's StrictModes and authorized_keys, but I had to expand it due to a bad UMASK that ...
0
votes
3answers
166 views

Mac mode where you can see code on startup

In The Outliers, Bill Joy is quoted as saying "If you put your Mac in that funny mode where you can see the code, I see things that I can remember typing 25 years ago." I'm intrigued - what ...
1
vote
5answers
225 views

How to remove top and bottom lines from a file using sed, awk, etc. in 1 step

I want to chop the top 13 and the last 6 lines from a file There are several answers on unix/linux but they aren't working for me as the sed options used aren't available on osx, tac isn't available, ...
1
vote
1answer
75 views

Ubuntu VM on the new MacBook

I need Ubuntu 14.04 for a class I'm doing, but I didn't want to install it side-by-side. Does VirtualBox runs smoothly on the new MacBook(http://imgur.com/zGmsv0o) ?
0
votes
1answer
132 views

How to pause Applescript when another process is not responding to system events?

I would like a Applescript to pause while a specific process/script/app is not responding (temporarily or permanently) to system events, and to start-up again when the other process is back. In ...
1
vote
1answer
176 views

iMac 21.5-inch Mid 2010 won't boot into OS X after installing Ubuntu, will boot into grub rescue

So, as the title says, I have an iMac 21.5-inch Mid 2010 model and I installed Windows 8.1 with Boot Camp. After attempting to uninstall Ubuntu and Windows in Disk Utility (in OS X and Recovery) it ...
0
votes
1answer
304 views

No bootable disk when booting Windows after installing Linux on Mac

That must the weirdest title you've read in a long time. I have a MacBook Pro Mid 2012, I installed Windows 7 with Bootcamp and all was working fine. Last night I installed Kali Linux with a bootable ...
2
votes
2answers
114 views

Is it possible to find out if a Mac was simply powered on (power button) but not logged into any account yet?

Sorry if this is a basic question: Is it possible to find out when a Mac was simply “powered on” (like just pressing the power button) and brought up to the login screen that shows the User Accounts, ...
0
votes
0answers
64 views

Moving lots of data between a Linux server and a MacBook: what is the fastest way possible?

Time Machine restoring is getting on my nerves. Last time my Mac refused to boot it took me a few days to restore the image from my backup server to my Mac. Bear in mind that all related hardware is ...
0
votes
1answer
229 views

Dual boot Linux Mint 17.1 with OS X Lion

I have a 13' MacBook (2007, hw.model: 2,1) running OS X Lion (10.7). I wish to dual-boot Linux Mint 17.1 alongside OS X. I created a Partition for Linux, and have also installed rEFIt (0.14). I have ...
0
votes
1answer
35 views

How to reformat a USB to not be a bootable operating system

I recently created a bootable USB from a .img file, here's what the USB looks like: And this is what it looks like in Disk Utility: Is there a way to reformat this USB to just store files?
3
votes
3answers
7k views

How to get music from Dropbox to ANY mp3 music type app

I am using an iphone 6, first time with an iphone, not really fond of it unfortunately bought it for the slow-mo video but having a heck of a time getting my music transferred! I don't want to live ...
33
votes
2answers
32k 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 ...
0
votes
1answer
20 views

Unfortunate deleting binary command file [duplicate]

I deleted "chmod" by mistake using "sudo rm chmod". What is the way to recover the chmod command? Is it 'a no way to do it' operation? I'm using Mac OS X Yosemite.
5
votes
1answer
443 views

Is it possible to get GNU sed for OSX?

I have brew installed but I don't have the GNU flavor of sed - can I get it through brew?
-7
votes
2answers
109 views

How to display standard Linux libraries of OS X in terminal?

Platform: OS X: Yosemite 10.10.4; MacbookPro 15" Retina (mid-2015). I am new to OS X, I want to explore the underlying operating system and it's Linux components especially. Linux has standard ...
0
votes
1answer
99 views

Issue with burning Linux .iso file using Disk Utility

I'm trying to create a Linux installation drive. I have an empty hard drive (MS-DOS format), and I already dragged the .iso file to the sidebar in the Disk Utility app. However when I press it the "...
0
votes
1answer
57 views

Why BSD eval cannot run gtime?

I am considering this answer with GNU time which I installed by brew. data.txt hello amigo this line 3 and here we go 4 and 5 is here Code in BSD time time eval $(echo sed $(for i in 1 2 3 5; do ...
1
vote
2answers
142 views

How to use the flag -p of BSD split?

Manual -p pattern The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first ...
0
votes
0answers
151 views

Deleted 20GB using 'rm -rf <dir>' and 'df -k' has not changed (but 'du -k' is correct)

I was cleaning up old directories on my 256GB MBPro SSD mounted on /dev/disk1. At first df -k was showing the expected increased in available disk space on that Filesystem. However for the ...
0
votes
1answer
703 views

To install Busybox in OSX

I am thinking initramfs -filesystem in this thread. I run unsuccessfully brew search busybox and no including package in Google clearly. Busybox is included in Linux by default but not in OSX. ...
1
vote
0answers
242 views

iPod Nano 7 Gen: use without Windows and MacOS

I just got an iPod Nano 7gen ("iPod nano with Multi-Touch") for my birthday. I have only one laptop and it's running Linux (Ubuntu 15.04 but may move on to Debian), is there any way I can sync music ...
162
votes
3answers
95k 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". ...
1
vote
1answer
887 views

Good Linux distribution for Macbook Air and VirtualBox

I have seen many Linux distributions tried to be used in Macbook Air, for instance. One custom made of Redhat Linux is one successful port in VirtualBox but it is not public. However, I would like ...
2
votes
1answer
565 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?
0
votes
0answers
261 views

Using Terminator on Mac

Is there a working solution (with steps) to have Terminator working on Mac? I know there is iTerm, but I like Terminator.
0
votes
1answer
443 views

Possible to build an IPA file on Linux/Window?

Is it possible to build an IPA file with XCode on a non-Mac OS like Windows or (preferably) Linux and preferably without the use of a VM? If yes, what is required to do so? I did do a basic search ...