Questions tagged [unix]

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 software, you are doing things very much in common with other UNIX operating systems and toolsets such as Linux, GNU, and many, many others too numerous to list.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

How to run Linux GUI on macos

I'm following this website's instruction so I can run Linux gui app on my mac: https://kartoza.com/en/blog/how-to-run-a-linux-gui-application-on-osx-using-docker/ I've downloaded Kitematic (v0.17.7) ...
0
votes
0answers
11 views

How do I fix a (bad?) Time Machine USB hard drive?

My Time Machine USB hard drive no longer mounts in MacOS. When I tried to run $ diskutil verifyVolume /Volumes/[drive name]/ it would stall for 12+ hours. I tried to fix the drive in Linux. It looks ...
0
votes
0answers
20 views

Partition limited and greyed out

I'm trying to partition my hard drive in order to install Ubuntu. I'm using MacOS Catalina. Upon selecting the device and clicking partition, I encounter that most of my hard drive space is greyed out ...
0
votes
0answers
44 views

Why is Apple changing the default shell to zsh? [duplicate]

As bash is so broadly available, it provides a good compatibility layer for users that come from other Posix systems to use macOS. Why the move to zsh as the default shell, and why the extensive ...
0
votes
1answer
34 views

Run an application as another user in Mac

I have tried various methods mentioned across many sites, but cant able to run perfectly on newer versions of mac os. I have tried: sudo -i -u otheruser -H OR sudo login -f otheruser And try running ...
2
votes
2answers
31 views

Where do Macs from before 2011 store their recovery and startup disk menu?

To give some background, the reason I want to know this information is because, I recently bought a brand new SSD to place into a 2009 Mac mini, where I want to install Kubuntu. I know that PCs store ...
2
votes
1answer
40 views

How to handle new image/video format of iOS on Linux laptop?

I transfered my images from my iPhone to my Linux laptop (debian 10) by running the following command: sudo dmesg|grep SerialNumber: Then in file browser, I pressed Ctrl+L then write: afc://...
0
votes
0answers
10 views

What is the actual situation of “RTF_PRCLONING”,come from netstat -rn

i know "RTF_PRCLONING" explain is "Protocol-specified generate new routes on use",But I also want to know its specific use situation?When will the route records using this flag be added and deleted?...
0
votes
1answer
20 views

How to kerberize services on Mac bound to Kerberos KDC on Linux?

I'm trying to kerberize services on an iMac that is bound to an external Kerberos KDC on a Linux computer. I assume that I have to use sso_util and do it like this: sso_util configure -v 7 -r ...
0
votes
0answers
71 views

Booting Ubuntu (or any other Linux) from MacBook Pro 2020

As a new user in the world of Apple computers and laptops, I am trying to understand better why it is a pain in the ass to boot a flavor of Linux using an Apple MacBook. I know from what I have seen ...
1
vote
1answer
26 views

Connect to server - password syntax (symbols) confusing the expression

I'd like to connect to my local server using the following expression in Finder/Go/Connect to server: afp://username:password@serverIP.local My password is using characters which I'm pretty sure are ...
0
votes
0answers
14 views

Get MacBook6,2, Linux Mint 19.3 to boot auomatically on adapter power

I have a MacBookPro6,2 (MC372LL/A). The battery had died and can't run the latest macOS, so I installed Linux Mint on it with the idea to use it as a media computer. It was booting up as soon as the ...
1
vote
1answer
41 views

how to install ubuntu and triple boot with high sierra and legacy booting win10 with dual disk drive?

I have a mac mini (5,1) with two disk drives, right now one is installed with macOS High Sierra, one is installed with Windows 10 as shown below: /dev/disk0 (internal, physical): #: ...
0
votes
0answers
21 views

MacBook Pro after delete ubuntu partition, I lost my principal partition

I have an issue with my MacBook mid 2012. After deleting my Ubuntu partition, I lost my principal partition of macOS x. When I restart the MacBook and pressed option, nothing appeared. I tried to fix ...
0
votes
1answer
25 views

File tree on Linux via ifuse doesn't match ipad

I have managed to get the linux tools idevicepair and ifuse working. I created a directory called ipad and I see Books, DCIM, Downloads iTunes_Control PhotoData Photos and Recordings. I can see them ...
1
vote
2answers
50 views

Dual booting, and lost rEFInd: how to recover OSX?

I mostly followed [these instructions][1] for how to set up dual-booting on my macbook, and everything seemed fine, up to the very last step. Now when I reboot the system (even if I hold command-R) I ...
0
votes
0answers
9 views

Is it possible to find the “favorite” information for ios photos when mounting an iPhone on Linux?

I am a longtime Linux user, mounting my iPhone with ifuse to backup my photos (from the DCIM folder). I would get my favorite photos (either a list of filenames, or a flag on a per-file basis), so ...
0
votes
1answer
28 views

Mojave not recognizing my bootable USB stick, reverts back to Apple Partition after flashing

So first of all I have little experience on this field, but I'm trying to install linux on my personal MacBook Pro from 2017. I followed a lot of tutorials for this but none of them worked. So I ...
0
votes
1answer
38 views

Is it possible to backup via Time Machine to SMB behind NAT on non-standard ports?

I have a Linux server with an exposed SMB share Backup. It's physically connected to a LAN via a router. MacBook Pro physically connected to the same LAN via the same router can connect, set up Time ...
0
votes
1answer
36 views

Data not backed up, System not booting, Getting Error: -69845 after trying to fix bad Partition Type

A few months ago someone installed Linux on my computer using rEFInd for a project. I am using a 2015 13" Macbook Pro with 256GB SSD. The partition for linux was made to be 60GB. After the project I ...
0
votes
2answers
42 views

MacOS/Debian10 dual boot- how to delete unknown EFI partition?

I have a macbook air dual booting macOS Catalina and Debian10 buster. I hold the option key at startup to choose the system I want. In the boot manager there's this efi partition (https://imgur.com/...
18
votes
1answer
2k views

How could macOS be POSIX compliant without vi?

As macOS is POSIX compliant and Unix certified, why does vi redirects to vim? As I understand, vim is not POSIX compliant. So how did Apple obtained a Unix certification without having vi installed on ...
2
votes
2answers
70 views

MacOS wont boot after partitioning my SSD

I installed Kali Linux on my iMac as Dual Boot. After a while I needed more space for Kali so I decided to shrink my Mac Partition (APFS) using MacOS Disk Utility Tool. I created a new 100 GB ...
1
vote
1answer
21 views

Trouble setting Sublime Text as default editor for entering Git commit message [closed]

I am learning git command-line. I wish to set Sublime Text as the default editor for entering commit message, when I run the git commit command from Terminal. But when trying to do so, I am running ...
1
vote
1answer
63 views

looking for something more modern than X11 “streaming” with local Vagrant Linux VMs

I have a similar question like Alternatives for XQuartz?, because XQuartz is discontinued since 2016 and X11 feels in general obsolete. I use vagrant to spin up Linux VMs and connect with ssh to the ...
0
votes
1answer
70 views

Edit Icons for MacOs Startup Manager (Windows, Linux & Macos)

After successfully installed Linux and Windows along with macOS High Sierra on my Macbook Pro 2013 13" with help from Mr. David Anderson (a great contributor here). Now I wonder how to change the ...
1
vote
1answer
102 views

Installing Manjaro on an SSD and Switching Mac Mini Hard Drive

I have an old Mac Mini Core Solo (2006 model). I wanted to know if it's possible to install Manjaro on an SSD and then swap the old Mac drive with the Manjaro SSD? I've tried using Rufus to make a ...
0
votes
0answers
15 views

File sharing Drop Box changes owner to nobody

Something has changed on my network setup for which I can recall making no changes. When I used to use the Drop Box on one MacBook Pro terminal, there were no issues. I am making a historical guess, ...
1
vote
0answers
22 views

Should I take additional precautions to use Parallels shared folder on Linux?

On macOS Catalina I installed Debian 10 i386 on Parallels, installed the vm tools also. Everything looks fine. I would like to play with Qt projects on both platforms. Since Qt is multi platform ...
1
vote
1answer
73 views

Multiple Windows on Startup Items - How to Remove

I currently have 2 SSDs on my Macbook Pro 2010 13", on which I have successfully installed MacOS & Ubuntu on 1 SSD, and Windows on the other. All is working fine and successfully installed. The ...
1
vote
3answers
71 views

Can I revert back to my macOS boot partition after creating dual-boot ubuntu partition

Mac mini, 500GB, OSX. I was halfway through making a dual boot Ubuntu system and quit before finishing. It left my 500GB with one un-modifiable partition labeled "Linux Swap", and also a smaller Mac ...
1
vote
1answer
104 views

Successful brew install iftop still shows “sudo iftop: command not found”

I have reinstalled iftop and still command not found. out of ideas.
1
vote
2answers
146 views

Attempted to fix macOS startup volume after failed dual-boot Linux install, but failed and now original partition unknown

Attempted to install Linux on my MacBook Pro 15" 2015 one day for school, but then the install failed and I had a GRUB issue similar to this: How do I recover/fix my OS X partition?. Weirdest part ...
12
votes
2answers
2k views

Open /dev in Finder

Is it possible to open the /dev/ directory in Finder? If not why? Is it on some kind of exclude list? I would like to use a GUI to list the files there on macOS Catalina. Is this possible?
0
votes
1answer
24 views

Terminal display changed after wipe?

I had to basically wipe my Mac and reinstall Catalina[1] because I messed up some python package installations very badly, and I was able to erase it seemingly successfully. There's only one primary ...
2
votes
1answer
183 views

Install CentOS on MBP 2019

I am trying to install CentOS 8 on my 2019 MacBook Pro 2019 with Catalina 10.15.4. I want to dual boot either with Catalina and CentOS. Steps so far: Partition with 500GB for CentOS Created a ...
1
vote
0answers
43 views

How to stop CorruptPowerlog eating up my disk space?

I am running 10.14.6 (18G3020) on a 2018 MacBook Air. Every 15 seconds or so a triplet of files is created in /private/var/db/powerlog/Library/BatteryLife/Quarantine. For example 30144 -rw-r--r-- 1 ...
5
votes
1answer
201 views

Why can't I create a .ssh directory on macOS 10.15.4?

I'm running into a strange problem trying to set up ssh. I'm more used to Linux than macOS. Can someone explain to me what's going on here? user@nothing ~ % mkdir ~/.ssh mkdir: /Users/user: No such ...
0
votes
1answer
31 views

How do I reset the “@” for directories on a MacBook Pro?

drwx------@ 23 johnc staff 736 Mar 30 14:31 Downloads I used to be allowed to ls -al the contents of my Downloads directory in my $home directory. $ ls -l ls: .: Operation not permitted
1
vote
1answer
34 views

How to organise overflowing config files and folders in the home directory and beyond!

The Context: I'm a long-time macOS user who has spent many years dabbling here and there with the *nix side of Apple life since the first iteration of OS X (10.0) originally shipped. Recently, I ...
0
votes
0answers
22 views

My Mac Pro boots up in Linux. How can I go back to MacOS [duplicate]

I inherited a Mac Pro that boots up in CentOs. I would like to uninstall it and Install MacOs I get to the command prompt and then I don't know what to do. Can someone advise?
0
votes
2answers
201 views

macOS - spctl command - disabled list with News.app - app still runs

I followed the guidance in this answer. Ran the following commands: sudo spctl --add --label "DeniedApps" /System/Applications/News.app sudo spctl --disable --label "DeniedApps" News app (to be ...
2
votes
1answer
147 views

Cannot boot Ubuntu on a triple boot system (Catalina, Win10, and Ubuntu 18.4.4)

I am running a 2012 Macbook Air (5,2) with a 1TB SSD installed. I plan on using Mac as my main OS, windows for apps unavailable on mac, and linux for programming. Using the Mac Boot Manager (hold alt ...
3
votes
1answer
122 views

Can I reinstall macOS on my Mac after it's been turned into a Linux box?

I inherited a Mac Pro Tower with CentOS on it. I want to reinstall macOS on it using an external CD/DVD drive that's plugged into a USB port. I have tried holding down the C-key on startup. I have ...
0
votes
0answers
45 views

Linux in Oracle VirtualBox VMs runs slow and black screens on MacBook Pro

I'm trying to install a Linux Virtual Machine in Oracle VirtualBox on MacBook Pro 2019 on Catalina, but I am having issues. Ubuntu goes black screen during installation, usually happens when creating ...
1
vote
1answer
61 views

When should we enable the `locate` command on a Mac?

The locate command in Bash is available besides find to look for files, but it requires building a database. On a Mac, how useful is this and in what situation(s) should we enable it? $ locate '...
0
votes
0answers
18 views

passwordless ssh stopped working from my ubuntu to macbook

I did set ssh-copy-id -i ~/.ssh/id_rsa.pub username@192.168.1.11 and I did it multiple times now I get this message: Number of key(s) added: 1 Now try logging into the machine, with: "ssh '...
1
vote
1answer
48 views

How can the check point on startup for macOS's T2 chip authentication be bypassed for securely signed OS's like RedHat?

How can the checkpoint on startup for macOS's T2 chip authentication be bypassed for securely signed OS's like RedHat? I know after both drives within, say macOS Catalina for example, are mounted ...
1
vote
1answer
77 views

How to compile OSS binaries to replace the versions shipped with OS X?

I want to compile new versions of openssl, bash, and similar unix tools in the same way that Apple would. I want to link against the OS's built-in libraries where possible, and I want to copy the ...
3
votes
2answers
268 views

Sources for “ping” bundled with Mojave 10.14.6?

I am interested in knowing whether the "ping" utility shipped with Mojave 10.14.6 sources are open. man ping ends with BSD March 29, 2013 BSD, but it seems that FreeBSD's version of ping is not the ...

1
2 3 4 5
19