Quick one-liner for bash: for user in `ls /Users/`; do if [ $user == “Shared” ]; then continue; fi; echo $user; done
List all users in /Users folder
Quick one-liner for bash: for user in `ls /Users/`; do if [ $user == "Shared" ]; then continue; fi; echo $user; done
Keep This Useful
Spotted something outdated or unclear?
If a step has changed, a screenshot no longer matches, or something here just does not work the way it should, get in touch and we will take a look.