Linux' Basic Commands Not Working On OCI Instances Due To Incorrect $PATH Variable.
(Doc ID 2553591.1)
Last updated on OCTOBER 07, 2020
Applies to:Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
While running simple commands on Linux OCI instance like ls, cp, cat, cd. the below error message is seen.
# cat test-file
bash: cat: command not found
bash: ls: command not found
However, when running the command using the full command path this works as seen below.
# /bin/cat test-file
authorized_keys id_rsa id_rsa.pub known_hosts
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document