In the interactive mode, execute the console.py
file, and then the prompt line will appear
root@ubuntu:/# ./console.py
(hbnb)
For instance, you can check the documented commands typing help
in the console
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
It also works in the non-interactive mode as it's shown below
root@ubuntu:/# echo "help" | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
root@ubuntu:/#