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)

0
votes
2answers
31 views

Changing the owner of a directory when username has a . (dot) in it [closed]

If I enter whoami in Terminal.app my id is shown as Abhi.Sri Now if I do chown -R Abhi.Sri /usr/local it says the user Abhi.Sri is invalid.
0
votes
1answer
34 views

Adding a compiled application to $PATH. Understanding the problem

I'm trying to understand the whole $PATH problem but I've got no luck so far. Suppose that I've just compiled an executable with make and I need to launch it with the shell without using the full ...
1
vote
2answers
200 views

How to remove Linux from my Mac?

I have installed Ubuntu on my Mac. But then after a few times, neither can I boot to Ubuntu nor can I find where it actually is. Total a mystery. Now I actually try to erase this part in my computer. ...
0
votes
0answers
242 views

Anyone knows how to fix Module wl Not found? t

Does anyone know how to go around fixing: Fatal: module wl not found I get this when I insert into terminal: modprobe wl on Kali linux 2.0 that I dual booted to my Macbook air El capitan. ...
-2
votes
1answer
149 views

How to backup iPhone contacts (no iCloud, iTunes or App)?

How do you take a backup of Contacts data stored in the iPhone, without using apps, and without sending Contacts data to the "cloud"? I've devised the following: 1) Compose a new email 2) Switch to ...
0
votes
2answers
128 views

What is the content of the $CLASSPATH variable in El Capitan?

I installed OS X El Capitan and, along with it, Oracle's Java 8 SDK. I've already verified that, using java -version, java is correctly installed. I need to add some user classes to the file path, ...
0
votes
1answer
147 views

Kali Linux Dual Boot - Wifi not working

I am struggling to find a detailed guide on how to troubleshoot wifi once Kali Linux 2.0 has been installed. I dual booted on my MacBook Air (El Capitan) Kali Linux 2.0, and as I have been warned, ...
0
votes
0answers
21 views

dtruss an app as the current user

I am trying to find out what keeps a new tab using 12 seconds to show my bash prompt, and now I have turned to dtruss. I had some issues to sort out dtrace requires root privileges Terminal.app is ...
1
vote
2answers
333 views

How to stream video with subtitles from computer to Ipad? [closed]

I would like to stream some movies with downloaded subtitles from my hard drive to my IPad mini. What are some ways I can achieve that solution? I use Ubuntu 15.10 or Windows and my IPad is updated ...
0
votes
0answers
7 views

How to fix bootable OS on Mac with Grub Rescue [duplicate]

Yesterday I installed Kali Linux 2.0 on my MacBook Air (runs El Capitan). However, after managing to run it, and exiting it, i couldn't find Kali on my laptop anymore. I forgot to install Refind ...
0
votes
2answers
90 views

How to install OS X Yosemite on MacBook (with empty hard drive) from Ubuntu or Windows?

Every time I search for how to create and install OS X on a MacBook from Windows I get a lot of Hackintosh videos, videos saying to use a Mac to create the installer, or even how to install in ...
1
vote
2answers
65 views

How to list all files with Finder Comment using unix?

How i can get path of all files, folders which has Finder comment and also the comment. Like this: /path/here/file.txt TAB finder comment is here /path4/here2/folder TAB finder comment is here I ...
0
votes
1answer
86 views

Windows sees iPhone but iTunes does not

I'm running Windows 7 in VirtualBox with Linux as a host. I'd like to sync my iPhone with iTunes installed in the VM. I've set up USB filters in VirtualBox, and Windows sees my iPhone upon ...
0
votes
0answers
14 views

Cannot boot Ubuntu 15.04 on Macbook11,1

I installed Ubuntu 15.04 on my MacBookPro11,1 according to this tutorial MactelSupport. I finished the installation and followed this guide Repair the hybrid MBR to repair the hybrid MBR. But when I ...
0
votes
1answer
24 views

Access Parallels VM files

I just finished an install of my debian (7.8) on parallels virtual machine and I'd love to be able to share the linux folders with the osx platform. Any ideas on how that might be done ? Problem with ...
0
votes
2answers
50 views

Why do many processes use the letter “d” at the end of the process name? [closed]

Just recently started getting into OS X/iOS development and noticed several files have a "d" at the end. I.e launchd, accountsd, cloudd, assistantd, etc.. Not all have it just some. Just a quirky ...
0
votes
0answers
27 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
106 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
48 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
59 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
58 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 ...
1
vote
1answer
640 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
12k 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
39 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 ...
2
votes
1answer
23 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
53 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
319 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
82 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
220 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
127 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
234 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
23 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
2answers
396 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
185 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
180 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
248 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
173 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
164 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
143 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
154 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
70 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
113 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
146 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
250 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
108 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
60 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
211 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
34 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?