Skip to content

Instantly share code, notes, and snippets.

@caius
Created April 23, 2018 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caius/82179f3d80c06c84aefd3dd99c3358b4 to your computer and use it in GitHub Desktop.
Save caius/82179f3d80c06c84aefd3dd99c3358b4 to your computer and use it in GitHub Desktop.
$ ruby -e 'tools = ARGF.read.split.map(&:chomp); puts ("a".."z").map { |l| tools.find {|t| t.start_with?(l) } }' <(ls /bin /sbin | awk 'NF && $1 !~ /:$/ { print $1 }' | sort)
apfs_hfs_convert
bash
cat
date
echo
fibreconfig
halt
ifconfig
kextload
launchctl
md5
newfs_apfs
pax
quotacheck
reboot
sh
tcsh
umount
wait4path
zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment