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)

1
vote
4answers
77 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
49 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
3answers
36 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
46 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
0answers
50 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
56 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
75 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
92 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
35 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
0answers
73 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
26 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?
2
votes
2answers
71 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 ...
2
votes
1answer
256 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.
2
votes
1answer
92 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?
0
votes
0answers
11 views

How do you change the default route to a VPN?

I'm connected to the internet via a public unsecured WiFi router with address 192.168.1.1. I have an OpenVPN connection to a remote router who's LAN address is 192.168.2.1. After I connect, I get ...
-5
votes
2answers
62 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
47 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
32 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
105 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
35 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
62 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
67 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 ...
21
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" ...
1
vote
1answer
255 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 ...
0
votes
1answer
97 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
29 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
147 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 ...
1
vote
1answer
30 views

Default ubuntu to boot in startup manager causes ubuntu to not work anymore

I have installed ubuntu alongside os x. I can start it by pressing the option key during startup and choose the correct disk. Everything works. Now I want to default the ubuntu disk. That works by ...
0
votes
1answer
37 views

What is “sperion”?

I'm cleaning up my boot drive & have come across a unix executable file located @ /private/tmp/sperion about which I can't seem to find any information at all. What is "sperion"? This may be an ...
-2
votes
1answer
76 views

The Greatest Hassle of OS X

So after downloading lots of applications on my Mac in the past, I decided to get rid of some of these applications - and this is where I met some of the greatest hassles of using OS X, the processes ...
0
votes
0answers
101 views

Dual-booting Linux, cannot view images, some text or buttons

I was trying to boot 4 linux OSes (using rEFInd): Kali, Ubuntu, Mint and Elementary on my 2015 MPB. Both Kali and Ubuntu would not boot at all and Linux Mint and Elementary would boot however some ...
1
vote
1answer
67 views

macbook air sleep/wake problem after dual boot

I installed ubuntu on macbook air 6,2 (Early 2014 model) using these instructions https://help.ubuntu.com/community/MacBookAir6-2/Trusty Now whenever I put my mac on sleep (closing the lid) while ...
1
vote
1answer
342 views

How to boot Linux from Mac using rEFInd

I have successfully installed rEFInd on my MacBook Pro 2015 so I can boot into Linux however I cannot seem to boot into it. Here are my issues (both with Ubuntu 64x Mac CD and Kali Linux 64x USB). ...
0
votes
0answers
170 views

OS X equivalent of linux /proc dir

I am thinking about running dstat on Mac. But some of the locations of data are different from Linux: notice the /proc/stat: Module dstat_cpu24 failed to load. (Cannot open file /proc/stat) Module ...
1
vote
1answer
102 views

Install rEFInd on another partition

I recently tried to install rEFInd onto my Mac but it could not boot into the Ubuntu disk. To uninstall It I formatted my drive and reinstalled OS X along with my backup. To avoid this issue again I ...
1
vote
2answers
73 views

Is it possible to have IOS simulator in my Linux Mint?

I need to have iOS simulator for my Linux Mint OS to check my website responsive in various iOS devices is this possible as I know this feature is available in almost all Macs but I cannot afford a ...
0
votes
1answer
50 views

How to port this *nix-shell script to OS X?

I've got a unix-shell script that's supposed to work on nix machines. This doesn't run on OS X however, due to "cp" command not defined. Changing it to "copy" didn't help. git log -1 ...
0
votes
0answers
22 views

Reduce the backup from Linux configured TimeMachine

I have created Time Machine server on CentOS and forgotten to set size limit to backup. Now I want to set the limit to 700G but my backup already 800G. Can I reduce the backup without deleting it ...
2
votes
2answers
111 views

How can I repair EFI?

The computer is a MacBook Air. I have OSX Yosemite and Linux Ubuntu 14.04 dual boot. I messed up and damaged my Mac EFI and hence OSX ceased to work. Recovery disk was destoyed too. FileVault is on ...
-1
votes
1answer
215 views

Kali Linux on Macbook

I have a question about kali linux on an Apple Macbook Pro running in Parallels. After giving the command sudo airmon-ng in terminal, it shows no interface. Does anybody know what to do or is it ...
0
votes
1answer
260 views

Reclaim hard drive space from deleted partition and reclaim Apple bootloader

I had my system dual-booted with Ubuntu 14.04. However, I found myself not using it enough to warrant the storage space. I deleted the ubuntu partition and the ubuntu swap partition. However, am now ...
1
vote
0answers
129 views

Issues with /usr/lib/libcups.2.dylib. x86 applications will not execute

I upgraded CUPS from 2.0.0 to 2.0.2 on OS X 10.10.4 Yosemite for security reasons per advisement from a Nessus scan. I committed the cardinal sin of not backing up my OS before making this change. ...
0
votes
0answers
116 views

Screen Sharing to Ubuntu 14.04 server with Lubuntu Desktop - one-way clipboard

I've seen other questions around this topic - e.g. this - but none of them cover exactly what I'm seeing. I'm using my MacBook Air with Yosemite 10.10.3 to connect to a TightVnc 1.3.9-6.4ubuntu1 ...
0
votes
2answers
63 views

how do i remove Ubuntu from my macbook? [closed]

i just bought a Macbook from someone off of Craigslist but it has Ubuntu software on it, but I want the regular Apple OS. how do I remove Ubuntu without damaging the computer and its files?
0
votes
0answers
118 views

Can't find music transferred from RhythmBox (Ubuntu PC) to iPhone

I've transferred a single song to my iPhone 5 through RhythmBox from my Ubuntu PC, however, when I open the "Music" app, it's not showing there. But in RhythmBox, it does show it's present. ...
0
votes
3answers
122 views

I want to backup my Mac partition, including the OS, so that I can use the backup to restore my hard drive to its current state

I want to dual-boot Ubuntu (14.04) of my Mac running OS X 10.10.3. I want to make sure that I can use my backup to fix any issues I might have dual-booting. I have a bootable USB with Ubuntu on it, ...
0
votes
0answers
86 views

No menu bar or dock on OSX 10.10 after installing rEFInd and Ubuntu

Umm, yeah. I'm stuck between a rock and a hard place. See, I needed Linux for software development, and the obvious choice (while some might argue) was Ubuntu. So I installed it as dual-boot with OSX ...
0
votes
0answers
40 views

Cannot copy and paste from screen-sharing

I am running vncserver on a remote linux and I open it on my mac air 10.9.5 with screen-sharing. I cannot copy and paste from the screen-sharing window to my mac. I am talking about copying-pasting ...
0
votes
1answer
69 views

Migrating from Linux (Ubuntu, CentOS) to OS X (dev environment)

I'm about to migrate from Linux to OS X and I wonder if will encounter issues with development, as I probably will need lots of packages which are available in apt, yum package management systems. How ...