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
1
vote
0answers
26 views

Unable to reinstall macOS on MacBook Pro after installing Ubuntu

In the process of installing Ubuntu 20.04 on my Mac Book Pro (Retina, 15-inch, Mid 2015), I formatted the whole disk and installed Ubuntu 20.04. Now I am unable to install macOS back, previously ...
1
vote
0answers
17 views

Edit lots of profiles in iTerm2

A longtime user of Terminal on the Mac, a colleague recently recommended iTerm2. I had a play around with it, and the same colleague gave me his Profiles JSON file. In vim, I was able to do a ...
-1
votes
1answer
41 views

What are the benefits of XNU using Mach features compared to a full FreeBSD kernel? [closed]

The Darwin kernel is a hybrid of Mach and FreeBSD. What are the benefits of using such a hybrid architecture compared to a full FreeBSD kernel? I'm not looking for subjective opinions of why this ...
0
votes
0answers
25 views

Can't solve 'passwd: Authentication token manipulation error' error

I'm trying to SSH into a Hills server for my local junior college. The system asks for my (current) UNIX password, however, when I enter the password I get the following error: (current) UNIX password:...
0
votes
0answers
27 views

Is it possible to install Ubuntu on an external SSD on the 2019 16 inch MacBook Pro?

I'm considering buying the 16 inch 2019 MacBook Pro because I need a powerful x86 machine that can run macOS, but I would also be interested in running other operating systems on this computer. I know ...
0
votes
0answers
15 views

Cannot boot into macOS

A while ago, I installed Ubuntu along with the macOS on my MacBook. Yesterday, I decided I should uninstall Ubuntu. I read a post on how to uninstall Ubuntu. What I did was, in Disk Utility on macOS I ...
1
vote
0answers
18 views

How do I stream Linux audio to Mac computer?

Basically the reverse of this question: How do I stream Mac audio to Linux computer? How do I stream my linux audio (PopOS) to my Mac
-1
votes
1answer
32 views

List of Linux programs which are not in macOS

I know the following programs are in Linux but not in macOS. Are there more? Where can I find the list? Please ignore BSD counterparts. tree watch wget wdiff gdb autoconf
0
votes
0answers
22 views

du reports subdirectory sizes which add up to more than the total disk size

My total physical drive space is 256GB and i am not connected to any remote storage. When i run du -sxh ./* 2>/dev/null in zsh shell on macOS Big Sur 11.2.3, i get the following results: 39G ./...
0
votes
0answers
35 views

Cycle Through MacOS Terminal Profiles From the Command Line

How can I change my Terminal's profile with commands? Let's say I wanted to switch from my custom terminal profile to the "basic" terminal profile, how would I do that with commands instead ...
1
vote
1answer
91 views

Only Transmission traffic through VPN

I would like to use my favourite torrent client, Transmission, over a VPN service but at the same time I do not want to direct any other traffic therethrough. That is, I want to use my VPN service ...
1
vote
0answers
37 views

Remotely access Mac from Linux using krdc

Following up on Can I remotely access my Mac from Linux using screen sharing? I've set up the Mac to be Accessed Remotely via VNC I am trying to remotely access it from Linux using krdc which I am ...
0
votes
0answers
64 views

Ubuntu on Mac: Executing 'grub-install /dev/nvme0n1' failed

I know this is a super common issue, but if I am here it means I have already searched and tried many roads: unsuccessfully. I am trying to install Ubuntu on a MacBookPro 13" 2019, running MacOS ...
0
votes
1answer
43 views

I get an error sed: 1: “1~2d”: invalid command code ~ when I use sed '1~2d' sample.txt

On macOS version 11.2.2. $ which sed /usr/bin/sed sed version: 4.8 SED(1) When I run this code on Ubuntu, it works. $ sed '1~2d' sample.txt two four six But when I run this on macOS, both in zsh and ...
0
votes
0answers
33 views

How does Big Sur determine execute permissions

In trying to add programs to the Full Disk Access list it is not clear how Big Sur determines which files are executable and thus addable to the Full Disk Access list. For instance I have files in /...
0
votes
1answer
45 views

Extract some IPA from iPhone to USB Memory without jailbroken/download from App Store without iOS Device

How can I copy an IPA (iOS App Store Package) from my iPhone to a USB memory, using Linux, macOS, or Windows OS? Alternatively, How to download IPA directly to my Laptop from App Store without iOS ...
1
vote
1answer
75 views

Kali Linux bootable USB not showing up in boot menu

I am using a 2018 MBA running Big Sur I wanted to create a persistent bootable USB with Kali Linux and have followed the exact instructions as given in this article: https://medium.com/macoclock/...
0
votes
1answer
25 views

Share / view files betweek Mac OS X and Linux (Ubuntu) using sshfs and GUI

I just want to access file from Mac OS X (Big Sur / 11.2.1) on my Linux (Ubuntu 20.04.2 machine) and vice versa. I did not like the idea using SMB - or should I really do it?? What I did OS X : ...
0
votes
1answer
82 views

How to remap Mac keyboard with Xmodmap

I was trying to remap my Mac's keyboard with Xmodmap, but it was only somewhat successful. The remapping works when I look for the keycodes with the event tester, but when I actually type the keyboard ...
0
votes
2answers
47 views

macOS Cannot Create Valid Symlink From Terminal Using Relative Paths

Using the following snippet it creates an invalid symlink. But according to other answers it should work fine. # make a temp dir and save path to var. # set dir (mktemp -d) # fish shell only! dir=$(...
1
vote
1answer
53 views

How can I find the PTUUID of a partition in a Linux IMG file on macOS

I need to find out the PTUUID of a partition on an IMG file. This can be easily done in Linux by using the following command: user@ubuntu:~$ sudo blkid /mnt/hgfs/Downloads/RPi/2021-01-11-raspios-...
0
votes
1answer
41 views

How can you open a video on your desktop at a specific time using terminal?

I wanted to know if it was possible to open a mp4 file located on my desktop right at a specific time of the video (e.g. 1 hour 10 minutes 30 seconds) using the terminal? $ open /Volumes/USERNAME/...
1
vote
1answer
129 views

Why isn't Startup Manager showing Ubuntu Netboot USB - mid 2010 imac 21.5"

Apologies if this question is inappropriate for this forum I am not sure whether I should be on the Apple or Ubuntu StackExchange. I am trying to turn an iMac mid 2010 21.5" into a home server by ...
0
votes
0answers
36 views

How can I protect lock down the hosts file under SIP

I want to prevent myself from modifying the hosts file. I tried to do what was answered here: Protect hosts file , which was: -disable sip by booting into recovery mode and reboot -run: chflags ...
1
vote
1answer
67 views

move grub from sd-card to win partition?

i'm not the first one with this kind of problem, but my specific nuance, i did not yet encounter: i have a 2014 macbook pro with os x plus a windows 10 bootcamp partition. now i wanted to have a look ...
1
vote
0answers
37 views

Late 2007 MacBook: can't boot from USB/DVD to install Windows 7

I have a late 2007 MacBook with Ubuntu. I want to install Windows 7, but can't even reach the installation. I've tried to boot from a USB and DVD. Both don't work. When the computer starts, I hold the ...
1
vote
0answers
137 views

Can’t install 64 bit linux distros on A1176 2006 Mac Mini?

I am trying to install a linux distribution called Ubuntu MATE onto a 2006 Mac Mini. I can’t get 64 bit install media to boot but I can with 32 bit. The Core 2 Duo in the computer is a 64 bit CPU so ...
2
votes
1answer
45 views

Why are load averages on macOS always over 1.0

My load average on a bunch of Macs running Catalina and Big Sur is always over 1 (1.2 -> 1.5), with just finder open, or safari idle... On my other linux boxes raspberry pi etc, I usually see close ...
2
votes
1answer
131 views

Network scan shows several linux-related security vulnerabilities on a Mac. Do I need to wory?

One of my company computers - a Macbook Air, was shown to have security vulnerability as part of a recent external network scan. The issues are related to Linux 4.0. Mac OS is a UNIX flavor, not Linux ...
0
votes
1answer
48 views

How do I make Terminal/UNIX tools to start the week on Sunday?

I can't quite make this happen. Setting LC_TIME seems to work, but the locales are broken or whatever? How do I force this onto my system? $ for i in (locale -a); bash -c "LC_TIME=$i date -j -f '%...
1
vote
2answers
257 views

Newly installed Debian stuck on loading on MacBook Pro “Core 2 Duo” 2.16

I made a successful installation of Debian 10.6 32 bits on my 2007 MacBook Pro "Core Duo" 2.16 GHz (T2600). 2007 MacBook Pro 15-Inch "Core 2 Duo" 2.16 2.16 GHz Core 2 Duo (T7400) ...
1
vote
0answers
62 views

How use 'expect' to runing 'openconnect VPN' in background?

I'm a newbie to write bash script,I was using macOS catalina, and I write a bash script which use expect to run openconnect, #!/usr/bin/expect ... spawn sudo openconnect --user xxx --protocol=...
0
votes
0answers
275 views

Dual Boot Catalina and Pop!-OS with Data-Sharing Partition

I want to dual boot both an up-to-date version of macOS and an up-to-date version of Pop!-OS on my MacBook Pro 2016 without T2 chip. I am currently running macOS Catalina. Can somebody comment on the ...
1
vote
1answer
73 views

Best file system for external hard drive, to be used on both Linux and macOS?

What's the best file system that I can use for an external HD which I want to use on both a macOS system, and a linux system? I can transfer files using sneaker-net much faster than through an AFP or ...
1
vote
1answer
121 views

Macbook Pro main volume not accessible - filesystem type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF

Preface: I know there are lots of other questions about this on here, but they do not exactly match my situation and/or I do not have the technical knowledge to apply the answers to my situation. ...
6
votes
3answers
831 views

Is it possible to compile UNIX command line program for Apple Silicon architecture on Intel-based Mac?

I have a GUI wrapper of UNIX command line program. I noticed that Apple announced Apple Silicon Mac. Sooner or later I need to build Universal Binary of my GUI wrapper. But at first, I need to ...
0
votes
0answers
23 views

running macos Desktop with broken display on Linux laptop

is there an opportunity to run the Macos Desktop from my Macbook air laptop on an ASUS Laptop with a Linux enviroment on it .The problem here is,the display of my Macbook air is broken, so i cannot ...
2
votes
0answers
99 views

Catalina system and data volumes with “find”

I sometimes find it useful to be able to search my entire hard disk with the "find" command, but I want to exclude all volumes on external drives. I have a script that I use in lieu of the &...
-4
votes
2answers
827 views

Run the macOS desktop environment on Linux [closed]

As I know, macOS is using Darwin kernel and Darwin is a distribution of BSD. So macOS is in the UNIX family and can run most Linux / BSD / Solaris software on it. Maybe there is a way to install ...
1
vote
0answers
26 views

macOS, user/group with no privileges to delete

In my environment we use macs. I've been asked if it's possible to remove the capability of deleting files/folders for users. Most of our users are developers and we provide local admin rights to ...
0
votes
0answers
19 views

How to prevent the battery capacity degrading using a PowerBook G4 with Ubuntu 16.04?

I have a 2005 PowerBook G4 which I dual-boot Mac OSX 10.5.8 and Ubuntu 16.04 XFCE. The 'book runs both OSs quite well but I have noticed that using Ubuntu has the effect of reducing the battery ...
0
votes
1answer
60 views

Mac Pro starts with folder icon and question mark, HD is empty. How to install Ubuntu?

I have a Mac Pro with an empty (no existing partitions) 1TB HD connected to it. I am using a windows USB keyboard and want to install Ubuntu on it. There is no Mac OS installed or running on this ...
0
votes
0answers
38 views

Dual boot Mac with Ubuntu using rEFInd - removed Ubuntu by deleting partition and now Mac won’t boot

I had installed Ubuntu on Mac with rEFInd dual boot. I was able to use it until I thought to remove the Ubuntu. I deleted the Ubuntu Partition from drive, and then thought it will just remove Ubuntu ...
0
votes
1answer
161 views

How can I move files by USB between a version 6.1 iPod Touch and a Linux machine?

I've recently dug out my old 5th Gen (A1421) model iPod Touch and put it back to factory settings. It's currently running version 6.1 (10B141) of its OS. I don't want to find that a software update ...
1
vote
1answer
99 views

Can't boot to macOS anymore after resizizing macOS partition

After installing Ubuntu as a second system on my Macbook following this tutorial https://www.maketecheasier.com/install-dual-boot-ubuntu-mac/ everything was just working fine and I was able to boot ...
0
votes
1answer
71 views

Linux Install on Mac. Macos Asks to Initialize

Install of Linux on Mac went fine, but I want to get rid of the initialize unreadable popup for the disk after macOS boots. Tried adding the UUIDs in the fstab file but it did not work. Do I need the ...
0
votes
2answers
102 views

What is the 'xmessage' command equivalent on macOS?

For Linux, there is a command xmessage which displays a message in a window. Does anyone know what is the equivalent one on macOS?
0
votes
0answers
58 views

Trying to edit NVRAM variable from Single-User mode - Blocked

Thanks for invaluable info at least reusing old MacBook will save lot of co2 and other precious resource of planet. Following MacBook Pro: How to disable discrete GPU permanently from EFI? , I have ...
0
votes
1answer
85 views

anything better than dd to copy disk images to SD card in OS X?

I have used dd because it is what the tutorials suggest to do for instance when copying Linux images to SD cards (e.g. Raspbian, Kali, ...). This is done at 1 Mb/sec on my macbook pro. I have tried to ...
2
votes
1answer
141 views

How do I compile Apple's Security framework?

I am trying to compile my own copy of Apple's Security.framework, specifically version 55471.14.18, which was included in OS X 10.9.5 and whose source code can be downloaded from https://opensource....

1
2 3 4 5
20