knife search node 'name:somenode' -F json | less
Each key value pair can be used in search
For example,
"chef_environment": "_default"
Can be used like,
knife search node 'chef_environment:_default'
knife search node ':' | grep Node\ Name | wc | cut -d ' ' -f6
knife search node 'name:jones*'
knife search node 'platform:ubuntu'
knife search node 'codename:xenial'
knife search node 'platform_version:16.04'