Get data using the command line interface


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?

Thank you, that is what I was looking for!