Questions tagged [unix]
UNIX is both the underlying code and architecture that makes up macOS / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Use this tag for general questions relating to the Unix-nature of macOS/iOS, or for using Unix-style OS on Apple hardware.
1,100 questions
0
votes
0
answers
16
views
Counter Files Created/Deleted [duplicate]
I'd like to write a script that tracks the following data set
Timestamp, type (create or delete), file size
Curious if I can do something like this? Is it possible to run a script with a delete/create ...
0
votes
1
answer
726
views
When attempting to revive a Macbook Air a1932 with Apple Configurator I get "gave up waiting for device to transition from DFU state to DFU state."
I'm getting this error when I try to revive a 2018 Macbook Air A1932 with Apple Configurator 2.16 (8A14)
The System cannot be restored on this device.
Gave up waiting for device to transition from ...
0
votes
2
answers
99
views
Is it possible to run a script with a delete/create hook like this in macOS?
Is there a way to run a script on a macOS that does this:
Before deletion:
A file is dragged into the trash.
A file is removed from the trash.
After Creation:
General UI file create.
Background: I'...
5
votes
1
answer
674
views
How to use an iPad as an external monitor with Mac mini 6.1 (Late 2012) for installing Ubuntu?
I have an older Mac mini 6,1 (Late 2012) which I am trying to install Ubuntu on via USB flash drive.
Is it possible to use my iPad (bought in 2024) as a external display from when I boot the Mac into ...
0
votes
0
answers
61
views
Attaching adb cable to macOS will disconnect Wi-Fi and connect to adb local network, while `adb devices` shows no devices attached
I'm using macOS 26.0.1 with adb version:
adb --version
Android Debug Bridge version 1.0.41
Version 36.0.0-13206524
Installed as /opt/homebrew/bin/adb
Running on Darwin 25.0.0 (arm64)
I'm tring to ...
0
votes
1
answer
60
views
MacBook 2015 12 Retina has graphic glitches in anything but 10.10 and 10.11
I have bought a used Macbook 2015 (12" Retina) to replace my own which died. Under 10.10 and 10.11 it runs very well without any problems, but upgrading to 10.12 and above (both supported and ...
0
votes
1
answer
113
views
Can I adjust my system so that a Python model doesn't get killed by the OS for excessive resource usage?
When I run one specific Hugging Face model with Python, it loads for a while and then just dies with:
zsh: killed python main.py
I already checked ulimit -an and everything is unlimited, so it’s ...
0
votes
1
answer
514
views
Install Debian Testing on Parallels 26 in macOS with perpetually updating Parallels Tools for a seamless desktop experience?
After updating to Parallels 26 and seeing some fantastic new updates to Debian with the 13 (trixie) release, I feel it's time to move on from Ubuntu.
As a matter of fact, it seems that Debian Testing ...
0
votes
2
answers
168
views
Sequoia: copying a unix executable from another Mac
A somewhat naive question.
Say "telnet" has been installed on a Mac (Sequoia) using homebrew.
Can it be copied and executed on another Mac with Sequoia?
1
vote
1
answer
614
views
Trouble installing old printer driver
I have Samsung(acquired by HP) SL-C410W printer which works fine besides vendors try to force my to new one by not providing drivers to new operating systems anymore.
I'm trying to ran it on M1 Mac ...
2
votes
1
answer
448
views
MacOS & tar: why is --disable-copyfile and --no-xattrs required for GNU compatibility?
I'm noticing on macOS v13.7 BSD tar files have unexpected contents when unpacking on GNU Linux.
For GNU compatibility I need to use tar --disable-copyfile --no-xattrs, otherwise I end up with this ...
0
votes
0
answers
222
views
MacOS v13.7.3 dmesg outputs lots of profiling and error information? iMac 27",2017
Are these error messages expected? Did someone leave profiling and errors enabled when building OSX v13.7?
I did a clean install of v13.7 to a Core i5 27" Mac and dmesg is outputting all this ...
1
vote
1
answer
226
views
How can I compare file attributes?
I have two identical files with different date/time and owner attributes. diff does not indicate that they differ. Is there any way to include attributes in the comparison as well? I want to see if ...
2
votes
0
answers
567
views
I get an "IPP client-error-not-authorized" error when I print to a printer connected to my iMac from Linux
I installed a Mac on my home network. I have an HP Laserjet 553 printer that I use to print to from Windows and Linux (Fedora). The printer is shared on the Mac and works fine when printing directly ...
1
vote
2
answers
132
views
Copy newly created files along with the sub-directories
I want to copy only the newly created files in Directory A which has many sub-directories. I am able to find the newly created files using the Find command, but when they are getting copied into ...