Command not found at Oracle VM BOX and why?

command not found at Oracle VM BOX and why

You need to provide a lot more information for other people to be able to help you.

What software are you using?
I’m guess a VM you are running but you did not say which operating system?
Exactly what are you doing?
What do you expect to happen?
What is happening?

I am using Linux

I asked 6 questions and you partly answer 1 of them.

linux is not an operating system it is a kernel - what matters is the distribution you are using Ubuntu, Fedora etc?

Hello, thanks for helping! Here’s more information about my issue:

:one: Software I’m Using: I am using Oracle VM VirtualBox. My main computer (host) is [Windows/Linux/macOS].

:two: Operating System Inside VM: I am running [Ubuntu/Windows/Kali Linux] inside VirtualBox.

:three: What I Am Doing: I am trying to check if Python is installed by running:

sh

CopyEdit

python --version

But I get an error: “Command not found”

:four: What I Expect to Happen: I expect it to show the Python version, like Python 3.x.x.

:five: What Actually Happens: Instead, I get an error message:

nginx

CopyEdit

Command not found

I also tried running:

sh

CopyEdit

python3 --version

but it still doesn’t work.

:backhand_index_pointing_right: Can you help me fix this? Thank you! :blush:

Clearly you are not running all three!

It seems you need to install python on Kali linux according a search of the web for “kali linux python install”.

sudo apt install python3 -y