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)

9
votes
2answers
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 ...
3
votes
1answer
553 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 ...
2
votes
1answer
15 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
16 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 ...
3
votes
1answer
1k views

Replacing OSX with Windows/Linux on aging mac

I have an old 2008 13" Macbook4,1 model (not pro) running Snow Leopard with 4GB of RAM and 160GB of HDD. It is adequate for my needs at the moment but the OS is no longer being supported by Apple (NTP ...
1
vote
0answers
19 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
93 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 ...
1
vote
1answer
105 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 ...
0
votes
3answers
50 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 ...
2
votes
2answers
113 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 ...
0
votes
0answers
51 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
2answers
2k views

Dual boot Kali with Mac

I want to dual my Macbook with Mavericks 10.9.4 and Kali 1.0.8. I have downloaded the Kali .iso and "burnt" it to a USB stick using the dd command from in Terminal. I have partitioned my hard drive ...
1
vote
3answers
38 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
21k views

a bad Shutdown resulting in a flashing folder with question mark

I was rebooting my MBP when i turned off abruptly, now when i turn on my Mac again i just see a Flasing folder icon with a question mark instead the Apple Logo. i have MacBook Pro 15" Late 2012 (Non ...
1
vote
1answer
47 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) ?
5
votes
3answers
16k views

How can I right click on a Mac using only the trackpad in a dual-boot environment?

I am absolutely new to Mac OS and can't determine hot to issue a right click on my Mac. If I want a shortcut menu to appear I can ctrl + click to get the same effect or I can use an old mouse that has ...
24
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" ...
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 ...
1
vote
2answers
106 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
1answer
1k views

How to create a Mac bootable gparted or Parted Magic thumb drive?

Is it possible to create a Mac-bootable thumb drive containing gparted or Parted Magic without installing a full Linux distribution? I tried several methods like unetbootin (some blogs suggest this ...
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 ...
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 ...
0
votes
1answer
76 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
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?
0
votes
0answers
74 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
2answers
152 views

Mac Pro with fresh install of Ubuntu Server 14 will not boot

I installed Ubuntu Server 14 on my Mac Pro and now after a successful installation, when I tried to reboot it, the computer chimes like a Mac always does, but does not load any further. Normally I ...
2
votes
2answers
79 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 ...
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.
3
votes
1answer
277 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
33 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 ...
2
votes
1answer
95 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 ...
2
votes
2answers
7k views

VirtualBox Ubuntu shared folder is empty

I have a Ubuntu virtual machine (Virtual Box) hosted on my MBP w/ Mountain Lion. OSX 10.8.6, VirtualBox 4.2.16, Ubuntu 12.4 LTS (32 bit) PROBLEM The shared folder(s) as seen in Ubuntu is/are empty. ...
0
votes
1answer
48 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 ...
-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 ...
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.
0
votes
0answers
36 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 ...
2
votes
1answer
114 views

Choosing FreeBSD as Startup Disk on Intel Mac

I partitioned a USB flash drive as GUID and used it to install FreeBSD 10 for x86_64 off a DVD on a MacPro1,1. I was able to select the installation DVD as my startup disk in Mac OS X just by going to ...
0
votes
1answer
67 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
72 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 ...
1
vote
1answer
273 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 ...
1
vote
1answer
135 views

Unable to boot into ElementaryOS on MacBook after PRAM reset

I installed ElementaryOS on a separate partition of my HDD. Not sure what happened but the audio in OSX stopped working after the installation. After trying everything else, I found resetting the ...
0
votes
1answer
98 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?
1
vote
4answers
6k 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. ...
2
votes
2answers
346 views

How to input accented characters to an OS running in a VM?

I have a MacBook Pro with English (US) keyboard layout. I usually hold the right-alt (option) key, and press E to activate the accented vowel insertion (it shows a placeholder where the accented ...
0
votes
0answers
30 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
151 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 ...
4
votes
2answers
122 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 ( ...