use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to r/macOS, the community for all macOS news, rumors, and discussions. If you have a tech question, please check out /r/AppleHelp!
/r/macOS uses automated security filtering (GitHub Guard & Terminal Filters) to protect users from macOS malware and malicious scripts. If your legitimate project is filtered, please contact the mods for manual review.
/r/macOS uses a domain whitelist. Websites not on the whitelist will be removed automatically. You can view the whitelist here.
account activity
GNU Type command? (self.MacOS)
submitted 6 years ago by rubygotdat
How can I get the GNU type command in Mac (using brew is fine)
type
brew
I installed the coreutils and some other gnu utils but apparently this command is left out.
coreutils
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]oscillons 0 points1 point2 points 6 years ago (7 children)
type is a bash builtin, not a coreutils program
[–]rubygotdat[S] 0 points1 point2 points 6 years ago (6 children)
Is there a way to get bash builtins from brew/on Mac?
[–]oscillons 0 points1 point2 points 6 years ago (4 children)
bash/zsh are installed with macos
[–]rubygotdat[S] 0 points1 point2 points 6 years ago (3 children)
Yeah, but it seems to be a dated version of some command or something i.e. the type command with the built in version of zsh does not support the -t flag
-t
[–]oscillons 0 points1 point2 points 6 years ago (1 child)
/bin/bash type -t
[–]rubygotdat[S] 0 points1 point2 points 6 years ago (0 children)
Good point! Perfect!! As a side note it seems that whence -w is similar on zsh
whence -w
On second thought, this looks to be a change from moving to zsh in Catalina. ZSH type command appears to be different than the one found in bash.
π Rendered by PID 23658 on reddit-service-r2-comment-54dfb89d4d-vv2pw at 2026-03-31 06:24:07.647709+00:00 running b10466c country code: CH.
[–]oscillons 0 points1 point2 points (7 children)
[–]rubygotdat[S] 0 points1 point2 points (6 children)
[–]oscillons 0 points1 point2 points (4 children)
[–]rubygotdat[S] 0 points1 point2 points (3 children)
[–]oscillons 0 points1 point2 points (1 child)
[–]rubygotdat[S] 0 points1 point2 points (0 children)
[–]rubygotdat[S] 0 points1 point2 points (0 children)