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
26 views

Is there a “findmnt” equivalent for OS X?

I find findmnt's output much easier for a quick scan of the filesystem status than the traditional mount command. Is there an equivalent for it on Mac? It's part of util-linux package. HomeBrew doesn'...
3
votes
1answer
5k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
2
votes
1answer
3k 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
3answers
2k views

How can I reformat an HDD to HFS+ in Ubuntu (without using a Mac)?

I have attached an HFS+ hard drive with Mac OS X installed to an Ubuntu machine because while booting the Mac shows a blinking folder with a question mark. I searched Google and the results say that ...
14
votes
4answers
12k 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 lock. ...
0
votes
0answers
21 views

Why does sudo shutdown -h now command work but I cannot shutdown my mac traditionally?

I am on OS X El Capitan 10.11.5 on a Macbook Pro Early 2015. When I try to shutdown or restart by pressing the apple, it doesn't work. All of my applications close, the menu bar clears, and finder ...
0
votes
0answers
28 views

EFI boot option not appearing on startup

I am trying to install an Ubuntu Server distro on my old disused iMac, however after creating a live USB on my macbook pro no EFI boot option appears. I also tried burining a version of the image to ...
1
vote
2answers
106 views

How can I install es_AR locale on OSX El Capitan?

I'm trying to install a locale on OSX (El Capitan) and I can't figure it out. I've been googling for hours now. In Ubuntu is as simple as locale-gen and dpkg-reconfigure. I'm coding a PHP ...
0
votes
0answers
12 views

Cannot expand Macintosh HD after deleting Linux partition

I recently deleted an Ubuntu (ext4) partition on my MacBookPro11,2 in order to reexpand my OS X partition to take up the whole drive again. This is how my partition table looks like at the moment: ...
0
votes
2answers
36 views

Superuser su password reset

I am using OSX 10.6 I am the admin of my computer, however when I try to login as the super user through my terminal using my admin password, I am denied. Is there anyway to reset the password or find ...
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". ...
0
votes
0answers
22 views

Trying to dual boot Kali Linux and El Capitan, but Kali Linux won't get to GUI after install

I installed Kali Linux on my rMBP, and everything seemed to go fine. However, on the boot after installation, it starts booting and then gets to a black terminal-like screen that in the top left ...
1
vote
0answers
15 views

Macbook Pro EFI Edit

I have Linux installed on a Macbook Pro 5.1 (2009). The Linux kernel starts up with the Performance CPU Governor, which causes the CPU to get hot. Linux will drive the CPU at 3.06 GHz, but Apple ...
7
votes
3answers
4k views

Replacing OS X 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 ...
0
votes
1answer
27 views

Shared directory with Guest Ubuntu has become empty: a problem of virtualbox guest addition?

I installed Ubuntu under Virtualbox in MacBook Pro with OS X El Capitan. To share my OS X home directory /Users/tli folder with the guest Ubuntu, I downloaded the Virtualbox Guest Addition iso file ...
5
votes
1answer
459 views

less doesn't work

Recently I've noticed that less command doesn't work. $ ls | less CertificateEntreprenuership101.pdf Engineering Software as a Service_ An ...
20
votes
7answers
115k views

Copying ISO file to USB drive in OS X?

I have tried to copy an ISO file to a USB drive. I am unable to do it with Disk Utility. How can I copy the ISO file to a USB drive? But I get the below. I have enough space in the 16GB USB drive ...
2
votes
2answers
3k views

Macfusion: Can't mount SSHFS directory, “Authentication has failed.”

I have a problem with Macfusion. After following the instructions here: http://www.kevinfodness.com/using-macfusion-for-sftp-connections-on-osx, I set up an SSHFS connection in Macfusion, and after ...
0
votes
2answers
8k views

WD MyBook appears as read-only

My WD MyBook Essential with USB 2.0 appears with read-only permissions. I set the drive up on my old Vista machine, and when Vista began crashing, I switched to Ubuntu. I still have the Ubuntu machine,...
0
votes
2answers
31 views

Does a guest OS under Virtualbox need to install drivers for peripheral devices?

I run a guest Ubuntu under Virtualbox in Mac OS X. The host Mac OS X has been configured to print on a network printer by someone else. Now I try to configure the guest Ubuntu to print on the same ...
0
votes
0answers
28 views

Copy paste doesn't work from Mac book pro VNC server to ubuntu VNC client, other direction works

I have enabled the screen sharing in Mac book pro. Connected to that from Ubuntu using VNC client. Though I'm able to copy and paste text selected using mouse from Ubuntu to Macbook Pro, copy & ...
3
votes
2answers
527 views

Where is “mkpasswd” for OSX?

There is a well-known unix utility called mkpasswd available on many *nix systems. I was just trying to use it from terminal on an OSX 10.10.5 Yosemite (Early 2015) machine, and it is nowhere to be ...
0
votes
1answer
25 views

Where is the folder with color schemes used by vim?

I use vi on mac os x at work and on Ubuntu at home. I like the colorscheme vim uses on the mac and I'd like to copy the corresponding file on ubuntu, but I can't find it, since there's no ~/.vim ...
0
votes
0answers
100 views

Can't find installed ubuntu partition + rEFInd doesn't work

I created a new partition, created a bootable USB with Ubuntu 16.04 and installed it. After installation completed, I get the message for restart the device and I did it. So after that it boots ...
0
votes
1answer
31 views

Difference between dig @www.google.com ns . and dig www.google.com ns

I have a mac and am using terminal to try out the dig command. I was trying to use the dig command from a tutorial, which stated that if I use the syntax given below dig @www.google.com ns . I ...
5
votes
4answers
11k 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. ...
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 ...
1
vote
1answer
84 views

Right click in Ubuntu Virtual Box guest VM is not working

I am running Ubuntu in Virtualbox in Mac OS. I found that rightclick in the guest Ubuntu, by tapping the trackpad while pressing ctrl key, doesn't work. E.G. it doesn't show the menu for file ...
1
vote
1answer
28 views

Are the keystrokes under guest Ubuntu via Virtualbox supposed to be the same in a Ubuntu?

I installed Ubuntu via virtualbox under Mac OS. My keyboard-shortcut experiences with guest Ubuntu until recently were the same as mine with Ubuntu installed directly on a computer. For example, text ...
0
votes
0answers
29 views

Can I install Linux on Mac Mini mid 2011?

My long (started in 2011) and pleasant adventure with Apple will be apparently over as today's update yielded the Mac Mini (mid 2011) unbootable even to recovery mode (Cmd-R during power on). Can I ...
6
votes
0answers
43 views

Is there a way to access a USB-serial port by the device id, not by the tty.* port?

On linux USB-serial devices create two aliases to its serial port: /dev/tty* and /dev/serial/by-id/<my_usb_device_id> Is there a way on OSX to identify a serial port by the USB device id? Both ...
1
vote
2answers
394 views

X11 applications don't open after XQuartz update (OS X 10.10.4)

I updated X11 by installing the most recent XQuartz package, 2.7.9. Now, when opening an application that is supported by X11 (e.g., emacs), my terminal throws an error (while X11 starts in the ...
9
votes
6answers
39k views

How do I make my 1.5 GHz PowerBook G4 boot from a USB stick?

I actually want to boot Linux but since that is not working I'm thinking some one might know on the Apple end. If there's a way to boot Mac from a USB stick, then booting another operating system ...
0
votes
1answer
920 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 ...
0
votes
2answers
96 views

Find readable with Permissions as POSIX?

Aimed systems: Linux and OS X. Original code which works in Ubuntu 16.04 but not OS X, but follows unsuccessfully POSIX standards gfind ~ ! -readable -prune -o -type f -name "*.tex" where ! is ...
0
votes
0answers
40 views

Problem Installing Kali Dual Boot on Mac OS X El Capitan

I've tried installing Kali by installing refind, reverting my CoreStorage main partition, resizing it to free 30 GB, and burning the Kali ISO to a USB using the Mac Linux USB Loader. However, when I ...
0
votes
2answers
93 views

How to reset to default permissions

During development and debugging I have changed permissions of various files and folders using chown and chmod on my local system (I didnt maintain the list of changes). Now that I have fixed the ...
1
vote
3answers
651 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 ...
1
vote
0answers
89 views

refind : No bootable device (Mac and linux)

I just make dual boot on my macbook pro with linux fedora. when I enter linux on refind menu, it says "no bootable device -- insert boot disk and press any key". I know this question has been ...
45
votes
3answers
20k views

Linux' `ps f` (tree view) equivalent on OSX?

How can I get a tree view like the one below on OSX? vartec@some_server:~$ ps xf PID TTY STAT TIME COMMAND 11519 ? S 0:00 sshd: vartec@pts/0 11520 pts/0 Ss 0:00 \_ -bash ...
0
votes
0answers
32 views

Remove a physical partition on a Mac drive

I wanted to install ubuntu with rEFind on my Mac but I made a mistake during the installation and created a physical drive instead of a logical drive for Linux. My Mac boots fine, but I want to ...
1
vote
1answer
15 views

How do I install certain applications on a server

I have an Ubuntu server that uses netatalk by which I am able save files and backup to it. I want a way where the installation of an application in mac happens in the server and my mac is able to read ...
0
votes
2answers
154 views

How can I install Fedora Linux on a MacBook Pro, Model A1150?

I performed the following steps: Formatted a USB Flash Drive as: FAT32 Copied the Fedora Live ISO image to: /efi/boot/boot.iso Copied ISO 2 USB EFI Booter for Mac to: /efi/boot/boot.efi I then ...
1
vote
0answers
37 views

Are there any advantages to using GNU over the default OSX command line utilities? [closed]

Are there any advantages to using GNU utilities (installed via homebrew) as opposed to the default, BSD based OSX utilities? They seem very similar to me, but I will not pretend to be a master of ...
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 ...
2
votes
2answers
283 views

Running Ubuntu on MacBook Pro 2015 — run natively (dual boot) or run in virtual machine for longer battery life?

I currently use Ubuntu in a virtual machine, using VirtualBox software on my host operating system, OS X, on my MacBook Pro 2015. However, the battery life drains quickly when Ubuntu is used ...
1
vote
1answer
10 views

Transfer statistics per process or destination, not interface

I would like to log upload statistics for an application I run on my Mac. Now, I know that with netstat -ib I can access statistics per network interface. I also know that with lsof -i I can get a ...
0
votes
1answer
23 views

Can I edit/create a PDF's Table of Contents with freeware?

I have a PDF with a number of parts. I would like to create a Table of Contents to navigate the PDF with ease. I would like to do on a Mac this with freeware. (A command-line program would be great.) ...
0
votes
0answers
39 views

Mac mini, installed Lubuntu but some how it has been crashed, want to install OS X

Please help! I have installed lubuntu in my old mac mini. Some how it has been crashed. So I can reach to grub only. I tried to Start up from a bootable OS X USB drive by long pressing Command+C . ...
47
votes
7answers
32k views

Is there a way to convert audio files in Mac OS X or the command line without using iTunes?

Now, I know I can use iTunes to convert music. But it's quite a pain.. All I'm asking is: Is there anything built into OS X or UNIX for converting files? Right now I simply want to convert .mp4 to ....