Strange Command Line Behavior
by Ebona from LinuxQuestions.org on (#4R6HB)
Hi,
I'm new to Linux and to these forums as well. I'm using the Chrome Linux (beta) which I believe is Debian 9? The command line is exhibiting strange behavior. I've reinstalled it three times, and it seems I am not allowed to use /ls or /dir to see the base directory tree without first /cd'ing to a directory (such as /home or /var) and cd'ing back to the /$ command line. Once I have done this, /ls and /dir print the base directory as they should from then on.
Is this a feature, or a bug?


I'm new to Linux and to these forums as well. I'm using the Chrome Linux (beta) which I believe is Debian 9? The command line is exhibiting strange behavior. I've reinstalled it three times, and it seems I am not allowed to use /ls or /dir to see the base directory tree without first /cd'ing to a directory (such as /home or /var) and cd'ing back to the /$ command line. Once I have done this, /ls and /dir print the base directory as they should from then on.
Is this a feature, or a bug?