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
1answer
40 views

Installing a linux application in OS X - source or via package mechanism?

I'm looking at installing an application whose installation is supported on a few Linux distros via yum, rpm etc and from source. What I would like to know is given these possibilities, what would be ...
0
votes
0answers
20 views

Wake on LAN on Linux

I just learned that I could wake my Macbook Air 2012 from sleep over the LAN under OS X. However, I can't make it work under Linux with the method described on the Arch Wiki. Has anyone managed to ...
0
votes
0answers
27 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'...
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
31 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 ...
0
votes
0answers
13 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 ...
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
23 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 ...
0
votes
1answer
30 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
460 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 ...
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
30 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
537 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
27 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
101 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 ...
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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
30 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
419 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 ...
0
votes
2answers
97 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
41 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
97 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
0answers
93 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 ...
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 ...
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 ...
0
votes
2answers
158 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
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 . ...
2
votes
2answers
288 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 ...
0
votes
0answers
28 views

How to SCP Linux Box to Mac Drive?

On mac terminal SSH'ing to a linux box, my local path seems to be interpreted as a server path: scp objects.yml ~/Documents I'm getting: cp: cannot create regular file /ngs/app/project/Documents': ...
1
vote
0answers
41 views

Can I create a bootable VM from a Mac sparsebundle using symbolic links?

I'm trying to find a method for booting the sparsebundle image of my Mac inside VM software (VMWare, VirtualBox, doesn't matter), either by booting the sparesbundle itself or converting it to a VMDK/...
1
vote
1answer
49 views

How to use unix find and exclude paths?

I need to exclude Time Machine path /Volumes/somedrive/Backups.backupdb from the results of find. I currently use the following code, but it generates massive logs as it finds and includes all files ...
1
vote
4answers
93 views

In Terminal, how can you determine which shell is actually running?

Using Terminal on OS X 10.11.4, initializing Terminal opens a new window running bash (by default). As I understand it, inputting echo $SHELL should output the shell that said command is submitted to. ...
0
votes
0answers
42 views

How to Read External HDD (Ubuntu) on OS X?

I do not want overwrite my OSX HDD, like the email-discussion will ubuntu 16.04 support single boot on mac air? but use instead external HDD for Ubuntu Linux on mac air. I use USB3.0 to Sata cable ...
1
vote
0answers
44 views

Does rsync have issues with Unicode Characters in filenames?

I run rsync via a crontab every night to make an offsite backup of a directory's state, fairly trivial stuff really. While going through the logs, I noticed that in particular there were a set of ...
2
votes
0answers
42 views

Open applications in the background in OS X, I don't want my focus taken from me. Respect my Focus!

I'm running El Capitan 10.11.4 on a 2014 Mac Mini. I'm often running 10-14 apps at one time as I work writing reports, word/excel/Adobe/Safari/iTunes/calendar/etc... Frequently I want to open ...
0
votes
2answers
74 views

Creating a bootable Linux distro compatible with Mac OS X [duplicate]

I have downloaded the appropriate Linux distro (in this case Fedora Xfce Live) and I have partitioned the USB with Disk Utility and attempted copying both the Fedora iso, and a Fedora iso converted to ...
2
votes
2answers
97 views

What is the most OSX or Darwin-like command-line experience available (without buying an expensive Mac or hauling my production machines home)?

I want to emulate the command-line experience from OSX with a small netbook and practice my skills with the comfort of this small machine. Surely Apple offers actual Darwin Links for developers or ...
0
votes
0answers
52 views

Burning an iso image to DVD on a mac aways results in something unreadable

I have tried burning the iso file 64-bit Mac (AMD64) desktop image (from http://cdimage.ubuntu.com/releases/14.04.4/release/) by running $ hdiutil burn ubuntu-13.10-desktop-amd64+mac.iso It tells ...
0
votes
0answers
38 views

Boot Ubuntu from USB stick on 2011 Macbook Pro

I have followed these instructions exactly, up until the point where I need to restart my computer and press the alt/options key right after the chime. I have tried doing that, but no menu has popped ...
1
vote
1answer
56 views

cupsfilter: Unable to determine MIME type of ““??”.**

I'm trying to convert html files to pdf files using the following command line for file in *.html; do /usr/sbin/cupsfilter “$file” > $file.pdf; done But I got the message as below and empty pdf ...
2
votes
2answers
148 views

How do I install gnu sc on my mac?

I want to install the command line spreadsheet sc. I would prefer to do with homebrew. I need both psc and sc commands. Is there a homebrew package? If not other methods would be good.
1
vote
3answers
314 views

Which Linux Distro installs on a MacBook (13-inch Early 2008) [closed]

I have a MacBook (13-inch Early 2008) and need to stick with it for some more time, but Apple doesn't give support anymore to it, so I'd like to install an operating system to keep it alive and ...
0
votes
1answer
32 views

opening two remote screen sharing on the same client

I have a macbook and I connect to my linux accounts with screen sharing. I would like to connect to two different linux accounts from the same client (my macbook) at the same time, using two different ...