The Cisco commands follow a hierarchy and you must be on the correct level to issue the command
Use the “exit” command to go down one level (like the linux cd ..)
Use the “end” command to go down to root level (like the linux cd /)
Privileged Exec is like su root in linux