Questions tagged [command-line]
Using programs and commands that do not have a graphical user interface (GUI) but are rather controlled by typing text commands into a terminal program, or shell.
3,481 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
69
views
How can I disable the "Last Login" message in ZSH?
Last login: Thu Jun 20 13:55:42 on ttys001
richard@iMac-Richard ~ %
How would I disable the above message using zsh? Bash allows this if you create a .hushlogin file in your $HOME but ZSH does not do ...
0
votes
0
answers
38
views
macOS won’t change wallpaper via AppleScript
I have three monitors on a Mac mini m4 v 15.1 with the following configuration:
I tried to change wallpaper via AppleScript on a multi-monitor setup (no error, no change)
osascript -e 'tell ...
0
votes
0
answers
37
views
What URL do I use to connect to a public calendar on iCloud?
I have a complex schedule I want to share on a web page of a site I host. I have the calendar in the Calendar app shared as a public calendar. I want to use JavaScript to fetch the .ics file, which I ...
0
votes
2
answers
153
views
macOS services from the command line?
I'd like to apply a macOS "service" to a large number of filenames. It doesn't seem possible to do this, en batch, from the Finder GUI. Is there a way to call a service from the command line?...
0
votes
0
answers
32
views
How to host local repo of select Homebrew packages?
I want to allow a group of users to use Homebrew for macOS, but I also want to maintain the update schedule and list of available packages, including Homebrew itself. My understanding is that I could ...
1
vote
1
answer
56
views
`hdiutil -passphrase` encryption confusion
I'm making a disk image creating program, and it of course is going to use hdiutil to do the actual work.
I'm reading through the docs and I have -encryption aes-256 added to the command when someone ...
0
votes
1
answer
89
views
Adjust the Vim color scheme in the terminal of macOS Tahoe 26.1
As mentioned above
I want to adjust the Vim color scheme in the terminal of my macOS Tahoe 26.1 system so that it resembles the color display scheme in Linux.
Also i'm using a MacBook Air M4.
0
votes
0
answers
67
views
Why didn't rsync copy the contents of my Pictures folder?
I used rsync to copy my entire user folder from an older Macbook Air that is failing onto a new Mac, using Recovery Mode's "Share Disk" feature. Now I'm digging through the copy, moving ...
0
votes
2
answers
85
views
After re-indexing with Spotlight video information (dimensions, codec, duration ... )is lost
After I did re-indexing a volume using Preferences>Spotlight>Privacy all information of width and height of videos are erased.
Before that, Finder Info displayed Size, Codec, Duration and Audio ...
1
vote
0
answers
45
views
Why does `say` think my Personal Voice is in Spanish?
After following the answer for How do I access MacOS Sonoma Personal Voice from command line?, when I run say -v \?, my Personal Voice Lilypad shows up as es_MX:
➜ ~ say -v \? | grep Lilypad
Lilypad ...
0
votes
0
answers
119
views
"mas list" does not work on macOS 26. My user not in admin group!
I use brew bundle dump for a software inventory. But mas list does not work. (See GitHub: mas)
Error:
mas list
Error: No installed apps found
If this is unexpected, the following command line should ...
2
votes
2
answers
3k
views
git says Bad key types '+ssh-rsa,ssh-dss' when trying to do git fetch on my MacBook. How do I fix?
I'm getting this error when trying to run git fetch on my MacBook:
git fetch
/Users/emoji/.ssh/config line 4: Bad key types '+ssh-rsa,ssh-dss'.
/Users/emoji/.ssh/config: terminating, 1 bad ...
1
vote
1
answer
58
views
How do I delete the "bluetooth-backup-extentions" kernel extensions?
I somehow have a folder full of kernel extensions in my Trash folder (with a misspelled "extentions" component) and can’t delete them even in Safe Boot mode or as root because they're ...
0
votes
1
answer
70
views
How can I set birth time to nanosecond accuracy?
SetFile -d can used to used to set birth time attribute to whole second accuracy. How can I set it to higher accuracy? (nanosecond on APFS or millisecond on ExFAT)
% SetFile -d "01/02/2023 18:19:...
0
votes
1
answer
96
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 ...