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)

1
vote
0answers
11 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
9 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
428 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
25 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
15 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
460 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
15 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
75 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
25 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
24 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
62 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
24 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
36 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
242 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
95 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
31 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
68 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
55 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
31 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
34 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
106 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
9 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
19 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
29 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
252 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
37 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
44 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
81 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
31 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
37 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
34 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
69 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
96 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
51 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
48 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
135 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
252 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
31 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 ...
1
vote
1answer
224 views

Boot problem on dual-boot MacBook Pro

Can anyone help me restore the original boot 'order' on my Mac, using command-line? I wanted to install Ubuntu on my Macbook Pro Retina (early 2013), so I could run some specific software I needed ...
0
votes
0answers
34 views

Troubleshooting converting Ubuntu.iso to ubuntu.img with hdiutil in Terminal

When I try this command: hdiutil convert /Users/Example/Example/ubuntu.iso -format UDRW -o /Users/Example/Example/ubuntu.img The terminal says that the image is not recognize, what am I missing?
1
vote
1answer
40 views

Remove characters preceding the second underscore in file names

I have a bunch of files and I would like to remove all characters preceding the second underscore in the file names. An example is shown below. How do I do this using bash commands? [From] ...
0
votes
0answers
98 views

How to Boot Linux from usb stick on Macbook Pro early 2011 15'' (8,2)?

Macbook Pro early 2011 15'' (8,2) is known for its discreet AMD GPU failure. System with failing discreet GPU can be used with integrated GPU. Recently, using reverse engineering methods some ...
1
vote
0answers
17 views

Mass Change Security to Mac App only option

looking to see if others have created a successful way in using ARD to deploy a script to change the security settings from Mac App & Identified developers to Mac App store only. OSX - 10.9.5 ...
0
votes
1answer
23 views

Executing executable file by means of script file

For executing file in linux terminal we run something like this: ./sflm -start Now, if i want this procedure is done by executing a script file what should i do ? I want to for example run this ...
0
votes
0answers
206 views

ssh: connect to host 192.168.10.9 port 22: Connection refused

I am using a MacBook Pro (10.11.2). I'm connecting to an ODROID (an ARM-based single-board computers) with Ubuntu 14.04 installed via ssh. Also I used ssh-copy-id on the Mac side to enable ssh'ing to ...
-1
votes
1answer
161 views

How to install OS X on KVM?

I need to run an OS X to run Xcode to submit my project written in Cordova. I am using an Linux laptop and I think the best choice is to use KVM to run a virtual machine of OS X, since KVM has the ...
0
votes
1answer
113 views

Why/how does the iOS 1970 bug work? [duplicate]

There's been a lot of discussion lately about the 1970 iOS bug. How/why does it happen? Is it due to the UNIX epoch at 00:00:00 1/1/1970, so anything negative causes a crash which Apple never ...