Questions tagged [macos]
macOS (previously "Mac OS X" and "OS X") is the Unix developed and distributed by Apple Inc. since 2001.
2,920 questions
0 votes
0 answers
39 views
Why does `chmod 640` prevent group read access on macos?
I'm a student learning UNIX permissions and scripting on macOS. I created a short script that makes a file and applies chmod 640. However, a user in the same group cannot read the file. Here is the ...
0 votes
1 answer
39 views
ssh in mac error out suddently with ssh usage error message
My .ksh scripts in my mac usually run successfully, and until yesterday were initiating an ssh connection with the following command successfully: ssh -o StrictHostKeychecking=no -o ...
7 votes
1 answer
274 views
Allow unicode characters in zsh shell variable names on MacOS
There seems to be limited/inconsistent support for unusual but legal characters in zsh (and sh, bash) shell variable names on mac. Is there any way to fix this for full or better support? Perhaps this ...
1 vote
1 answer
104 views
Using fish as default shell in Terminal on macOS causes .command files to fail
This question was previously asked here: https://stackoverflow.com/questions/74808784/after-switching-default-shell-command-file-just-opens-terminal However, I have found no reason for the behavior, ...
0 votes
0 answers
78 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 ...
0 votes
2 answers
120 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 ...
0 votes
0 answers
62 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 ...
1 vote
0 answers
41 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. ...