macOS (previously "Mac OS X" and "OS X") is the Unix developed and distributed by Apple Inc. since 2001.
Questions tagged [macos]
902 questions
4
votes
1 answer
What is the alternative to etc/systemd/system in MAC?
I am trying to create Prometheus alert manager as a service, so I was looking at one of the tutorial where they create alert manager service in Linux in etc/systemd/system/alertmanager.service. I was wondering what the alternative path be in MAC? In…

shwetha
- 41
1
vote
0 answers
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
I recently started getting this error:
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
when compiling my codebase on mac os 12.2.1. I don't think I was…

dzdang
- 11
1
vote
1 answer
speedtest-cli Error: No such file or directory - /usr/local/var/homebrew/linked/speedtest
I was using Ookla's speedtest-cli command line app just fine until recently when it started giving me an error: "ImportError: No module named speedtest". After a copious amount of research it led me to upgrade system files by doing a forced MACOS…

wiwinut
- 67
- 1
- 1
- 8
0
votes
0 answers
Open command causes loop in function
I am writing a bash script on my mac and when I call a function with the open command it gets stuck in a loop.
For example:
function (){
open https://www.example.com
}
I have tried putting some echo commands in between the open command to see…
0
votes
1 answer
centos 8 can not list or /dev MacBook Pro 2020 internal hard disk
i just received a new MacBook Pro 2020 and i'm trying to completely wipe the internal hard disk to start with a fresh drive with no partitions. i can boot to CentOS 8 linux from a thumb drive. when i do:
lsblk
ls /dev/sd*
ls /dev/nvme*
from the…

lucas
- 1
0
votes
1 answer
How to see vm.max_map_count and fs.file-max on Mac(Catalina) terminal
I'm trying to view the vm.max_map_count and fs.file-max commands output on terminal of Mac Catalina operating system. But it doesn't work. Can i know the way to view it?
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H1323
$…

user4948798
- 145
0
votes
1 answer
How would I compile a compiler without a compiler?
I am attempting to get some software to compile on Mac OS X 10.0 (Cheetah). The code is written in C, so I thought I could simply use GCC. However, all the GCC pre-compiled binaries I could find online were executable formats macOS did not…

Finxx
- 3
0
votes
2 answers
macos big sur network issues
I updated my MacBook Pro (16-inch, 2019) to latest macOS Big Sur - 11.3 (20E232) and right away started to experiencing some network issues such as this:
alexus@mbp ~ % time host google.com
;; connection timed out; no servers could be reached
host…

alexus
- 986
0
votes
1 answer
Mac peenhammer headaces
I don't use ITunes. I don't use IMessenger. I don't use Mac's cloud service. I don't want any of that stuff.
What I do get is an unending fusillade of dialog boxes that interrupt my work and that I am endlessly swatting away. Is there some way to…

ncmathsadist
- 129
0
votes
1 answer
How to upgrade/update the diff command?
macOS 10.15 comes with a very old version of the diff command. I've read in https://unix.stackexchange.com/a/338960/80391 that version 3.4 contains the --color argument.
How can I update the version on macOS so that I can use this newer feature?

Eric Majerus
- 165
0
votes
1 answer
Line Break for OSX
A set of (DOS) ANSI-C text files (click here to download) was copied to a OSX High Sierra laptop. I would like to ensure that the CR\LF is not an obstacle to to compiling the files. The files seem to be displayed correctly by Sublime and vi.
The…

gatorback
- 1,384
- 23
- 48
0
votes
2 answers
List of all interfaces in my mac laptop
Below is the machine:
$ uname -a
Darwin whatever 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
$
In ubuntu, ip addr or ip a gives list of all interfaces.
What is the similar command…

overexchange
- 1,536
-1
votes
1 answer
Unexpected file "[" in /bin on macos
I have an unexpected file named [ -- a left bracket -- in my /bin file on my Mac Powerbook. I'm running Catalina. When I cat the file it looks like Apple certificate authority stuff. Most of it is unreadable, but has text in it like
Apple…

hoekma
- 139
-2
votes
1 answer
Why does caps lock cause my Apple M1 to stutter?
I am hoping to catch the eye of someone who has some insight into the mach kernel, as I can't imagine why what amounts to a key press interrupt would result in such system load.
Fairly heavily loaded M1 mac pro (think hundreds of chrome tabs).…

lopass
- 79
- 1
- 6