Get data using the command line interface

Hi,

I could use this command in influx 1.8 to get data from the database using the command line:
SELECT * FROM users WHERE username= test
what is the equivalent of this command line in influx 2.0 or is it no longer possible to use the command line interface to receive data from the buckets?

https://docs.influxdata.com/influxdb/v2.0/query-data/execute-queries/

Thank you, that is what I was looking for!