126.96.36.199.3. With Query Using File¶
This does the following:
Since a query is supplied, this will only return the count of device assets that match the query.
To avoid dealing with nested quoting and escapes in shells, we store the query in a file and supply that to –query-file.
$ axonshell devices count --query-file query.txt
This example works the same for both the
devices count and
users count commands.
If –query-file is supplied, it will override –query if that is also supplied.
Shell Quoting Rules for how to deal with quoting the –query value in various shells.