Questions tagged [macos]
macOS (previously "Mac OS X" and "OS X") is the Unix developed and distributed by Apple Inc. since 2001.
2,914 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
28
views
How to use bash history on a mac?
I've got MacBook from work and try to make it work similar to Linux. This is my config for history in bash:
# When the shell exits, append to the history file instead of overwriting it
export ...
4
votes
1
answer
327
views
expr "/foo" : "/" gives a syntax error
The following:
expr "/foo" : "/"
Results in a syntax error. I don't understand why?
These variations do not cause a syntax error:
expr "/foo" : "/*"
expr "...
0
votes
2
answers
87
views
Killing a process PID starts a new process instead
I have a running process on localhost on port 5000. I have tried kill - 9 <PID> which it works for that PID but it starts a new process with a new PID instead. What's the issue here?
I'll put ...
1
vote
0
answers
40
views
PROMPT_COMMAND usage in Bash on macOS
I'm trying to use Linux bash config on a mac. I don't use zsh only bash on my mac. I have problem with this variable:
# After each command, append to the history file and reread it
PROMPT_COMMAND=&...
jcubic's user avatar
- 10.3k
0
votes
0
answers
45
views
Issue with SSH connection in Mac
I'm trying to ssh to a remote server. But after the ssh is successful the connection freezes within 2-3 minutes and eventually drops.
On checking packet trace i observed my mac is randomly sending a ...
2
votes
1
answer
229
views
`type` command ignores `LANG` after upgrading to `bash` 5.3 on iTerm2/macOS
I'm on macOS and I set English as the locale except for LC_TIME:
~ $ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-...
1
vote
0
answers
29
views
PS4 Not Fully Connecting Through WireGuard VPN via macOS Internet Sharing
Iβm trying to route all my PS4 traffic through a VPS-hosted VPN (using WireGuard), with the MacBook acting as the gateway.
β
The Setup So Far
VPS (Ubuntu): Set up successfully using Algo VPN. ...
2
votes
0
answers
38
views
Client IP for a host when connecting to localhost port forwarded from docker for desktop - why?
Please excuse the odd title. This is a strange one that I can't phrase in a single sentence.
My question:
Why did the following happen?
And, if possible, how can I change the IP that's used without ...
0
votes
0
answers
30
views
Full Screen Mode with QEMU virtio on MacOS?
Does anyone know how to get full screen mode working using QEMU on MacOS (Ventura or Monterey)?
I tried entering full screen on my 5120 x 2880 resolution display, however Gnome Display Manager doesn't ...
0
votes
0
answers
39
views
How to copy and paste from macOS host into VMWare virtual machine running ArchLinux and Hyprland?
I'm running ArchLinux in a virtual machine in VMWare. I've open-vm-tools installed but I'm unable to copy from macOS host and paste into Hyprland. How can I achieve this?
-1
votes
1
answer
74
views
Is there an equivalent cli command in macos for hostnamectl?
Is there an equivalent on MacOS to the Linux hostnamectl command?
5
votes
2
answers
1k
views
Why did my dd command change disk from ExFAT to UDF (Universal Disk Format)
I have a usb disk and I have format it to ExFAT on Mac. Then I run the command to create a bootable windows on Mac:
sudo dd if=Win11_24H2_EnglishInternational_x64.iso of=/dev/disk4 bs=8m status=...
1
vote
0
answers
31
views
Gqrx GUI not showing in Docker (Openbox + Xvfb + noVNC) on macOS host
π Body:
I'm running Gqrx SDR inside a Docker container on my local macOS machine using:
Openbox for the window manager
Xvfb for the X11 display
x11vnc + noVNC to stream the GUI via browser
Docker ...
0
votes
1
answer
58
views
macOS: list all Users with Admin privileges
How can I get the list of all Users with Admin privileges, on all selected Macs, in Apple Remote Desktop?
I have tried:
dscl . -list /Groups/admin GroupMembership
But this does not list anything, not ...
0
votes
0
answers
63
views
Creating a Linux VM on Linux for use on MacOS with M1 architecture
I'd like to build a minimal Linux OS to run a headless server application for use on MacOS with M1 hardware. My problem is I'm building this on Linux (Linux Mint DE).
Based off what I can find, I have ...