How do I view indexes that already exist in mongodb?

see
View all indexes in the database db.system.indexes.find ()
db.system.indexes.find ()

on the Internet.

Why is it so after I type it

clipboard.png

Mar.13,2021

this command should be entered under the shell of mongodb, not under the shell of the operating system. First execute the commands of mongo, entering various mongodb, like this

.

clipboard.png

There is no result after entering

db.system.indexes.find ()?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf5107-31f4e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf5107-31f4e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?