Skip to main content

Questions tagged [bash]

The Unix shell which was the default shell in macOS until 10.15

1 vote
1 answer
167 views

Some years ago Apple dropped support for my ancient Canon Lide 30 scanner. So, I hung it off a Raspberry Pi (which still supports the scanner via scanimage) and wrote a very simple Apple Script and an ...
Buadhai's user avatar
  • 691
0 votes
1 answer
44 views

In bash (3.2.57) on MacOS 15.7.4, command line regular expressions are normally case sensitive, but when you list a range of characters, such as [a-z], the result is case insensitive. This is a ...
Mars's user avatar
  • 375
0 votes
1 answer
58 views

My login shell is zsh, the default in macOS Sequoia. However, I'm used to bash and so my .zshrc simply does exec /bin/bash. Pressing command-T in a Terminal window should open a new tab at the current ...
lhf's user avatar
  • 7,670
0 votes
2 answers
74 views

#!/bin/bash # Download Installomator curl -fsSL https://raw.githubusercontent.com/Installomator/Installomator/main/Installomator.sh -o /usr/local/bin/Installomator chmod +x /usr/local/bin/...
Anonym's user avatar
  • 9
0 votes
0 answers
63 views

I have moved to macbook pro from linux recently and I do have quite a big bash history (over 200000 commands). Unfortunately while using bash history in macOS I have noticed that if I pipe history ...
ontologger's user avatar
1 vote
2 answers
111 views

On macOS, I get a system popup when running UI tests in GitHub saying: “bash” is requesting to bypass the system private window picker and directly access your screen and audio. How can I disable ...
Anusree lakshmi's user avatar
0 votes
2 answers
229 views

I have a single line in $HOME/.bashrc echo SHELL=$SHELL BASH=$BASH BASH_VERSION=$BASH_VERSION In MacOS Terminal settings, I have Run command = /usr/local/bin/bash When I start a Terminal, I see: ...
Philippe's user avatar
  • 145
1 vote
2 answers
190 views

I'm unable to change my Terminal app profile (color theme) even when I change it in the preferences. I selected Homebrew as my profile, closed Terminal and reopened it - but it won't actually change ...
Oatmeal's user avatar
  • 313
1 vote
2 answers
251 views

I see sh -version GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24) Copyright (C) 2007 Free Software Foundation, Inc. yet in https://developer.apple.com/library/archive/documentation/...
infoMining's user avatar
4 votes
1 answer
1k views

I'm looking for a way to switch On/Off IPv4 or IPv6 network from command line on macOS. Like the description here: Can I turn off IPv4 and just use IPv6 on my Mac? one can turn On/Off IPv4 on macOS ...
Weishan Yang's user avatar
4 votes
2 answers
507 views

Some people prefer the latest Bash version for macOS (because /bin/bash is still a version in the 3.x range). This can be changed with this: brew install bash chsh -s /opt/homebrew/bin/bash However, ...
dersimn's user avatar
  • 351
0 votes
0 answers
57 views

I have a file "test.log" inside a directory. The directory has an accesslist, defined as: 0: user:Me allow list,add_file,delete_child,file_inherit The file "test.log" (created by ...
CreaTurE's user avatar
0 votes
0 answers
130 views

This question may already be answered on here somewhere, but I'm unsure what keywords to use for my search. In the Terminal, I frequently navigate around lines using the meta+left or meta+right arrow ...
Natavi's user avatar
  • 1
6 votes
1 answer
1k views

I have a setup to copy backups from an Ubuntu 22 server running in the cloud to a local Mac. On the Mac I have a shell script to run the rsync command and a launchd daemon to run this script daily. ...
Erik Cayré's user avatar
1 vote
1 answer
121 views

macOS Ventura with a 'MacPorts' installation that includes GNU replacements for numerous "Apple-sourced" utilities including ls. The original ls is located at /bin/ls, the GNU/MacPorts ...
Seamus's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
122